MCPcopy Create free account

hub / github.com/apache/calcite / functions

Functions34,750 in github.com/apache/calcite

↓ 39 callersMethodaggregateCall
Returns an {@link AggregateCall} that is approximately equivalent to this {@code AggCall} and is good for certain things, such as deriving field names
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:4410
↓ 39 callersMethodalias
Assigns an alias to this group key. <p>Used to assign field names in the {@code group} operation.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:4427
↓ 39 callersMethoddefineAgg
Maps an aggregate function to an implementor.
core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java:612
↓ 39 callersMethodfixture
()
core/src/test/java/org/apache/calcite/sql/test/SqlAdvisorTest.java:413
↓ 39 callersMethodget
(int n)
core/src/main/java/org/apache/calcite/sql/SqlNodeList.java:159
↓ 39 callersMethodgetFunctionType
Return function category.
core/src/main/java/org/apache/calcite/sql/SqlFunction.java:185
↓ 39 callersMethodgetNames
Returns the names of the entities in matching pattern. The search is always case sensitive. This is caused by the fact that {@code DatabaseMetaData.ge
core/src/main/java/org/apache/calcite/schema/lookup/Lookup.java:58
↓ 39 callersMethodgetProgram
()
core/src/main/java/org/apache/calcite/rel/core/Calc.java:162
↓ 39 callersMethodgetRightPrec
()
core/src/main/java/org/apache/calcite/sql/SqlOperator.java:263
↓ 39 callersMethodinferReturnType
Infers the return type of a call to an {@link SqlOperator}. @param opBinding description of operator binding @return inferred type; may be null
core/src/main/java/org/apache/calcite/sql/type/SqlReturnTypeInference.java:47
↓ 39 callersMethodinvoke
Invokes method on an object with a given set of arguments. @param args Arguments to method @return Return value of method
core/src/main/java/org/apache/calcite/util/ReflectUtil.java:672
↓ 39 callersMethodnoInputs
Indicates that this operand takes no inputs.
core/src/main/java/org/apache/calcite/plan/RelRule.java:226
↓ 39 callersMethodrevise
Revise the handler for a given kind of metadata. <p>Should be invoked if the existing handler throws a {@link NoHandler} exception. @param handlerCl
core/src/main/java/org/apache/calcite/rel/metadata/MetadataHandlerProvider.java:48
↓ 39 callersMethodwithProgram
(Puffin.Program<G2> program)
core/src/test/java/org/apache/calcite/test/PuffinTest.java:158
↓ 38 callersMethodaccept
Performs this operation on the given arguments. @param ordinal Ordinal @param k the first input argument @param v the second input argument
core/src/main/java/org/apache/calcite/util/Pair.java:592
↓ 38 callersMethodalias
Derives an alias for a node, and invents a mangled identifier if it cannot. <p>Examples: <ul> <li>Alias: "1 + 2 as foo" yields "foo" <li>Identifier:
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorUtil.java:334
↓ 38 callersMethodany
()
core/src/main/java/org/apache/calcite/schema/lookup/LikePattern.java:51
↓ 38 callersMethodcastSingle
Convenience method, for {@link QueryableRecorder} methods that return a scalar value such as {@code boolean} or {@link BigDecimal}.
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableDefaults.java:1179
↓ 38 callersMethodcreateMapType
Creates a map type. Maps are unordered collections of key/value pairs. @param keyType type of the keys of the map @param valueType type of the valu
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactory.java:134
↓ 38 callersMethodderiveType
Derives type of the call via its binding. @param binding binding to derive the type from @return datatype of the call
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:274
↓ 38 callersMethodfind
Returns a visitor that finds nodes of a given {@link SqlKind}.
core/src/main/java/org/apache/calcite/rex/RexUtil.java:567
↓ 38 callersMethodgetJoinType
()
core/src/main/java/org/apache/calcite/rel/rules/HyperEdge.java:116
↓ 38 callersMethodgetMaxPrecision
Returns the maximum precision (or length) allowed for this type, or {@link RelDataType#PRECISION_NOT_SPECIFIED} if precision/length are not applicable
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeSystem.java:83
↓ 38 callersMethodisAlwaysTrue
()
core/src/main/java/org/apache/calcite/rex/RexCall.java:219
↓ 38 callersMethodisDecimal
Returns whether a type is DECIMAL.
core/src/main/java/org/apache/calcite/sql/type/SqlTypeUtil.java:578
↓ 38 callersMethodliteral
(int i)
testkit/src/main/java/org/apache/calcite/test/RexImplicationCheckerFixtures.java:151
↓ 38 callersMethodnewBuilder
Create a RowBuilder object that eases creation of a new row. @param size Number of columns in output data. @return New RowBuilder object.
core/src/main/java/org/apache/calcite/interpreter/Row.java:105
↓ 38 callersMethodputAll
(Map<? extends K, ? extends V> m)
core/src/main/java/org/apache/calcite/util/CompositeMap.java:113
↓ 38 callersMethodrange
(int start, int end, boolean exclude)
core/src/main/java/org/apache/calcite/util/IntegerIntervalSet.java:150
↓ 38 callersMethodreturnsUnordered
Sets the rows that are expected to be returned from the SQL query, in no particular order.
example/csv/src/test/java/org/apache/calcite/test/CsvTest.java:1164
↓ 38 callersMethodsql
(String sql)
core/src/test/java/org/apache/calcite/test/TypeCoercionTest.java:64
↓ 38 callersMethodvalues
Helper method to determine a {@link org.apache.calcite.rel.core.Values}'s collation. <p>We actually under-report the collations. A Values with 0 or 1
core/src/main/java/org/apache/calcite/rel/metadata/RelMdCollation.java:414
↓ 37 callersMethodaddSchema
Adds a schema specification (or specifications) to the root schema, returning the last one created.
testkit/src/main/java/org/apache/calcite/test/CalciteAssert.java:826
↓ 37 callersMethodcoalesce
(RexNode... nodes)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:327
↓ 37 callersMethodcontains
(@Nullable Object o)
core/src/main/java/org/apache/calcite/util/ImmutableBitSet.java:708
↓ 37 callersMethoddecorrelateQuery
(RelNode rootRel)
core/src/main/java/org/apache/calcite/sql2rel/RelDecorrelator.java:204
↓ 37 callersMethoddialect
(SqlDialect dialect)
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11642
↓ 37 callersMethoddoWithConnection
( Function<CalciteConnection, T> fn)
testkit/src/main/java/org/apache/calcite/test/CalciteAssert.java:198
↓ 37 callersMethodevaluate
Evaluates this member to yield a result. The result is a {@link org.apache.calcite.linq4j.Queryable}. @param schemaInstance Object that is an instanc
core/src/main/java/org/apache/calcite/schema/Member.java:80
↓ 37 callersMethodfield
Finds a field with a given name, using the current case-sensitivity, returning null if not found. @param rowType Row type @param fieldName Field n
core/src/main/java/org/apache/calcite/sql/validate/SqlNameMatcher.java:65
↓ 37 callersMethodgetCondition
()
core/src/main/java/org/apache/calcite/rel/rules/HyperEdge.java:120
↓ 37 callersMethodgetExpressionLineage
(RelNode r, RelMetadataQuery mq, RexNode expression)
core/src/main/java/org/apache/calcite/rel/metadata/BuiltInMetadata.java:563
↓ 37 callersMethodgetNameForJdbcType
Gets the SqlTypeName corresponding to a JDBC type. @param jdbcType the JDBC type of interest @return corresponding SqlTypeName, or null if the type i
core/src/main/java/org/apache/calcite/sql/type/SqlTypeName.java:458
↓ 37 callersMethodgetOperands
Returns a flattened list of operands of this rule. @return flattened list of operands
core/src/main/java/org/apache/calcite/plan/RelOptRule.java:460
↓ 37 callersMethodgetSql
Returns the SQL query as a string, concatenating a list of lines if necessary.
core/src/main/java/org/apache/calcite/model/JsonView.java:115
↓ 37 callersMethodgetValue
()
core/src/main/java/org/apache/calcite/util/NlsString.java:209
↓ 37 callersMethodgetValue
()
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFieldImpl.java:92
↓ 37 callersMethodisInfinite
Returns whether this cost represents an expression that hasn't actually been implemented (e.g. a pure relational algebra expression) or can't actually
core/src/main/java/org/apache/calcite/plan/RelOptCost.java:47
↓ 37 callersMethodresolve
Looks up a node with a given name. Adds the match(es) to the resolved if found. @param names Name of node to find, maybe partially or fully qua
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorScope.java:74
↓ 37 callersMethodtoArray
(ConsList<@PolyNull E> this)
core/src/main/java/org/apache/calcite/runtime/ConsList.java:118
↓ 37 callersMethodwithDoris
()
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11790
↓ 37 callersMethodwithMetadataConfig
(MetadataConfig metadataConfig)
testkit/src/main/java/org/apache/calcite/test/RelMetadataFixture.java:163
↓ 36 callersMethodaddQuery
(String q)
core/src/test/java/org/apache/calcite/materialize/LatticeSuggesterTest.java:972
↓ 36 callersMethodassertSingle
(String query)
elasticsearch/src/test/java/org/apache/calcite/adapter/elasticsearch/BooleanLogicTest.java:168
↓ 36 callersMethodcalciteAssert
()
geode/src/test/java/org/apache/calcite/adapter/geode/rel/GeodeBookstoreTest.java:66
↓ 36 callersMethodcheckAggType
Very similar to {@link #checkType}, but generates inside a SELECT with a non-empty GROUP BY. Aggregate functions may be nullable if executed in a SELE
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:373
↓ 36 callersMethodconvert
@deprecated Use {@link #rel}.
core/src/main/java/org/apache/calcite/tools/Planner.java:103
↓ 36 callersMethodcount
Returns the number of elements in a sequence.
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableFactory.java:196
↓ 36 callersMethodexplain
Describes the inputs and attributes of this relational expression. Each node should call {@code super.explain}, then call the {@link org.apache.calcit
core/src/main/java/org/apache/calcite/rel/RelNode.java:228
↓ 36 callersMethodget
Returns the time frame with the given name, or throws {@link IllegalArgumentException} if not found. If {@code name} is an alias, resolves to the unde
core/src/main/java/org/apache/calcite/rel/type/TimeFrameSet.java:82
↓ 36 callersMethodgetNamespaceOrThrow
Namespace for the given node. @param node node to compute the namespace for @return namespace for the given node, never null @see #getNamespace(SqlNo
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java:1698
↓ 36 callersMethodgetResource
()
redis/src/main/java/org/apache/calcite/adapter/redis/RedisJedisManager.java:71
↓ 36 callersMethodgetRule
Returns the invoked planner rule. @return planner rule
core/src/main/java/org/apache/calcite/plan/RelOptRuleCall.java:116
↓ 36 callersMethodgetSimpleName
Returns a simple name for this RelTraitDef (for use in {@link org.apache.calcite.rel.RelNode#explain}).
core/src/main/java/org/apache/calcite/plan/RelTraitDef.java:86
↓ 36 callersMethodgetTypeFactory
Returns the type factory.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:319
↓ 36 callersMethodgetTypeNames
Returns the names of the types in this schema. @return Names of the tables in this schema
core/src/main/java/org/apache/calcite/schema/Schema.java:121
↓ 36 callersMethodgetValue
()
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/PredicateAnalyzer.java:488
↓ 36 callersMethodleftList
Returns an unmodifiable list view consisting of the left entry of each pair.
core/src/main/java/org/apache/calcite/runtime/PairList.java:134
↓ 36 callersMethodrewritesTo
(String expected)
testkit/src/main/java/org/apache/calcite/test/SqlValidatorFixture.java:410
↓ 36 callersMethodstripped
Returns this node without any wrapper added by the planner.
core/src/main/java/org/apache/calcite/rel/RelNode.java:429
↓ 36 callersMethodsubSchemas
Returns a lookup object to find sub schemas.
core/src/main/java/org/apache/calcite/schema/SchemaPlus.java:53
↓ 36 callersMethodwithExtendedTester
()
testkit/src/main/java/org/apache/calcite/test/SqlToRelFixture.java:158
↓ 36 callersMethodwithIdentifierQuoteString
(@Nullable String identifierQuoteString)
core/src/main/java/org/apache/calcite/sql/SqlDialect.java:1548
↓ 36 callersMethodwithSql
(String sql)
core/src/test/java/org/apache/calcite/test/InterpreterTest.java:127
↓ 35 callersMethodatom
(Object o)
core/src/main/java/org/apache/calcite/util/PrecedenceClimbingParser.java:58
↓ 35 callersMethodcopyOf
Same as {@link #of(int...)}, but less ambiguous for code generators and compilers.
core/src/main/java/org/apache/calcite/util/ImmutableIntList.java:81
↓ 35 callersMethodcreateMultisetType
Creates a multiset type. Multisets are unordered collections of elements. @param elementType type of the elements of the multiset @param maxCardin
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactory.java:164
↓ 35 callersMethoddistinct
Returns a copy of this AggCall that is optionally distinct.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:4388
↓ 35 callersMethodgetMetadataProvider
()
core/src/main/java/org/apache/calcite/plan/RelOptCluster.java:140
↓ 35 callersMethodgetTableReferences
(RelNode r, RelMetadataQuery mq)
core/src/main/java/org/apache/calcite/rel/metadata/BuiltInMetadata.java:599
↓ 35 callersMethodgetValue2
Returns the value of this literal, in the form that the calculator program builder wants it.
core/src/main/java/org/apache/calcite/rex/RexLiteral.java:990
↓ 35 callersMethodinvocationDesc
(BuiltInMethod method, Object... args)
core/src/test/java/org/apache/calcite/test/SqlJsonFunctionsTest.java:963
↓ 35 callersMethodmakeFlag
Creates a literal representing a flag. @param flag Flag value
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:1321
↓ 35 callersMethodmethodDecl
Declares a method.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:1707
↓ 35 callersMethodof
Returns a context that wraps an object. <p>A call to {@code unwrap(C)} will return {@code target} if it is an instance of {@code C}.
core/src/main/java/org/apache/calcite/plan/Contexts.java:58
↓ 35 callersMethodof
Creates an immutable list of 1 element.
core/src/main/java/org/apache/calcite/util/ImmutableNullableList.java:125
↓ 35 callersMethodplanContains
(String expected)
testkit/src/main/java/org/apache/calcite/test/CalciteAssert.java:1764
↓ 35 callersMethodresult
(RelNode rel, final Mapping mapping, RelNode oldRel)
core/src/main/java/org/apache/calcite/sql2rel/RelFieldTrimmer.java:364
↓ 35 callersMethodreturns
Sets the rows that are expected to be returned from the SQL query.
file/src/test/java/org/apache/calcite/adapter/file/FileAdapterTests.java:223
↓ 35 callersMethodvisit
Visits a literal. @param literal Literal @see SqlLiteral#accept(SqlVisitor)
core/src/main/java/org/apache/calcite/sql/util/SqlVisitor.java:54
↓ 34 callersMethodaddRuleClass
Adds an instruction to attempt to match any rules of a given class. The order in which the rules within a class will be attempted is arbitrary, so if
core/src/main/java/org/apache/calcite/plan/hep/HepProgramBuilder.java:73
↓ 34 callersMethodapply
Applies a mapping to a collation list. @param mapping Mapping @param collationList Collation list @return collation list with mapping applied t
core/src/main/java/org/apache/calcite/rex/RexUtil.java:1461
↓ 34 callersMethodassertBindType
(Matcher<String> matcher)
testkit/src/main/java/org/apache/calcite/test/SqlValidatorFixture.java:300
↓ 34 callersMethodconfig
()
core/src/main/java/org/apache/calcite/jdbc/CalcitePrepare.java:122
↓ 34 callersMethodcreateExactNumeric
( String s, SqlParserPos pos)
core/src/main/java/org/apache/calcite/sql/SqlLiteral.java:971
↓ 34 callersMethoddefineReflective
Maps an operator to an implementor that calls one of a given list of methods.
core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java:636
↓ 34 callersMethodforEach
Applies an action to every element of a pair of iterables. <p>Calls to the action stop whenever the first of the input iterators ends. But typically
core/src/main/java/org/apache/calcite/util/Pair.java:275
↓ 34 callersMethodgetNode
Returns the root node of this scope. Never null.
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorScope.java:64
↓ 34 callersMethodgetRexBuilder
()
core/src/main/java/org/apache/calcite/plan/RelOptCluster.java:136
↓ 34 callersMethodhasNext
()
core/src/test/java/org/apache/calcite/test/concurrent/ConcurrentTestTimedCommandGenerator.java:112
← previousnext →701–800 of 34,750, ranked by callers