Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/calcite
/ functions
Functions
34,750 in github.com/apache/calcite
⨍
Functions
34,750
◇
Types & classes
4,695
↓ 48 callers
Method
in
Generates {@code x IN (y, z)} expression when called as {@code in(x, y, z)}. @param node left side of the IN expression @param nodes nodes in the rig
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:374
↓ 48 callers
Method
isTrue
(String s)
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java:18180
↓ 48 callers
Method
list
Creates an empty fluent list.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:3093
↓ 48 callers
Method
returnsRows
Interprets the sql and checks result with specified rows, ordered.
core/src/test/java/org/apache/calcite/test/InterpreterTest.java:147
↓ 48 callers
Method
visitCall
(RexCall call)
core/src/main/java/org/apache/calcite/rex/RexVisitor.java:42
↓ 47 callers
Method
addVertex
Adds a vertex to this graph. @param vertex Vertex @return Whether vertex was added
core/src/main/java/org/apache/calcite/util/graph/DirectedGraph.java:37
↓ 47 callers
Method
apply
(final Config config)
core/src/main/java/org/apache/calcite/rel/convert/ConverterRule.java:191
↓ 47 callers
Method
isDistinct
Returns whether this AggregateCall is distinct, as in <code> COUNT(DISTINCT empno)</code>. @return whether distinct
core/src/main/java/org/apache/calcite/rel/core/AggregateCall.java:338
↓ 47 callers
Method
lookupMethod
Finds a method of a given name that accepts a given set of arguments. Includes in its search inherited methods and methods with wider argument types.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Types.java:285
↓ 47 callers
Method
noMat
()
core/src/test/java/org/apache/calcite/test/MaterializedViewFixture.java:59
↓ 47 callers
Method
parserConfig
Returns the configuration for the SQL parser.
core/src/main/java/org/apache/calcite/tools/Hoist.java:128
↓ 47 callers
Method
relFn
Initiates a test case with a given {@link RelNode} supplier.
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:151
↓ 47 callers
Method
reset
Sets the enumerator to its initial position, which is before the first element in the collection. <p>An enumerator remains valid as long as the colle
linq4j/src/main/java/org/apache/calcite/linq4j/Enumerator.java:121
↓ 46 callers
Method
addArrow
Add an Arrow from determinant set to dependent set.
core/src/main/java/org/apache/calcite/util/ArrowSet.java:301
↓ 46 callers
Method
create
(RelBuilderFactory relBuilderFactory)
core/src/main/java/org/apache/calcite/rel/rules/materialize/MaterializedViewProjectAggregateRule.java:79
↓ 46 callers
Method
expectedLocalTime
(String dateTime)
innodb/src/test/java/org/apache/calcite/adapter/innodb/InnodbAdapterTest.java:1190
↓ 46 callers
Method
getLeftPrec
()
core/src/main/java/org/apache/calcite/sql/SqlOperator.java:259
↓ 46 callers
Method
getObject
(Object dataSet, int ordinal)
core/src/main/java/org/apache/calcite/adapter/clone/ArrayTable.java:246
↓ 46 callers
Method
getParserPosition
()
core/src/main/java/org/apache/calcite/rex/RexCall.java:195
↓ 46 callers
Method
getReferenceExpr
Returns the expression whose field is being accessed.
core/src/main/java/org/apache/calcite/rex/RexFieldAccess.java:113
↓ 46 callers
Method
getTypeSystem
Returns the type system.
core/src/main/java/org/apache/calcite/tools/FrameworkConfig.java:130
↓ 46 callers
Method
isEmpty
Returns whether the return rows of a given relational expression are empty. @param relNode the relational expression @return true or false depending
core/src/main/java/org/apache/calcite/rel/metadata/RelMetadataQuery.java:326
↓ 46 callers
Method
sql
Sets the SQL statement for a test.
core/src/test/java/org/apache/calcite/test/SqlHintsConverterTest.java:166
↓ 46 callers
Method
testJavaVersion
(int expectedMajorVersion, String versionString)
testkit/src/test/java/org/apache/calcite/util/TestUtilTest.java:100
↓ 46 callers
Method
withRel
(Function<RelBuilder, RelNode> relFn)
core/src/test/java/org/apache/calcite/test/InterpreterTest.java:136
↓ 45 callers
Method
case_
(RexNode... nodes)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:246
↓ 45 callers
Method
closed
(V lower, V upper)
core/src/main/java/org/apache/calcite/util/RangeSets.java:304
↓ 45 callers
Method
create
(MockCatalogReader catalogReader, MockSchema schema, String name, boolean stream, double rowCount)
testkit/src/main/java/org/apache/calcite/test/catalog/MockCatalogReader.java:497
↓ 45 callers
Method
getLeft
()
core/src/main/java/org/apache/calcite/rel/mutable/MutableBiRel.java:63
↓ 45 callers
Method
getTimeZone
()
core/src/main/java/org/apache/calcite/sql/SqlDataTypeSpec.java:150
↓ 45 callers
Method
lessThan
(V upper)
core/src/main/java/org/apache/calcite/util/RangeSets.java:302
↓ 45 callers
Method
sql
Returns SQL text of the region of the statement covered by this Variable.
core/src/main/java/org/apache/calcite/tools/Hoist.java:167
↓ 45 callers
Method
write
(JsonGenerator generator)
druid/src/main/java/org/apache/calcite/adapter/druid/DruidJson.java:26
↓ 44 callers
Method
areColumnsUnique
(RelNode r, RelMetadataQuery mq, ImmutableBitSet columns, boolean ignoreNulls)
core/src/main/java/org/apache/calcite/rel/metadata/BuiltInMetadata.java:183
↓ 44 callers
Method
bits
Returns a bit set describing the inputs used by an expression.
core/src/main/java/org/apache/calcite/plan/RelOptUtil.java:4769
↓ 44 callers
Method
booleanValue
(BooleanProp p)
core/src/main/java/org/apache/calcite/runtime/Resources.java:804
↓ 44 callers
Method
checkImplies
(RexNode node1, RexNode node2)
testkit/src/main/java/org/apache/calcite/test/RexImplicationCheckerFixtures.java:240
↓ 44 callers
Method
createArrayType
Creates an array type. Arrays are ordered collections of elements. @param elementType type of the elements of the array @param maxCardinality maxi
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactory.java:123
↓ 44 callers
Method
getCluster
()
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:346
↓ 44 callers
Method
getParameterTypes
(RelDataTypeFactory typeFactory)
core/src/main/java/org/apache/calcite/sql/SqlAggFunction.java:198
↓ 44 callers
Method
getTarget
Returns the target that a source maps to. @param source source @return target @throws NoElementException if source is not mapped
core/src/main/java/org/apache/calcite/util/mapping/Mappings.java:918
↓ 44 callers
Method
hasJson
(String s)
elasticsearch/src/test/java/org/apache/calcite/adapter/elasticsearch/QueryBuildersTest.java:195
↓ 44 callers
Method
isEmpty
()
core/src/main/java/org/apache/calcite/util/CompositeMap.java:64
↓ 44 callers
Method
isEmpty
()
linq4j/src/main/java/org/apache/calcite/linq4j/LookupImpl.java:83
↓ 44 callers
Method
maybeUnwrap
Finds an instance of an interface implemented by this object, or returns {@link Optional#empty()} if this object does not support that interface.
core/src/main/java/org/apache/calcite/schema/Wrapper.java:46
↓ 43 callers
Method
addRuleCollection
Adds an instruction to attempt to match any rules in a given collection. The order in which the rules within a collection will be attempted is arbitra
core/src/main/java/org/apache/calcite/plan/hep/HepProgramBuilder.java:93
↓ 43 callers
Method
assertSql
(Matcher<String> sqlMatcher)
piglet/src/test/java/org/apache/calcite/test/PigRelOpTest.java:97
↓ 43 callers
Method
camelName
()
core/src/main/java/org/apache/calcite/config/CalciteConnectionProperty.java:232
↓ 43 callers
Method
getJavaClass
(RelDataType type)
core/src/main/java/org/apache/calcite/adapter/java/JavaTypeFactory.java:46
↓ 43 callers
Method
getReturnType
Returns the return type of this function, constructed using the given type factory. @param typeFactory Type factory
core/src/main/java/org/apache/calcite/schema/ScalarFunction.java:32
↓ 43 callers
Method
isDistinct
Returns whether the elements of {@code list} are distinct.
core/src/main/java/org/apache/calcite/util/Util.java:2259
↓ 43 callers
Method
like
(RexNode ref, RexNode pattern)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:307
↓ 43 callers
Method
missingFilters
Returns a message that the particular columns are not filtered.
core/src/test/java/org/apache/calcite/test/SqlValidatorTest.java:14140
↓ 43 callers
Method
mongoChecker
Returns a function that checks that a particular MongoDB query has been called. @param expected Expected query (as array) @return validation function
mongodb/src/test/java/org/apache/calcite/adapter/mongodb/MongoAdapterTest.java:813
↓ 43 callers
Method
query
(final String query)
geode/src/test/java/org/apache/calcite/adapter/geode/rel/GeodeAssertions.java:32
↓ 43 callers
Method
withDatabaseProduct
(DatabaseProduct databaseProduct)
core/src/main/java/org/apache/calcite/sql/SqlDialect.java:1533
↓ 43 callers
Method
wrap
(Properties properties)
core/src/main/java/org/apache/calcite/config/CalciteConnectionProperty.java:252
↓ 42 callers
Method
aggregate
Applies an accumulator function over a sequence.
linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java:87
↓ 42 callers
Method
getLeft
()
core/src/main/java/org/apache/calcite/sql/SqlJoin.java:153
↓ 42 callers
Method
getMaxRowCount
(RelNode r, RelMetadataQuery mq)
core/src/main/java/org/apache/calcite/rel/metadata/BuiltInMetadata.java:323
↓ 42 callers
Method
getTargetOpt
Returns the target that a source maps to, or -1 if it is not mapped.
core/src/main/java/org/apache/calcite/util/mapping/Mappings.java:879
↓ 42 callers
Method
getValidator
Returns the validator which created this scope.
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorScope.java:59
↓ 42 callers
Method
getVariablesSet
Returns the variables that are set in this relational expression but also used and therefore not available to parents of this relational expression.
core/src/main/java/org/apache/calcite/rel/RelNode.java:158
↓ 42 callers
Method
of
Returns an empty ImmutableIntList.
core/src/main/java/org/apache/calcite/util/ImmutableIntList.java:65
↓ 42 callers
Method
skip
Returns all but the first element of a list.
core/src/main/java/org/apache/calcite/util/Util.java:2223
↓ 42 callers
Method
unparse
Writes a SQL representation of this node to a writer. <p>The <code>leftPrec</code> and <code>rightPrec</code> parameters give us enough context to de
core/src/main/java/org/apache/calcite/sql/SqlNode.java:214
↓ 42 callers
Method
unwrap
Returns this namespace, or a wrapped namespace, cast to a particular class. @param clazz Desired type @return This namespace cast to desired type @th
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorNamespace.java:187
↓ 41 callers
Method
assignableFrom
(Primitive primitive)
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Primitive.java:1215
↓ 41 callers
Method
calendar
Creates a {@link Calendar} in the UTC time zone and root locale.
core/src/main/java/org/apache/calcite/util/Util.java:2696
↓ 41 callers
Method
checkNotImplies
(RexNode node1, RexNode node2)
testkit/src/main/java/org/apache/calcite/test/RexImplicationCheckerFixtures.java:245
↓ 41 callers
Method
collation
(int... ordinals)
core/src/test/java/org/apache/calcite/rel/RelCollationTest.java:223
↓ 41 callers
Method
flush
()
linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java:5341
↓ 41 callers
Method
get
Returns a named entity with a given name, or null if not found. @param name Name @return Entity with the specified name, or null when the entity is
core/src/main/java/org/apache/calcite/schema/lookup/Lookup.java:39
↓ 41 callers
Method
getPlanner
(List<RelTraitDef> traitDefs, Program... programs)
core/src/test/java/org/apache/calcite/tools/PlannerTest.java:266
↓ 41 callers
Method
isAlwaysTrue
Returns whether this expression always returns true. (Such as if this expression is equal to the literal <code>TRUE</code>.)
core/src/main/java/org/apache/calcite/rex/RexNode.java:58
↓ 41 callers
Method
next
()
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/Scrolling.java:131
↓ 41 callers
Method
of
(File file)
core/src/main/java/org/apache/calcite/util/Sources.java:47
↓ 41 callers
Method
set
(int source, int target)
core/src/main/java/org/apache/calcite/util/mapping/Mappings.java:925
↓ 41 callers
Method
set
(boolean v)
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Primitive.java:1247
↓ 41 callers
Method
struncate
SQL <code>TRUNCATE</code> operator applied to int values.
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:4568
↓ 41 callers
Method
withCatalogReaderFactory
( SqlTestFactory.CatalogReaderFactory factory)
testkit/src/main/java/org/apache/calcite/test/RelOptFixture.java:301
↓ 41 callers
Method
withOracle
()
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11716
↓ 41 callers
Method
withPostgresql
()
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11735
↓ 41 callers
Method
withVolcanoPlanner
(boolean topDown)
testkit/src/main/java/org/apache/calcite/test/RelOptFixture.java:444
↓ 40 callers
Method
allMatch
Returns whether the predicate is true for all pairs in this list.
core/src/main/java/org/apache/calcite/runtime/PairList.java:172
↓ 40 callers
Method
checkCommonType
Decision method for finding a common type.
core/src/test/java/org/apache/calcite/test/TypeCoercionTest.java:1009
↓ 40 callers
Method
collations
(RelNode r, RelMetadataQuery mq)
core/src/main/java/org/apache/calcite/rel/metadata/BuiltInMetadata.java:204
↓ 40 callers
Method
get
Returns the value of the bit with the specified index. The value is {@code true} if the bit with the index {@code bitIndex} is currently set in this {
core/src/main/java/org/apache/calcite/util/ImmutableBitSet.java:322
↓ 40 callers
Method
getCollation
Returns the array of {@link RelFieldCollation}s asked for by the sort specification, from most significant to least significant. <p>See also {@link R
core/src/main/java/org/apache/calcite/rel/core/Sort.java:250
↓ 40 callers
Method
getOperator
()
core/src/main/java/org/apache/calcite/sql/SqlCall.java:78
↓ 40 callers
Method
invalidValueException
(SqlParserPos pos, String value)
core/src/main/java/org/apache/calcite/sql/SqlIntervalQualifier.java:1391
↓ 40 callers
Method
isApproximate
Returns whether this AggregateCall is approximate, as in <code> APPROX_COUNT_DISTINCT(empno)</code>. @return whether approximate
core/src/main/java/org/apache/calcite/rel/core/AggregateCall.java:355
↓ 40 callers
Method
length
()
testkit/src/main/java/org/apache/calcite/util/TestUtil.java:458
↓ 40 callers
Method
matches
Returns a name matches another. @param string Name written in code @param name Name of object we are trying to match @return Whether matches
core/src/main/java/org/apache/calcite/sql/validate/SqlNameMatcher.java:46
↓ 40 callers
Method
newlineAndIndent
Prints a new line, and indents.
core/src/main/java/org/apache/calcite/sql/SqlWriter.java:400
↓ 40 callers
Method
planHasSql
(String expected)
testkit/src/main/java/org/apache/calcite/test/CalciteAssert.java:1791
↓ 40 callers
Method
proto
Creates a {@link RelBuilderFactory}, a partially-created RelBuilder. Just add a {@link RelOptCluster} and a {@link RelOptSchema}
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:337
↓ 40 callers
Method
rightList
Returns an unmodifiable list view consisting of the right entry of each pair.
core/src/main/java/org/apache/calcite/runtime/PairList.java:138
↓ 40 callers
Method
root
()
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:5350
↓ 40 callers
Method
value
(RexNode node)
core/src/main/java/org/apache/calcite/rex/RexLiteral.java:1279
← previous
next →
601–700 of 34,750, ranked by callers