MCPcopy Create free account

hub / github.com/apache/calcite / functions

Functions34,750 in github.com/apache/calcite

↓ 23 callersMethodreversed
Returns an immutable copy of this ImmutablePairList with the elements reversed. <p>Throws {@link NullPointerException} if any keys or values are null
core/src/main/java/org/apache/calcite/runtime/PairList.java:190
↓ 23 callersMethodsequence
Creates a program that executes a sequence of programs.
core/src/main/java/org/apache/calcite/tools/Programs.java:148
↓ 23 callersMethodtoLong
Converts a SQL TIMESTAMP value from the Java type ({@link java.util.Date}) to the internal representation type (number of milliseconds since January 1
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:5125
↓ 23 callersMethodwithParserConfig
Sets {@link #parserConfig()}.
core/src/main/java/org/apache/calcite/tools/Hoist.java:131
↓ 22 callersMethodadd
(@Nullable Comparable e)
core/src/main/java/org/apache/calcite/adapter/clone/ColumnLoader.java:306
↓ 22 callersMethodareSameFamily
Returns whether all types in a collection have the same family, as determined by {@link #isSameFamily(RelDataType, RelDataType)}. @param types Types
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:1864
↓ 22 callersMethodasList
Returns a list view onto a data set.
core/src/main/java/org/apache/calcite/adapter/clone/ArrayTable.java:221
↓ 22 callersMethodbuild
Builds the program.
core/src/main/java/org/apache/calcite/util/Puffin.java:114
↓ 22 callersMethodcheckQuery
(int i)
plus/src/test/java/org/apache/calcite/adapter/tpch/TpchTest.java:1216
↓ 22 callersMethodcompareTo
(CorRef o)
core/src/main/java/org/apache/calcite/sql2rel/RelDecorrelator.java:3565
↓ 22 callersMethodconnect
()
server/src/test/java/org/apache/calcite/test/ServerTest.java:73
↓ 22 callersMethodcount
Creates a call to the {@code COUNT} aggregate function.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:1565
↓ 22 callersMethodequalSansNullability
Returns whether two types are equal, ignoring nullability. <p>They need not come from the same factory. @param factory Type factory @param type1 F
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:1515
↓ 22 callersMethodexactly
Supplies an operand that has been built manually.
core/src/main/java/org/apache/calcite/plan/RelRule.java:194
↓ 22 callersMethodfullyQualify
Converts an identifier into a fully-qualified identifier. For example, the "empno" in "select empno from emp natural join dept" becomes "emp.empno".
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorScope.java:126
↓ 22 callersMethodgetCatalogReader
Returns the catalog reader used by this validator. @return catalog reader
core/src/main/java/org/apache/calcite/sql/validate/SqlValidator.java:128
↓ 22 callersMethodgetCorrelationId
Returns the correlating expressions. @return correlating expressions
core/src/main/java/org/apache/calcite/rel/core/Correlate.java:197
↓ 22 callersMethodgetDate
Converts this literal to a {@link DateString}.
core/src/main/java/org/apache/calcite/sql/SqlDateLiteral.java:43
↓ 22 callersMethodgetFieldReference
()
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/PredicateAnalyzer.java:790
↓ 22 callersMethodgetName
Returns the name of this aggregation.
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/ElasticsearchJson.java:549
↓ 22 callersMethodgetScope
Returns the current scope.
core/src/main/java/org/apache/calcite/sql/validate/SqlScopedShuttle.java:70
↓ 22 callersFunctionidv
settings.gradle.kts:20
↓ 22 callersMethodisAlwaysTrue
(RexNode predicate)
core/src/main/java/org/apache/calcite/rel/metadata/RelMdPredicates.java:1118
↓ 22 callersMethodisArray
Returns whether a type is ARRAY.
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:1971
↓ 22 callersMethodisLt
Compares this to another cost. @param cost another cost @return true iff this is strictly less than other cost
core/src/main/java/org/apache/calcite/plan/RelOptCost.java:84
↓ 22 callersMethodmakeExactLiteral
Makes an exact, non-nullable literal of Bigint type.
core/src/main/java/org/apache/calcite/rel/rules/ReduceDecimalsRule.java:402
↓ 22 callersMethodmapper
Exposes Jackson API to be used to parse search results. @return existing instance of ObjectMapper
elasticsearch/src/test/java/org/apache/calcite/adapter/elasticsearch/EmbeddedElasticsearchPolicy.java:243
↓ 22 callersMethodper
If this time frame has units in common with another time frame, returns the number of this time frame in one of that time frame. <p>For example, {@co
core/src/main/java/org/apache/calcite/rel/type/TimeFrame.java:49
↓ 22 callersMethodprefer
(JavaRowFormat format)
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableRel.java:85
↓ 22 callersMethodrangeQuery
A Query that matches documents within an range of terms. @param name The field name
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/QueryBuilders.java:160
↓ 22 callersMethodregexpInstr
SQL {@code REGEXP_INSTR(value, regexp)} function. Returns 0 if there is no match or regex is empty. Returns an exception if regex is invalid. Uses pos
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:665
↓ 22 callersMethodtermQuery
A Query that matches documents containing a term. @param name The name of the field @param value The value of the term
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/QueryBuilders.java:51
↓ 22 callersMethodvalues
()
core/src/main/java/org/apache/calcite/util/CompositeMap.java:145
↓ 22 callersMethodvisitInput
(RelNode parent, int i, boolean anon, boolean ignoreClauses, Set<Clause> expectedClauses)
core/src/main/java/org/apache/calcite/rel/rel2sql/RelToSqlConverter.java:155
↓ 22 callersMethodwithInSubQueryThreshold
Sets {@link #getInSubQueryThreshold()}.
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:6691
↓ 22 callersMethodwithRelBuilderSimplify
(boolean simplify)
testkit/src/main/java/org/apache/calcite/test/RelOptFixture.java:248
↓ 22 callersMethodwithTopDownGeneralDecorrelate
(final boolean topDownGeneralDecorrelate)
testkit/src/main/java/org/apache/calcite/test/RelOptFixture.java:279
↓ 22 callersMethodwithType
Returns whether type should be returned.
core/src/main/java/org/apache/calcite/sql/SqlExplain.java:152
↓ 21 callersMethodaccept
Accepts a generic visitor. <p>Implementations of this method in subtypes simply call the appropriate <code>visit</code> method on the {@link org.apac
core/src/main/java/org/apache/calcite/sql/SqlNode.java:290
↓ 21 callersMethodadd
Adds an element to this lattice.
core/src/main/java/org/apache/calcite/util/PartiallyOrderedSet.java:229
↓ 21 callersMethodapply
Applies mapping to this distribution trait. <p>Mapping can change the distribution trait only if it depends on distribution keys. <p>For example if
core/src/main/java/org/apache/calcite/rel/RelDistribution.java:68
↓ 21 callersMethodarrayIndex
Creates an expression that represents applying an array index operator to an array of rank one.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:234
↓ 21 callersMethodassertThatDistinctRowCount
Checks {@link RelMetadataQuery#getDistinctRowCount(RelNode, ImmutableBitSet, RexNode)} with a null predicate.
testkit/src/main/java/org/apache/calcite/test/RelMetadataFixture.java:446
↓ 21 callersMethodcanonize
Registers a type, or returns the existing type if it is already registered. @throws NullPointerException if type is null
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactoryImpl.java:446
↓ 21 callersMethodcastQueryable
Convenience method, for {@link QueryableRecorder} methods that return a Queryable of a different element type than the source.
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableDefaults.java:1188
↓ 21 callersMethodcheck
(ResultSetMetaData metaData, String columnName, Class expectedType)
core/src/test/java/org/apache/calcite/test/ReflectiveSchemaTest.java:684
↓ 21 callersMethodcheck
Tests that a SQL query returns a single column with the given type. For example, <blockquote> <pre>check("VALUES (1 + 2)", "3", SqlTypeName.Integer);
testkit/src/main/java/org/apache/calcite/sql/test/SqlTester.java:154
↓ 21 callersMethodcopyOf
Returns an immutable set containing the given elements. <p>Behavior is as {@link ImmutableSet#copyOf(Iterable)} except that this set allows nulls.
core/src/main/java/org/apache/calcite/util/ImmutableNullableSet.java:91
↓ 21 callersMethodfrom
(int min)
core/src/main/java/org/apache/calcite/sql/type/SqlOperandCountRanges.java:35
↓ 21 callersMethodgetAverageColumnSizes
Returns the {@link BuiltInMetadata.Size#averageColumnSizes()} statistic. @param rel the relational expression @return a list containing, for eac
core/src/main/java/org/apache/calcite/rel/metadata/RelMetadataQuery.java:723
↓ 21 callersMethodgetComponentTypeOrThrow
(RelDataType type)
core/src/main/java/org/apache/calcite/sql/type/NonNullableAccessors.java:50
↓ 21 callersMethodgetExprList
Returns the common sub-expressions of this program. <p>The list is never null but may be empty; each the expression in the list is not null; and no f
core/src/main/java/org/apache/calcite/rex/RexProgram.java:148
↓ 21 callersMethodgetExpressionLineage
Determines the origin of a column.
core/src/main/java/org/apache/calcite/rel/metadata/RelMetadataQuery.java:441
↓ 21 callersMethodgetFrom
()
core/src/main/java/org/apache/calcite/sql/SqlSelect.java:183
↓ 21 callersMethodgetSource
Returns the source that a target maps to. @param target target @return source @throws NoElementException if target is not mapped
core/src/main/java/org/apache/calcite/util/mapping/Mappings.java:867
↓ 21 callersMethodgreaterThan
Creates a {@code >}.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:1132
↓ 21 callersMethodinduce
(ImmutableBitSet groupSet, List<ImmutableBitSet> groupSets)
core/src/main/java/org/apache/calcite/rel/core/Aggregate.java:495
↓ 21 callersMethodintersect
Produces the set intersection 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:409
↓ 21 callersMethodisAlmost
Creates a matcher that matches when the examined object is within {@link #EPSILON} of the specified <code>operand</code>.
testkit/src/main/java/org/apache/calcite/test/Matchers.java:164
↓ 21 callersMethodisApproximateNumeric
Returns whether a type is numeric with approximate precision.
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:717
↓ 21 callersMethodnewArrayInit
Creates a NewArrayExpression that represents creating a one-dimensional array and initializing it from a list of elements. <p>For example, "{@code ne
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:2078
↓ 21 callersMethodpermute
Creates a data set that is the same as a given data set but re-ordered.
core/src/main/java/org/apache/calcite/adapter/clone/ArrayTable.java:251
↓ 21 callersMethodpig
(String pig)
piglet/src/test/java/org/apache/calcite/test/PigletTest.java:26
↓ 21 callersMethodprograms
(List<Program> programs)
core/src/main/java/org/apache/calcite/tools/Frameworks.java:354
↓ 21 callersMethodprune
Prunes a node from the planner. <p>When a node is pruned, the related pending rule calls are cancelled, and future rules will not fire. This can be u
core/src/main/java/org/apache/calcite/plan/RelOptPlanner.java:311
↓ 21 callersMethodread
(String s)
core/src/main/java/org/apache/calcite/rel/externalize/RelJsonReader.java:91
↓ 21 callersMethodregisterNamespace
Registers a new namespace, and adds it as a child of its parent scope. Derived class can override this method to tinker with namespaces as they are cr
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java:2661
↓ 21 callersMethodright
Returns an iterable over the right slice of an iterable. @param iterable Iterable over pairs @param <L> right type @param <R> Right type @r
core/src/main/java/org/apache/calcite/util/Pair.java:354
↓ 21 callersMethodsetValidatedNodeType
Saves the type of a {@link SqlNode}, now that it has been validated. <p>This method is only for internal use. The validator should drive the type-der
core/src/main/java/org/apache/calcite/sql/validate/SqlValidator.java:505
↓ 21 callersMethodsplitFilter
Maps a condition onto a target. <p>If condition is stronger than target, returns the residue. If it is equal to target, returns the expression that e
core/src/main/java/org/apache/calcite/plan/SubstitutionVisitor.java:295
↓ 21 callersMethodtransform
Applies a mapping function to each element of this list.
core/src/main/java/org/apache/calcite/runtime/PairList.java:159
↓ 21 callersMethodvBoolNotNull
Creates {@code non-nullable boolean variable} with index of 0. If you need several distinct variables, use {@link #vBoolNotNull(int)}. The resulting n
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:604
↓ 21 callersMethodvalidateExpr
Performs any scope-specific validation of an expression. For example, an aggregating scope requires that expressions are valid aggregations. The expre
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorScope.java:203
↓ 21 callersMethodwithIdentifierExpansion
Sets whether to enable expansion of identifiers other than column references.
core/src/main/java/org/apache/calcite/sql/validate/SqlValidator.java:896
↓ 21 callersMethodwithLex
(Lex lex)
core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:352
↓ 21 callersMethodwithPruneInputOfAggregate
Sets {@link #pruneInputOfAggregate}.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:5288
↓ 21 callersMethodwithRelBuilderConfig
( UnaryOperator<RelBuilder.Config> transform)
testkit/src/main/java/org/apache/calcite/test/RelOptFixture.java:265
↓ 21 callersMethodwithSql
(String sql)
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11637
↓ 21 callersMethodwithValidatorIdentifierExpansion
( boolean expansion)
testkit/src/main/java/org/apache/calcite/test/SqlValidatorFixture.java:395
↓ 21 callersMethodwriteField
(JsonGenerator generator, String fieldName, Object o)
druid/src/main/java/org/apache/calcite/adapter/druid/DruidQuery.java:1515
↓ 20 callersMethodaddCommand
Handles adding a command to {@link #threadMap}. @return the newly-added command
core/src/test/java/org/apache/calcite/test/concurrent/ConcurrentTestCommandGenerator.java:340
↓ 20 callersMethodapply
Given an occurrence of this operator, identifies the range of tokens to be collapsed into a call of this operator, and the arguments to that call.
core/src/main/java/org/apache/calcite/util/PrecedenceClimbingParser.java:361
↓ 20 callersMethodapply
(StringAndPos sap, SqlValidator validator, SqlNode validatedNode)
testkit/src/main/java/org/apache/calcite/sql/test/SqlTester.java:350
↓ 20 callersMethodassertInterval
Checks if the interval value conversion to milliseconds is valid. For example, <blockquote> <code>sql("VALUES (INTERVAL '1' Minute)").intervalConv("6
testkit/src/main/java/org/apache/calcite/test/SqlValidatorFixture.java:348
↓ 20 callersMethodatMost
(V upper)
core/src/main/java/org/apache/calcite/util/RangeSets.java:300
↓ 20 callersMethodaverage
Computes the average of a 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/EnumerableDefaults.java:229
↓ 20 callersMethodbasePushAggThroughUnion
()
core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java:6046
↓ 20 callersMethodbrokenTestsEnabled
Returns whether to run tests that are considered 'broken'. Returns false by default, but it is useful to temporarily enable the 'broken' tests to see
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:206
↓ 20 callersMethodcheckAggFails
Tests that an aggregate expression fails at run time. @param factory Factory @param expr An aggregate expression @param inputValues
testkit/src/main/java/org/apache/calcite/sql/test/SqlTester.java:236
↓ 20 callersMethodcheckCastToScalarOkay
(String value, String targetType, String expected, CastType castType)
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:665
↓ 20 callersMethodconvertQuery
Converts an unvalidated query's parse tree into a relational expression. @param query Query to convert @param needsValidation Whether to va
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:622
↓ 20 callersMethodconvertTypeToSpec
Converts an instance of RelDataType to an instance of SqlDataTypeSpec. @param type type descriptor @param charSetName charSet name @param ma
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:1345
↓ 20 callersMethodcopy
(RelTraitSet traitSet, List<RelNode> inputs)
core/src/main/java/org/apache/calcite/rel/core/Join.java:334
↓ 20 callersMethodcount
()
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorScope.java:330
↓ 20 callersMethodcreateTypeWithCharsetAndCollation
Creates a type that is the same as another type but with possibly different charset or collation. For types without a concept of charset or collation
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactory.java:224
↓ 20 callersMethodexpression
Flags that this is an expression, not a whole query.
testkit/src/main/java/org/apache/calcite/sql/parser/SqlParserFixture.java:131
↓ 20 callersMethodgetBlockBuilder
()
core/src/main/java/org/apache/calcite/adapter/enumerable/RexToLixTranslator.java:1852
↓ 20 callersMethodgetCharset
Returns the Java-level {@link Charset} based on given SQL-level name. @param charsetName Sql charset name, must not be null. @return charset, or defa
core/src/main/java/org/apache/calcite/sql/SqlUtil.java:1046
↓ 20 callersMethodgetName
()
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Types.java:540
↓ 20 callersMethodgetNumFieldsInJoinFactor
Returns the number of fields in a given factor. @param factIdx Desired factor
core/src/main/java/org/apache/calcite/rel/rules/LoptMultiJoin.java:279
← previousnext →1,101–1,200 of 34,750, ranked by callers