MCPcopy Create free account

hub / github.com/apache/calcite / functions

Functions34,750 in github.com/apache/calcite

↓ 18 callersMethodexists
Returns whether there is an element in {@code list} for which {@code predicate} is true.
core/src/main/java/org/apache/calcite/rex/RexUtil.java:1923
↓ 18 callersMethodfieldReference
Generates a reference to a given field in an expression. <p>For example given {@code expression=employee} and {@code field=2}, generates <blockquote
core/src/main/java/org/apache/calcite/adapter/enumerable/PhysType.java:83
↓ 18 callersMethodgetAliasedSignature
Constructs an operator signature from a type list, substituting an alias for the operator name. @param op operator @param opName name to use
core/src/main/java/org/apache/calcite/sql/SqlUtil.java:889
↓ 18 callersMethodgetCondition
()
core/src/main/java/org/apache/calcite/sql/SqlJoin.java:131
↓ 18 callersMethodgetConstructor
(String type)
core/src/main/java/org/apache/calcite/rel/externalize/RelJson.java:222
↓ 18 callersMethodgetGroup
()
core/src/main/java/org/apache/calcite/sql/SqlSelect.java:192
↓ 18 callersMethodgetListener
()
core/src/main/java/org/apache/calcite/plan/AbstractRelOptPlanner.java:470
↓ 18 callersMethodgetMaxScale
Returns the maximum scale allowed for this type, or {@link RelDataType#SCALE_NOT_SPECIFIED} if scale is not applicable for this type. @return Maximum
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeSystem.java:47
↓ 18 callersMethodgetOperandLiteralValue
(int ordinal, Class<T> clazz)
core/src/main/java/org/apache/calcite/sql/SqlCallBinding.java:275
↓ 18 callersMethodgetOperatorList
Retrieves a list of all functions and operators in this table. Used for automated testing. Depending on the table type, may or may not be mutable. @r
core/src/main/java/org/apache/calcite/sql/SqlOperatorTable.java:56
↓ 18 callersMethodgetPredicates
(RelNode r, RelMetadataQuery mq)
core/src/main/java/org/apache/calcite/rel/metadata/BuiltInMetadata.java:717
↓ 18 callersMethodgetResultSet
()
core/src/main/java/org/apache/calcite/server/CalciteServerStatement.java:41
↓ 18 callersMethodgetSqlIdentifier
Gets the {@link SqlIdentifier} associated with this type. For a predefined type, this is a simple identifier based on {@link #getSqlTypeName}. For a u
core/src/main/java/org/apache/calcite/rel/type/RelDataType.java:221
↓ 18 callersMethodgetSyntax
Returns the syntactic type of this operator, never null.
core/src/main/java/org/apache/calcite/sql/SqlOperator.java:270
↓ 18 callersMethodgetType
()
druid/src/main/java/org/apache/calcite/adapter/druid/Granularity.java:51
↓ 18 callersMethodgetTypeName
()
core/src/main/java/org/apache/calcite/runtime/rtti/RuntimeTypeInformation.java:113
↓ 18 callersMethodgetValue
( @Nullable RexNode inputRef, @Nullable RexNode literal)
core/src/main/java/org/apache/calcite/plan/VisitorDataContext.java:110
↓ 18 callersMethodgetVariablesUsed
Returns the set of variables used by a relational expression or its descendants. <p>The set may contain "duplicates" (variables with different ids th
core/src/main/java/org/apache/calcite/plan/RelOptUtil.java:300
↓ 18 callersMethodgroupBy
Groups the elements of a sequence according to a specified key selector function.
linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java:673
↓ 18 callersMethodinit
()
testkit/src/main/java/org/apache/calcite/util/Smalls.java:865
↓ 18 callersMethodisAggregator
Returns whether this operator is an aggregate function. By default, subclass type is used (an instance of SqlAggFunction is assumed to be an aggregato
core/src/main/java/org/apache/calcite/sql/SqlOperator.java:878
↓ 18 callersMethodisIntType
Returns whether a type is one of the integer types.
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:557
↓ 18 callersMethodisValid
Returns whether this relational expression is valid. <p>If assertions are enabled, this method is typically called with <code> litmus</code> = <code>
core/src/main/java/org/apache/calcite/rel/RelNode.java:360
↓ 18 callersMethodlimit
(int limit)
core/src/test/java/org/apache/calcite/profile/ProfilerTest.java:502
↓ 18 callersMethodmakeUnary
Creates a UnaryExpression, given an operand, by calling the appropriate factory method.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:1624
↓ 18 callersMethodmergeJoin
Joins two inputs that are sorted on the key. Inputs must be sorted in ascending order, nulls last. @deprecated Use {@link #mergeJoin(Enumerable, Enum
linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java:2712
↓ 18 callersMethodmultiply
Creates a BinaryExpression that represents an arithmetic multiplication operation that does not have overflow checking.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:1801
↓ 18 callersMethodnewSchema
(final String schemaName, PairList<String, Table> tables)
core/src/test/java/org/apache/calcite/test/ScannableTableTest.java:504
↓ 18 callersMethodof
Returns a statistic with a given set of referential constraints.
core/src/main/java/org/apache/calcite/schema/Statistics.java:42
↓ 18 callersMethodof
Creates a new lookup object based on a NameMap.
core/src/main/java/org/apache/calcite/schema/lookup/Lookup.java:93
↓ 18 callersMethodonly
()
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorScope.java:334
↓ 18 callersMethodorElse
Creates a BinaryExpression that represents a conditional OR operation that evaluates the second operand only if the first operand evaluates to false.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:2232
↓ 18 callersMethodrange
Returns an iterable over all the entries in the set that match the given name. If case-sensitive, that iterable will have 0 or 1 elements; if case-ins
core/src/main/java/org/apache/calcite/util/NameSet.java:72
↓ 18 callersMethodrange
Returns a map containing all the entries in the map that match the given name. If case-sensitive, that map will have 0 or 1 elements; if case-insensit
core/src/main/java/org/apache/calcite/util/NameMap.java:76
↓ 18 callersMethodrootSchema
()
core/src/test/java/org/apache/calcite/test/InterpreterTest.java:210
↓ 18 callersMethodrunProjectQueryWithLex
(Lex lex, String sql)
core/src/test/java/org/apache/calcite/sql/validate/LexCaseSensitiveTest.java:65
↓ 18 callersMethodsequenceEqual
Determines whether two sequences are equal by using the default equality comparer to compare elements.
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableFactory.java:630
↓ 18 callersMethodsetString
Sets the arguments by parsing a standard java argument string. <p>A typical such string is <code>"-classpath <i>classpath</i> -d <i> dir</i> -verbose
core/src/main/java/org/apache/calcite/util/javac/JavaCompilerArgs.java:62
↓ 18 callersMethodsimple
Creates a fluent test for a SQL statement that has most common lexical features.
core/src/test/java/org/apache/calcite/sql/test/SqlPrettyWriterTest.java:84
↓ 18 callersMethodsplit
SQL {@code SPLIT(string, string)} function.
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:985
↓ 18 callersMethodtoInt
Converts a SQL DATE value from the Java type ({@link java.sql.Date}) to the internal representation type (number of days since January 1st, 1970 as {@
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:5005
↓ 18 callersMethodtoType
(RelDataTypeFactory typeFactory, Object o)
core/src/main/java/org/apache/calcite/rel/externalize/RelJson.java:364
↓ 18 callersMethodtruncate
Helper for CAST(... AS VARCHAR(maxLength)).
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:6004
↓ 18 callersMethodwithName
(String name)
core/src/main/java/org/apache/calcite/sql/fun/SqlFloorFunction.java:68
↓ 17 callersMethodand
Creates an AND.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:1098
↓ 17 callersMethodapply
(RelOptCluster cluster, RelOptSchema relOptSchema, SchemaPlus rootSchema)
core/src/main/java/org/apache/calcite/tools/Frameworks.java:88
↓ 17 callersMethodareColumnsUnique
Returns the {@link BuiltInMetadata.ColumnUniqueness#areColumnsUnique(ImmutableBitSet, boolean)} statistic. @param rel the relational expression @
core/src/main/java/org/apache/calcite/rel/metadata/RelMetadataQuery.java:598
↓ 17 callersMethodassertJsonQuery
(JsonFunctions.JsonPathContext input, SqlJsonQueryWrapperBehavior wrapperBehavior, SqlJsonQueryEmp
core/src/test/java/org/apache/calcite/test/SqlJsonFunctionsTest.java:733
↓ 17 callersMethodassertRowsUnique
Checks {@link RelMetadataQuery#areRowsUnique(RelNode)} for all values of {@code ignoreNulls}.
testkit/src/main/java/org/apache/calcite/test/RelMetadataFixture.java:247
↓ 17 callersMethodbool
(String name)
linq4j/src/test/java/org/apache/calcite/linq4j/test/BlockBuilderBase.java:73
↓ 17 callersMethodcannotEvaluate
()
linq4j/src/main/java/org/apache/calcite/linq4j/tree/BinaryExpression.java:239
↓ 17 callersMethodcompose
Creates a matcher by applying a function to a value before calling another matcher.
testkit/src/main/java/org/apache/calcite/test/Matchers.java:187
↓ 17 callersMethodconcatMultiTypeWithSeparator
SQL {@code CONCAT_WS(sep[, str | array(str)]+)} function, return null for null sep.
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:1758
↓ 17 callersMethodconnect
(String name, boolean reference)
core/src/test/java/org/apache/calcite/test/CoreQuidemTest.java:74
↓ 17 callersMethodcopyValues
Copy the map values from key {@code typeName} and returns as a {@link ImmutableSet.Builder}.
core/src/main/java/org/apache/calcite/sql/type/SqlTypeMappingRules.java:94
↓ 17 callersMethoddisjunctions
Returns a condition decomposed by OR. <p>For example, {@code disjunctions(FALSE)} returns the empty list.
core/src/main/java/org/apache/calcite/plan/RelOptUtil.java:2672
↓ 17 callersMethodequalsDeep
(@Nullable SqlNode node, Litmus litmus)
core/src/main/java/org/apache/calcite/sql/SqlCall.java:178
↓ 17 callersMethodexcept
Produces the set difference of two sequences by using the default equality comparer to compare values, eliminate duplicates. (Defined by Queryable.)
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableFactory.java:250
↓ 17 callersMethodfixture
Creates the test fixture that determines the behavior of tests. Sub-classes that, say, test different parser implementations should override.
testkit/src/main/java/org/apache/calcite/sql/parser/SqlParserTest.java:644
↓ 17 callersMethodgeAny
SQL <code>&ge;</code> operator applied to Object values (at least one operand has ANY type; neither may be null).
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:2572
↓ 17 callersMethodgetComponent
Creates an identifier which contains only the <code>ordinal</code>th component of this compound identifier. It will have the correct {@link SqlParserP
core/src/main/java/org/apache/calcite/sql/SqlIdentifier.java:226
↓ 17 callersMethodgetLineNum
Returns 1-based starting line number.
core/src/main/java/org/apache/calcite/sql/parser/SqlParserPos.java:101
↓ 17 callersMethodgetName
()
core/src/main/java/org/apache/calcite/plan/Convention.java:41
↓ 17 callersMethodgetNewForOldRel
(RelNode oldRel)
core/src/main/java/org/apache/calcite/sql2rel/RelStructuredTypeFlattener.java:278
↓ 17 callersMethodgetOutputRowType
Returns the type of the output row from this program. @return output row type
core/src/main/java/org/apache/calcite/rex/RexProgram.java:429
↓ 17 callersMethodgetRowType
Returns the row type of this namespace, which comprises a list of names and types of the output columns. If the scope's type has not yet been derived,
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorNamespace.java:77
↓ 17 callersMethodgetRows
Returns the number of rows processed; this should not be confused with the row count produced by a relational expression ({@link org.apache.calcite.re
core/src/main/java/org/apache/calcite/plan/RelOptCost.java:35
↓ 17 callersMethodgetSchema
()
core/src/main/java/org/apache/calcite/jdbc/CalciteConnection.java:79
↓ 17 callersMethodgetStatistic
Returns a provider of statistics about this table.
core/src/main/java/org/apache/calcite/schema/Table.java:63
↓ 17 callersMethodgetStructKind
Returns the rule for resolving the fields of a structured type, or {@link StructKind#NONE} if this is not a structured type. @return the StructKind t
core/src/main/java/org/apache/calcite/rel/type/RelDataType.java:92
↓ 17 callersMethodgetSystemFieldList
Returns a list of system fields that will be prefixed to output row type. @return list of system fields
core/src/main/java/org/apache/calcite/rel/core/Join.java:307
↓ 17 callersMethodgetValues
()
core/src/main/java/org/apache/calcite/interpreter/Row.java:84
↓ 17 callersMethodisNotNull
Creates an {@code IS NOT NULL}.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:1181
↓ 17 callersMethodisNull
Returns whether a node represents the NULL value or a series of nested {@code CAST(NULL AS type)} calls. For example: <code>isNull(CAST(CAST(NULL as I
core/src/main/java/org/apache/calcite/rex/RexUtil.java:214
↓ 17 callersMethodleAny
SQL <code>&le;</code> operator applied to Object values (at least one operand has ANY type; neither may be null).
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:2445
↓ 17 callersMethodmakeTimestampLiteral
@deprecated Use {@link #makeTimestampLiteral(TimestampString, int)}.
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:1709
↓ 17 callersMethodmakeTinyCost
Creates a cost object representing a small positive cost.
core/src/main/java/org/apache/calcite/plan/RelOptCostFactory.java:41
↓ 17 callersMethodmapping
(int sourceCount, int... sources)
core/src/test/java/org/apache/calcite/rel/RelDistributionTest.java:92
↓ 17 callersMethodmultiply
Returns the product of two numbers, or null if either is null.
core/src/main/java/org/apache/calcite/util/NumberUtil.java:179
↓ 17 callersMethodofRules
Creates a program from a list of rules.
core/src/main/java/org/apache/calcite/tools/Programs.java:138
↓ 17 callersMethodopen
(V lower, V upper)
core/src/main/java/org/apache/calcite/util/RangeSets.java:307
↓ 17 callersMethodrange
(final int end)
core/src/main/java/org/apache/calcite/util/Util.java:2232
↓ 17 callersMethodregisterSchema
Tells this planner that a schema exists. This is the schema's chance to tell the planner about all of the special transformation rules.
core/src/main/java/org/apache/calcite/plan/RelOptPlanner.java:268
↓ 17 callersMethodrepeat
Returns a string repeated n times (Java 8 compatible).
ubenchmark/src/jmh/java/org/apache/calcite/benchmarks/LargePlanBenchmark.java:258
↓ 17 callersMethodreplaceSubQueries
( final Blackboard bb, final SqlNode expr, RelOptUtil.Logic logic)
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:1261
↓ 17 callersMethodrestClient
Low-level http rest client connected to current embedded Elasticsearch instance. @return http client connected to ES cluster
elasticsearch/src/test/java/org/apache/calcite/adapter/elasticsearch/EmbeddedElasticsearchPolicy.java:253
↓ 17 callersMethodrewriteGeneric
(RelNode rel)
core/src/main/java/org/apache/calcite/sql2rel/RelStructuredTypeFlattener.java:630
↓ 17 callersMethodround
(int precision)
core/src/main/java/org/apache/calcite/util/TimestampWithTimeZoneString.java:179
↓ 17 callersMethodsafeDouble
Returns whether a double value is safe (that is, has not overflowed).
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:3382
↓ 17 callersMethodsignum
Returns sign of value. @return -1, 0 or 1
core/src/main/java/org/apache/calcite/sql/SqlLiteral.java:732
↓ 17 callersMethodskip
Bypasses a specified number of elements in a sequence and then returns the remaining elements.
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableFactory.java:675
↓ 17 callersMethodtChar
(int precision)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:407
↓ 17 callersMethodtester
()
core/src/test/java/org/apache/calcite/test/enumerable/EnumerableUncollectTest.java:202
↓ 17 callersMethodtoClass
(Type type)
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Types.java:127
↓ 17 callersMethodtoScientificNotation
Formats a double value to a String ensuring that the output is in scientific notation if the value is not "special". (Special values include infinitie
core/src/main/java/org/apache/calcite/util/Util.java:543
↓ 17 callersMethodtype
(SqlTypeName typeName, int precision)
core/src/test/java/org/apache/calcite/sql/type/SqlTypeFixture.java:88
↓ 17 callersMethodvVarchar
Creates {@code nullable varchar variable} with index of 0. If you need several distinct variables, use {@link #vVarchar(int)}. The resulting node woul
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:714
↓ 17 callersMethodverify
(RelNode rel, String expectedPhysical, String expectedLogical)
core/src/test/java/org/apache/calcite/rel/logical/ToLogicalConverterTest.java:125
↓ 17 callersMethodvertexSet
()
core/src/main/java/org/apache/calcite/util/graph/DirectedGraph.java:52
↓ 17 callersMethodvisitEach
Visits a list of expressions.
core/src/main/java/org/apache/calcite/rex/RexVisitor.java:82
← previousnext →1,301–1,400 of 34,750, ranked by callers