MCPcopy Create free account

hub / github.com/apache/calcite / functions

Functions34,750 in github.com/apache/calcite

↓ 20 callersMethodgetOperandList
()
core/src/main/java/org/apache/calcite/sql/ddl/SqlDropSchema.java:64
↓ 20 callersMethodgetReplace
()
core/src/main/java/org/apache/calcite/sql/SqlCreate.java:47
↓ 20 callersMethodgetRoot
Returns the root node of this query. @return Root node
core/src/main/java/org/apache/calcite/plan/RelOptPlanner.java:58
↓ 20 callersMethodgetType
()
core/src/main/java/org/apache/calcite/rex/RexLiteral.java:949
↓ 20 callersMethodgetValue
()
core/src/main/java/org/apache/calcite/runtime/MapEntry.java:77
↓ 20 callersMethodhintOption
Add a hint option as string.
core/src/main/java/org/apache/calcite/rel/hint/RelHint.java:227
↓ 20 callersMethodimplies
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 callersMethodisKeyword
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 callersMethodisNotDistinctFrom
(RexNode a, RexNode b)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:206
↓ 20 callersMethodnodeToString
(RexNode node)
core/src/test/java/org/apache/calcite/test/fuzzer/RexProgramFuzzyTest.java:335
↓ 20 callersMethodoptimize2
(Expression operand, Expression expression)
core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java:1552
↓ 20 callersMethodprojectsRight
()
core/src/main/java/org/apache/calcite/rel/core/JoinRelType.java:200
↓ 20 callersMethodquotientList
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 callersMethodrebuild
Creates a Builder whose initial contents are the same as this ImmutableBitSet.
core/src/main/java/org/apache/calcite/util/ImmutableBitSet.java:876
↓ 20 callersMethodregexpExtract
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 callersMethodregexpReplace
SQL {@code REGEXP_REPLACE} function with 2 arguments.
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:725
↓ 20 callersMethodrename
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 callersMethodreplace
(RexNode e)
core/src/main/java/org/apache/calcite/rel/rules/materialize/MaterializedViewRule.java:1159
↓ 20 callersMethodsetOperand
(int i, @Nullable SqlNode operand)
core/src/main/java/org/apache/calcite/sql/fun/SqlCase.java:110
↓ 20 callersMethodskipLast
Returns every element of a list but its last element.
core/src/main/java/org/apache/calcite/util/Util.java:2208
↓ 20 callersMethodsum
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 callersMethodtoHexString
Converts this bit string to a hex string, such as "7AB".
core/src/main/java/org/apache/calcite/util/BitString.java:126
↓ 20 callersMethodtoJson
(SqlParserPos pos)
core/src/main/java/org/apache/calcite/rel/externalize/RelJson.java:301
↓ 20 callersMethodtoLookup
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 callersMethodtoSet
(ResultSet resultSet)
testkit/src/main/java/org/apache/calcite/test/CalciteAssert.java:779
↓ 20 callersMethodtraitDefs
(@Nullable List<RelTraitDef> traitDefs)
core/src/main/java/org/apache/calcite/tools/Frameworks.java:304
↓ 20 callersMethodvalidateOperands
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 callersMethodwithParserFactory
Sets {@link #parserFactory()}.
core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:350
↓ 20 callersMethodwithRel
Creates a copy of this RelRoot, assigning a {@link RelNode}.
core/src/main/java/org/apache/calcite/rel/RelRoot.java:130
↓ 19 callersMethodaddExpr
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 callersMethodaddSub
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 callersMethodanalyzeCondition
Analyzes the join condition. @return Analyzed join condition
core/src/main/java/org/apache/calcite/rel/core/Join.java:363
↓ 19 callersMethodbuckets
Returns the buckets of this aggregation.
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/ElasticsearchJson.java:577
↓ 19 callersMethodcalciteAssert
()
geode/src/test/java/org/apache/calcite/adapter/geode/rel/GeodeAllDataTypesTest.java:98
↓ 19 callersMethodcheck
( Boolean encapsulateType, RexNode node, String expected)
core/src/test/java/org/apache/calcite/test/RexTransformerTest.java:100
↓ 19 callersMethodchooseDelegate
()
core/src/main/java/org/apache/calcite/plan/volcano/VolcanoPlanner.java:509
↓ 19 callersMethodclone
@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 callersMethodcompare
Compares two range sets.
core/src/main/java/org/apache/calcite/util/RangeSets.java:58
↓ 19 callersMethodcompareTo
(RelTableRef o)
core/src/main/java/org/apache/calcite/rex/RexTableInputRef.java:147
↓ 19 callersMethodcomposeDisjunction
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 callersMethodcountStar
Creates a call to the {@code COUNT( )} aggregate function.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:1593
↓ 19 callersMethodcreate
Creates a SqlBasicAggFunction whose name is the same as its kind.
core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java:88
↓ 19 callersMethodcreate
Creates a cluster.
core/src/main/java/org/apache/calcite/plan/RelOptCluster.java:105
↓ 19 callersMethodcreate
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 callersMethodcreateBlackboard
Factory method for creating translation workspace.
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:745
↓ 19 callersMethodcreateType
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 callersMethodcustomize
Allows subclasses to customize the connection.
testkit/src/main/java/org/apache/calcite/test/QuidemTest.java:495
↓ 19 callersMethodemptyEnumerable
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 callersMethodfoodmart
()
core/src/test/java/org/apache/calcite/materialize/LatticeSuggesterTest.java:958
↓ 19 callersMethodgenerate
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 callersMethodgetArrows
Returns all arrows (functional dependencies) in this ArrowSet.
core/src/main/java/org/apache/calcite/util/ArrowSet.java:247
↓ 19 callersMethodgetKey
()
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/PredicateAnalyzer.java:484
↓ 19 callersMethodgetPos
If the RexNode contains position information, return it. Otherwise, return SqlParserPos.ZERO.
core/src/main/java/org/apache/calcite/rex/RexUtil.java:2384
↓ 19 callersMethodgetQualifiedName
()
core/src/main/java/org/apache/calcite/rex/RexTableInputRef.java:72
↓ 19 callersMethodgetRels
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 callersMethodgetTargetCount
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 callersMethodgetTargetCount
()
core/src/main/java/org/apache/calcite/util/mapping/Mappings.java:874
↓ 19 callersMethodgetTargetTable
Return the identifier for the target table of this MERGE.
core/src/main/java/org/apache/calcite/sql/SqlMerge.java:125
↓ 19 callersMethodgetTypeFactory
()
core/src/main/java/org/apache/calcite/plan/RelOptCluster.java:132
↓ 19 callersMethodgetTypeFactory
Returns this RexBuilder's type factory. @return type factory
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:176
↓ 19 callersMethodgetTypeSystem
Returns the type system. @return Type system
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactory.java:58
↓ 19 callersMethodhasFilter
Returns whether this AggregateCall has a filter argument.
core/src/main/java/org/apache/calcite/rel/core/AggregateCall.java:509
↓ 19 callersMethodifThenElse
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 callersMethodinfo
Logs an INFO message with two Object parameters.
core/src/main/java/org/apache/calcite/util/trace/CalciteLogger.java:103
↓ 19 callersMethodisLiteral
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 callersMethodisNumeric
Returns whether a type is numeric.
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:733
↓ 19 callersMethodisSet
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 callersMethodisSimple
(Aggregate aggregate)
core/src/main/java/org/apache/calcite/rel/core/Aggregate.java:84
↓ 19 callersMethodisString
Returns whether a type is STRING.
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:2041
↓ 19 callersMethodjsonValueExpression
(String input)
core/src/main/java/org/apache/calcite/runtime/JsonFunctions.java:108
↓ 19 callersMethodlist
(String... xs)
core/src/test/java/org/apache/calcite/util/UtilTest.java:1978
↓ 19 callersMethodmakeIn
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 callersMethodmergeUnion
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 callersMethodnumDistinctVals
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 callersMethodoperand
(int i)
core/src/main/java/org/apache/calcite/sql/SqlBasicCall.java:118
↓ 19 callersMethodorderBy
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 callersMethodpreviousClearBit
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 callersMethodreturnType
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 callersMethodround
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 callersMethodsubtract
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 callersMethodtoRel
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 callersMethodtoString
(RelNode rel)
core/src/test/java/org/apache/calcite/tools/PlannerTest.java:171
↓ 19 callersMethodtoString
()
core/src/main/java/org/apache/calcite/sql/SqlNode.java:131
↓ 19 callersMethodtoString
Converts an iterable to a string.
core/src/main/java/org/apache/calcite/util/Util.java:1496
↓ 19 callersMethodtoUnchecked
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 callersMethodunparse
(SqlWriter writer, int leftPrec, int rightPrec)
core/src/main/java/org/apache/calcite/sql/SqlHint.java:162
↓ 19 callersMethodwithDb2
()
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11668
↓ 18 callersMethodaddCondition
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 callersMethodapply
(@Nullable String original, int attempt, int size)
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorUtil.java:1617
↓ 18 callersMethodcheckConvertMutableRel
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 callersMethodcoerceOperandType
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 callersMethodcompare
(boolean v0, boolean v1)
core/src/main/java/org/apache/calcite/runtime/Utilities.java:141
↓ 18 callersMethodconsumesPreparedStatement
( PreparedStatementConsumer consumer)
testkit/src/main/java/org/apache/calcite/test/CalciteAssert.java:1633
↓ 18 callersMethodcontainsCorrelation
Returns whether an expression contains a {@link RexCorrelVariable}.
core/src/main/java/org/apache/calcite/rex/RexUtil.java:2406
↓ 18 callersMethodcreate
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 callersMethodcreate
(TerminalExpression expression)
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/PredicateAnalyzer.java:630
↓ 18 callersMethodcreateNull
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 callersMethoddefineEscape
Map character "from" to escape sequence "to".
core/src/main/java/org/apache/calcite/util/XmlOutput.java:568
↓ 18 callersMethodenabled
Whether to run this test.
druid/src/test/java/org/apache/calcite/test/DruidAdapterIT.java:96
↓ 18 callersMethodend
()
core/src/main/java/org/apache/calcite/interpreter/Sink.java:29
← previousnext →1,201–1,300 of 34,750, ranked by callers