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
↓ 20 callers
Method
getOperandList
()
core/src/main/java/org/apache/calcite/sql/ddl/SqlDropSchema.java:64
↓ 20 callers
Method
getReplace
()
core/src/main/java/org/apache/calcite/sql/SqlCreate.java:47
↓ 20 callers
Method
getRoot
Returns the root node of this query. @return Root node
core/src/main/java/org/apache/calcite/plan/RelOptPlanner.java:58
↓ 20 callers
Method
getType
()
core/src/main/java/org/apache/calcite/rex/RexLiteral.java:949
↓ 20 callers
Method
getValue
()
core/src/main/java/org/apache/calcite/runtime/MapEntry.java:77
↓ 20 callers
Method
hintOption
Add a hint option as string.
core/src/main/java/org/apache/calcite/rel/hint/RelHint.java:227
↓ 20 callers
Method
implies
Returns true if, from this ArrowSet, one can deduce that {@code determinants} determine {@code dependents}. That is, if {@code dependents} ⊆ closure({
core/src/main/java/org/apache/calcite/util/ArrowSet.java:284
↓ 20 callers
Method
isKeyword
Returns whether token is a keyword. (That is, a non-reserved keyword, a context variable, or a reserved function name.)
core/src/main/java/org/apache/calcite/sql/parser/SqlAbstractParserImpl.java:677
↓ 20 callers
Method
isNotDistinctFrom
(RexNode a, RexNode b)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:206
↓ 20 callers
Method
nodeToString
(RexNode node)
core/src/test/java/org/apache/calcite/test/fuzzer/RexProgramFuzzyTest.java:335
↓ 20 callers
Method
optimize2
(Expression operand, Expression expression)
core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java:1552
↓ 20 callers
Method
projectsRight
()
core/src/main/java/org/apache/calcite/rel/core/JoinRelType.java:200
↓ 20 callers
Method
quotientList
Creates a list that returns every {@code n}th element of a list, starting at element {@code k}. <p>It is OK if the list is empty or its size is not a
core/src/main/java/org/apache/calcite/util/Util.java:2108
↓ 20 callers
Method
rebuild
Creates a Builder whose initial contents are the same as this ImmutableBitSet.
core/src/main/java/org/apache/calcite/util/ImmutableBitSet.java:876
↓ 20 callers
Method
regexpExtract
SQL {@code REGEXP_EXTRACT(value, regexp)} function. Returns NULL if there is no match. Returns an exception if regex is invalid. Uses position=1 and o
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:598
↓ 20 callers
Method
regexpReplace
SQL {@code REGEXP_REPLACE} function with 2 arguments.
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:725
↓ 20 callers
Method
rename
Ensures that the field names match those given. <p>If all fields have the same name, adds nothing; if any fields do not have the same name, adds a {@
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:2406
↓ 20 callers
Method
replace
(RexNode e)
core/src/main/java/org/apache/calcite/rel/rules/materialize/MaterializedViewRule.java:1159
↓ 20 callers
Method
setOperand
(int i, @Nullable SqlNode operand)
core/src/main/java/org/apache/calcite/sql/fun/SqlCase.java:110
↓ 20 callers
Method
skipLast
Returns every element of a list but its last element.
core/src/main/java/org/apache/calcite/util/Util.java:2208
↓ 20 callers
Method
sum
Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence.
linq4j/src/main/java/org/apache/calcite/linq4j/ExtendedEnumerable.java:1092
↓ 20 callers
Method
toHexString
Converts this bit string to a hex string, such as "7AB".
core/src/main/java/org/apache/calcite/util/BitString.java:126
↓ 20 callers
Method
toJson
(SqlParserPos pos)
core/src/main/java/org/apache/calcite/rel/externalize/RelJson.java:301
↓ 20 callers
Method
toLookup
Creates a {@code Lookup<TKey, TElement>} from an {@code Enumerable<TSource>} according to a specified key selector function.
linq4j/src/main/java/org/apache/calcite/linq4j/ExtendedEnumerable.java:1222
↓ 20 callers
Method
toSet
(ResultSet resultSet)
testkit/src/main/java/org/apache/calcite/test/CalciteAssert.java:779
↓ 20 callers
Method
traitDefs
(@Nullable List<RelTraitDef> traitDefs)
core/src/main/java/org/apache/calcite/tools/Frameworks.java:304
↓ 20 callers
Method
validateOperands
Validates the operands of a call, inferring the return type in the process. @param validator active validator @param scope validation scope @para
core/src/main/java/org/apache/calcite/sql/SqlOperator.java:516
↓ 20 callers
Method
withParserFactory
Sets {@link #parserFactory()}.
core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:350
↓ 20 callers
Method
withRel
Creates a copy of this RelRoot, assigning a {@link RelNode}.
core/src/main/java/org/apache/calcite/rel/RelRoot.java:130
↓ 19 callers
Method
addExpr
Adds an expression to the list of common expressions, and returns a reference to the expression. <b>DOES NOT CHECK WHETHER THE EXPRESSION ALREADY EXIS
core/src/main/java/org/apache/calcite/rex/RexProgramBuilder.java:369
↓ 19 callers
Method
addSub
Defines a time unit that consists of {@code count} instances of {@code baseUnit}.
core/src/main/java/org/apache/calcite/rel/type/TimeFrames.java:302
↓ 19 callers
Method
analyzeCondition
Analyzes the join condition. @return Analyzed join condition
core/src/main/java/org/apache/calcite/rel/core/Join.java:363
↓ 19 callers
Method
buckets
Returns the buckets of this aggregation.
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/ElasticsearchJson.java:577
↓ 19 callers
Method
calciteAssert
()
geode/src/test/java/org/apache/calcite/adapter/geode/rel/GeodeAllDataTypesTest.java:98
↓ 19 callers
Method
check
( Boolean encapsulateType, RexNode node, String expected)
core/src/test/java/org/apache/calcite/test/RexTransformerTest.java:100
↓ 19 callers
Method
chooseDelegate
()
core/src/main/java/org/apache/calcite/plan/volcano/VolcanoPlanner.java:509
↓ 19 callers
Method
clone
@deprecated Please use {@link #clone(SqlNode)}; this method brings along too much baggage from early versions of Java
core/src/main/java/org/apache/calcite/sql/SqlNode.java:74
↓ 19 callers
Method
compare
Compares two range sets.
core/src/main/java/org/apache/calcite/util/RangeSets.java:58
↓ 19 callers
Method
compareTo
(RelTableRef o)
core/src/main/java/org/apache/calcite/rex/RexTableInputRef.java:147
↓ 19 callers
Method
composeDisjunction
Converts a collection of expressions into an OR. If there are zero expressions, returns FALSE. If there is one expression, returns just that expressio
core/src/main/java/org/apache/calcite/rex/RexUtil.java:1394
↓ 19 callers
Method
countStar
Creates a call to the {@code COUNT( )} aggregate function.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:1593
↓ 19 callers
Method
create
Creates a SqlBasicAggFunction whose name is the same as its kind.
core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java:88
↓ 19 callers
Method
create
Creates a cluster.
core/src/main/java/org/apache/calcite/plan/RelOptCluster.java:105
↓ 19 callers
Method
create
Creates a LogicalProject. @deprecated Use {@link #create(RelNode, List, List, List, Set)} instead
core/src/main/java/org/apache/calcite/rel/logical/LogicalProject.java:128
↓ 19 callers
Method
createBlackboard
Factory method for creating translation workspace.
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:745
↓ 19 callers
Method
createType
Creates a type, deducing whether a record, scalar or primitive type is needed. @param type Java type, such as a {@link Class} @return Record or scala
core/src/main/java/org/apache/calcite/adapter/java/JavaTypeFactory.java:44
↓ 19 callers
Method
customize
Allows subclasses to customize the connection.
testkit/src/main/java/org/apache/calcite/test/QuidemTest.java:495
↓ 19 callers
Method
emptyEnumerable
Returns an {@link Enumerable} that has no elements. @param <T> Element type @return Empty enumerable
linq4j/src/main/java/org/apache/calcite/linq4j/Linq4j.java:334
↓ 19 callers
Method
foodmart
()
core/src/test/java/org/apache/calcite/materialize/LatticeSuggesterTest.java:958
↓ 19 callers
Method
generate
Returns a list generated by applying a function to each index between 0 and {@code size} - 1.
linq4j/src/main/java/org/apache/calcite/linq4j/function/Functions.java:376
↓ 19 callers
Method
getArrows
Returns all arrows (functional dependencies) in this ArrowSet.
core/src/main/java/org/apache/calcite/util/ArrowSet.java:247
↓ 19 callers
Method
getKey
()
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/PredicateAnalyzer.java:484
↓ 19 callers
Method
getPos
If the RexNode contains position information, return it. Otherwise, return SqlParserPos.ZERO.
core/src/main/java/org/apache/calcite/rex/RexUtil.java:2384
↓ 19 callers
Method
getQualifiedName
()
core/src/main/java/org/apache/calcite/rex/RexTableInputRef.java:72
↓ 19 callers
Method
getRels
Returns the rel nodes in this rel subset. All rels must have the same traits and are logically equivalent. @return all the rels in the subset
core/src/main/java/org/apache/calcite/plan/volcano/RelSubset.java:418
↓ 19 callers
Method
getTargetCount
Returns the number of targets. Valid targets will be in the range 0 .. targetCount.
core/src/main/java/org/apache/calcite/util/mapping/Mapping.java:63
↓ 19 callers
Method
getTargetCount
()
core/src/main/java/org/apache/calcite/util/mapping/Mappings.java:874
↓ 19 callers
Method
getTargetTable
Return the identifier for the target table of this MERGE.
core/src/main/java/org/apache/calcite/sql/SqlMerge.java:125
↓ 19 callers
Method
getTypeFactory
()
core/src/main/java/org/apache/calcite/plan/RelOptCluster.java:132
↓ 19 callers
Method
getTypeFactory
Returns this RexBuilder's type factory. @return type factory
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:176
↓ 19 callers
Method
getTypeSystem
Returns the type system. @return Type system
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactory.java:58
↓ 19 callers
Method
hasFilter
Returns whether this AggregateCall has a filter argument.
core/src/main/java/org/apache/calcite/rel/core/AggregateCall.java:509
↓ 19 callers
Method
ifThenElse
Creates a ConditionalExpression that represents a conditional block with if and else statements.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:983
↓ 19 callers
Method
info
Logs an INFO message with two Object parameters.
core/src/main/java/org/apache/calcite/util/trace/CalciteLogger.java:103
↓ 19 callers
Method
isLiteral
Returns whether a node is a literal. <p>Examples: <ul> <li>For <code>CAST(literal AS <i>type</i>)</code>, returns true if <code> allowCast</code> is
core/src/main/java/org/apache/calcite/sql/SqlUtil.java:245
↓ 19 callers
Method
isNumeric
Returns whether a type is numeric.
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:733
↓ 19 callers
Method
isSet
Returns whether a given property has been assigned a value. <p>If not, the value returned for the property will be its default value.
core/src/main/java/org/apache/calcite/config/CalciteConnectionConfigImpl.java:67
↓ 19 callers
Method
isSimple
(Aggregate aggregate)
core/src/main/java/org/apache/calcite/rel/core/Aggregate.java:84
↓ 19 callers
Method
isString
Returns whether a type is STRING.
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:2041
↓ 19 callers
Method
jsonValueExpression
(String input)
core/src/main/java/org/apache/calcite/runtime/JsonFunctions.java:108
↓ 19 callers
Method
list
(String... xs)
core/src/test/java/org/apache/calcite/util/UtilTest.java:1978
↓ 19 callers
Method
makeIn
Creates a {@link RexNode} representation a SQL "arg IN (point, ...)" expression. <p>If all of the expressions are literals, creates a call {@link Sar
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:1827
↓ 19 callers
Method
mergeUnion
Merge Union Enumerable. Performs a union (or union all) of all its inputs (which must be already sorted), respecting the order. @param sources input
linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java:5375
↓ 19 callers
Method
numDistinctVals
Returns the number of distinct values provided numSelected are selected where there are domainSize distinct values. <p>Note that in the case where do
core/src/main/java/org/apache/calcite/rel/metadata/RelMdUtil.java:317
↓ 19 callers
Method
operand
(int i)
core/src/main/java/org/apache/calcite/sql/SqlBasicCall.java:118
↓ 19 callers
Method
orderBy
Sorts the elements of a sequence in ascending order according to a key.
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableFactory.java:538
↓ 19 callers
Method
previousClearBit
Returns the previous clear bit. <p>Has same behavior as {@link BitSet#previousClearBit}, but that method does not exist before 1.7.
core/src/main/java/org/apache/calcite/util/BitSets.java:261
↓ 19 callers
Method
returnType
Returns the return type of the aggregate as {@link java.lang.reflect.Type}. @return return type of the aggregate as {@link java.lang.reflect.Type}
core/src/main/java/org/apache/calcite/adapter/enumerable/AggContext.java:54
↓ 19 callers
Method
round
Returns this value rounded to {@code precision} decimal digits after the point. <p>Uses rounding mode {@link java.math.RoundingMode#DOWN}.
core/src/main/java/org/apache/calcite/util/TimestampString.java:173
↓ 19 callers
Method
subtract
Creates a BinaryExpression that represents an arithmetic subtraction operation that does not have overflow checking.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:2647
↓ 19 callers
Method
toRel
Creates a {@link RelNode} from this fixture's supplier (see {@link #withSql(String)} and {@link #withRelFn(Function)}).
testkit/src/main/java/org/apache/calcite/test/RelMetadataFixture.java:205
↓ 19 callers
Method
toString
(RelNode rel)
core/src/test/java/org/apache/calcite/tools/PlannerTest.java:171
↓ 19 callers
Method
toString
()
core/src/main/java/org/apache/calcite/sql/SqlNode.java:131
↓ 19 callers
Method
toString
Converts an iterable to a string.
core/src/main/java/org/apache/calcite/util/Util.java:1496
↓ 19 callers
Method
toUnchecked
Wraps an exception with {@link RuntimeException} and return it. If the exception is already an instance of RuntimeException, returns it directly.
core/src/main/java/org/apache/calcite/util/Util.java:1092
↓ 19 callers
Method
unparse
(SqlWriter writer, int leftPrec, int rightPrec)
core/src/main/java/org/apache/calcite/sql/SqlHint.java:162
↓ 19 callers
Method
withDb2
()
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11668
↓ 18 callers
Method
addCondition
Sets the condition of the program. <p>The expression must be specified in terms of the input fields. If not, call {@link #registerOutput(RexNode)} fi
core/src/main/java/org/apache/calcite/rex/RexProgramBuilder.java:271
↓ 18 callers
Method
apply
(@Nullable String original, int attempt, int size)
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorUtil.java:1617
↓ 18 callers
Method
checkConvertMutableRel
Verifies that after conversion to and from a MutableRel, the new RelNode remains identical to the original RelNode.
core/src/test/java/org/apache/calcite/test/MutableRelTest.java:246
↓ 18 callers
Method
coerceOperandType
Cast operand at index {@code index} to target type. we do this base on the fact that validate happens before type coercion.
core/src/main/java/org/apache/calcite/sql/validate/implicit/AbstractTypeCoercion.java:96
↓ 18 callers
Method
compare
(boolean v0, boolean v1)
core/src/main/java/org/apache/calcite/runtime/Utilities.java:141
↓ 18 callers
Method
consumesPreparedStatement
( PreparedStatementConsumer consumer)
testkit/src/main/java/org/apache/calcite/test/CalciteAssert.java:1633
↓ 18 callers
Method
containsCorrelation
Returns whether an expression contains a {@link RexCorrelVariable}.
core/src/main/java/org/apache/calcite/rex/RexUtil.java:2406
↓ 18 callers
Method
create
Creates a program which calculates projections and filters rows based upon a condition. Does not attempt to eliminate common sub-expressions. @param
core/src/main/java/org/apache/calcite/rex/RexProgram.java:197
↓ 18 callers
Method
create
(TerminalExpression expression)
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/PredicateAnalyzer.java:630
↓ 18 callers
Method
createNull
Creates a NULL literal. <p>There's no singleton constant for a NULL literal. Instead, nulls must be instantiated via createNull(), because different
core/src/main/java/org/apache/calcite/sql/SqlLiteral.java:621
↓ 18 callers
Method
defineEscape
Map character "from" to escape sequence "to".
core/src/main/java/org/apache/calcite/util/XmlOutput.java:568
↓ 18 callers
Method
enabled
Whether to run this test.
druid/src/test/java/org/apache/calcite/test/DruidAdapterIT.java:96
↓ 18 callers
Method
end
()
core/src/main/java/org/apache/calcite/interpreter/Sink.java:29
← previous
next →
1,201–1,300 of 34,750, ranked by callers