MCPcopy Index your code

hub / github.com/apache/calcite / functions

Functions34,750 in github.com/apache/calcite

↓ 76 callersMethodhash
Creates a hash distribution.
core/src/main/java/org/apache/calcite/rel/RelDistributions.java:67
↓ 76 callersMethodregisterOp
Registers a convertlet for a given operator instance. @param op Operator instance, say {@link org.apache.calcite.sql.fun.SqlStdOperatorTable#
core/src/main/java/org/apache/calcite/sql2rel/ReflectiveConvertletTable.java:194
↓ 76 callersMethodvisitChild
Visits a particular operand of a call, using a given visitor.
core/src/main/java/org/apache/calcite/sql/util/SqlBasicVisitor.java:90
↓ 75 callersMethodgetFieldIndex
()
core/src/main/java/org/apache/calcite/rel/RelFieldCollation.java:298
↓ 75 callersMethodpeek
Returns the relational expression at the top of the stack, but does not remove it.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:402
↓ 75 callersMethodtoLinux
(String s)
core/src/main/java/org/apache/calcite/util/Util.java:883
↓ 74 callersMethodbuilder
()
core/src/main/java/org/apache/calcite/plan/hep/HepProgram.java:64
↓ 74 callersMethodlongValue
Returns the value of a literal, cast, or unary minus, as a long; never null.
core/src/main/java/org/apache/calcite/rex/RexLiteral.java:1304
↓ 74 callersMethodoperand
Returns i-th operand (0-based). <p>Note: the result might be null, so the proper signature would be {@code <S extends @Nullable SqlNode>}, however, i
core/src/main/java/org/apache/calcite/sql/SqlCall.java:103
↓ 74 callersMethodzip
Converts two lists into a list of {@link Pair}s, whose length is the lesser of the lengths of the source lists. @param ks Left list @param vs Right l
core/src/main/java/org/apache/calcite/util/Pair.java:169
↓ 73 callersMethoddetermines
Determines whether one column functionally determines another.
core/src/main/java/org/apache/calcite/rel/metadata/RelMetadataQuery.java:1003
↓ 73 callersMethodgetField
Looks up a field by name. <p>NOTE: Be careful choosing the value of {@code caseSensitive}: <ul> <li>If the field name was supplied by an end-user (e.
core/src/main/java/org/apache/calcite/rel/type/RelDataType.java:111
↓ 73 callersMethodisLosslessCast
Returns whether the input is a 'loss-less' cast, that is, a cast from which the original value of the field can be certainly recovered. <p>For instan
core/src/main/java/org/apache/calcite/rex/RexUtil.java:1710
↓ 73 callersMethodpath
()
core/src/main/java/org/apache/calcite/util/Source.java:35
↓ 73 callersMethodtInt
()
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:427
↓ 72 callersMethodassertReturns
(String s, int start, String expected)
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java:12122
↓ 72 callersMethodcopy
Creates a copy of this relational expression, perhaps changing traits and inputs. <p>Sub-classes with other important attributes are encouraged to cr
core/src/main/java/org/apache/calcite/rel/RelNode.java:374
↓ 72 callersMethodexecute
Executes this program.
core/src/main/java/org/apache/calcite/util/Puffin.java:122
↓ 72 callersMethodgetRowType
()
core/src/main/java/org/apache/calcite/plan/RelOptNode.java:66
↓ 72 callersMethodof
(RelFieldCollation... fieldCollations)
core/src/main/java/org/apache/calcite/rel/RelCollations.java:65
↓ 72 callersMethodsame
()
testkit/src/main/java/org/apache/calcite/sql/parser/SqlParserFixture.java:74
↓ 72 callersMethodsingleton
(V value)
core/src/main/java/org/apache/calcite/util/RangeSets.java:303
↓ 71 callersMethodcondition
Creates a ConditionalExpression that represents a conditional statement.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:507
↓ 71 callersMethodconjunctions
Returns a condition decomposed by AND. <p>For example, {@code conjunctions(TRUE)} returns the empty list; {@code conjunctions(FALSE)} returns list {@
core/src/main/java/org/apache/calcite/plan/RelOptUtil.java:2661
↓ 71 callersMethodgetCollation
()
core/src/main/java/org/apache/calcite/rel/RelInput.java:102
↓ 71 callersMethodgetRowCount
(RelNode r, RelMetadataQuery mq)
core/src/main/java/org/apache/calcite/rel/metadata/BuiltInMetadata.java:293
↓ 71 callersMethodgetTypeFactory
()
core/src/main/java/org/apache/calcite/rel/metadata/BuiltInMetadata.java:916
↓ 71 callersMethodtest
Evaluates a condition for a given expression. @param expr Expression @return result of evaluating the condition
core/src/main/java/org/apache/calcite/rel/rules/PushProjector.java:859
↓ 70 callersMethodassertEquals
(String tag, String expected, String actual)
testkit/src/main/java/org/apache/calcite/test/DiffRepository.java:504
↓ 70 callersMethodgetGroupCount
Returns the number of grouping fields. These grouping fields are the leading fields in both the input and output records. <p>NOTE: The {@link #getGro
core/src/main/java/org/apache/calcite/rel/core/Aggregate.java:297
↓ 70 callersMethodmakeNullLiteral
Creates a literal whose value is NULL, with a particular type. <p>The typing is necessary because RexNodes are strictly typed. For example, in the Re
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:1797
↓ 70 callersMethodpredicate
Sets the predicate of this operand.
core/src/main/java/org/apache/calcite/plan/RelRule.java:211
↓ 69 callersMethodmakeBinary
Creates a BinaryExpression, given the left and right operands, by calling an appropriate factory method.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:1421
↓ 69 callersMethodnewConfigBuilder
Creates a config builder with each setting initialized to its default value.
core/src/main/java/org/apache/calcite/tools/Frameworks.java:210
↓ 69 callersMethodtrim
Looks for a suffix on a path and returns either the path with the suffix removed or the original path.
core/src/main/java/org/apache/calcite/util/Source.java:43
↓ 69 callersMethodunion
Produces the set union of two sequences by using the default equality comparer.
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableFactory.java:815
↓ 68 callersMethodgetInt
(Object dataSet, int ordinal)
core/src/main/java/org/apache/calcite/adapter/clone/ArrayTable.java:247
↓ 68 callersMethodgetValue
Returns the value of this literal. <p>Try not to use this method! There are so many different kinds of values, it's better to let SqlLiteral do whate
core/src/main/java/org/apache/calcite/sql/SqlLiteral.java:275
↓ 68 callersMethodisA
Returns whether this node is a member of an aggregate category. <p>For example, {@code node.isA(SqlKind.QUERY)} returns {@code true} if the node is a
core/src/main/java/org/apache/calcite/sql/SqlNode.java:115
↓ 68 callersMethodle
(RexNode n1, RexNode n2)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:291
↓ 67 callersMethodadd
Creates a BinaryExpression that represents an arithmetic addition operation that does not have overflow checking.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:81
↓ 67 callersMethodasQueryable
Converts this Enumerable to a Queryable. @see EnumerableDefaults#asQueryable(Enumerable)
linq4j/src/main/java/org/apache/calcite/linq4j/Enumerable.java:39
↓ 67 callersMethodcheckingThatResultContains
( String... expectedStrings)
core/src/test/java/org/apache/calcite/test/MaterializedViewFixture.java:99
↓ 67 callersMethodconvert
Convert {@code operand} to target type {@code toType}. @param operand The expression to convert @param toType Target type @return A new expression w
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumUtils.java:425
↓ 67 callersMethodderiveType
Derives the type of a node in a given scope. If the type has already been inferred, returns the previous type. @param scope Syntactic scope @param
core/src/main/java/org/apache/calcite/sql/validate/SqlValidator.java:361
↓ 67 callersMethodgetCondition
()
core/src/main/java/org/apache/calcite/rel/core/Filter.java:138
↓ 67 callersMethodgetOperandCount
()
core/src/main/java/org/apache/calcite/sql/SqlCallBinding.java:358
↓ 67 callersMethodhash
Combines two integers into a hash code. @deprecated Use {@link Objects#hash(Object...)}
core/src/main/java/org/apache/calcite/util/Util.java:294
↓ 67 callersMethodtraitSet
Returns the default trait set for this cluster.
core/src/main/java/org/apache/calcite/plan/RelOptCluster.java:255
↓ 66 callersMethodaddRule
(RelOptRule rule)
core/src/main/java/org/apache/calcite/plan/volcano/VolcanoPlanner.java:415
↓ 66 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/SqlOperatorFixture.java:406
↓ 66 callersMethodgetKind
Returns the type of node this is, or {@link org.apache.calcite.sql.SqlKind#OTHER} if it's nothing special. @return a {@link SqlKind} value, never nul
core/src/main/java/org/apache/calcite/sql/SqlNode.java:99
↓ 66 callersMethodgetValue
Returns the value of this literal. <p>For backwards compatibility, returns DATE. TIME and TIMESTAMP as a {@link Calendar} value in UTC time zone.
core/src/main/java/org/apache/calcite/rex/RexLiteral.java:970
↓ 66 callersMethodisFalse
(String s)
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java:18184
↓ 66 callersMethodmin
Returns the minimum value in a generic {@code IQueryable<T>}.
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableFactory.java:515
↓ 66 callersMethodname
Name of this time frame. <p>A time frame based on a built-in Avatica {@link org.apache.calcite.avatica.util.TimeUnit} will have the same name. @see
core/src/main/java/org/apache/calcite/rel/type/TimeFrame.java:41
↓ 66 callersMethodwithSubQueryRules
()
testkit/src/main/java/org/apache/calcite/test/RelOptFixture.java:462
↓ 65 callersMethodcheckAssignable
(Class<?> target, Class<?> source, boolean b)
core/src/test/java/org/apache/calcite/util/UtilTest.java:2322
↓ 65 callersMethodfromCalendarFields
Creates a TimestampString from a Calendar.
core/src/main/java/org/apache/calcite/util/TimestampString.java:158
↓ 65 callersMethodnextSetBit
Returns the index of the first bit that is set to {@code true} that occurs on or after the specified starting index. If no such bit exists then {@code
core/src/main/java/org/apache/calcite/util/ImmutableBitSet.java:545
↓ 65 callersMethodof
( JavaTypeFactory typeFactory, RelDataType rowType, JavaRowFormat format)
core/src/main/java/org/apache/calcite/adapter/enumerable/PhysTypeImpl.java:81
↓ 65 callersMethodregisterEquivOp
Creates and registers a convertlet for an operator in which the SQL and Rex representations are structurally equivalent. @param op operator instance
core/src/main/java/org/apache/calcite/rex/RexSqlStandardConvertletTable.java:186
↓ 65 callersMethodwithFactory
Creates a copy of this fixture with a new test factory.
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:119
↓ 64 callersMethodassertModel
(String model)
mongodb/src/test/java/org/apache/calcite/adapter/mongodb/MongoAdapterTest.java:155
↓ 64 callersMethodenableTypeCoercion
Returns a fixture that tests with implicit type coercion on/off.
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:181
↓ 64 callersMethodsimple
(SqlOperator operator)
core/src/main/java/org/apache/calcite/sql/SqlJdbcFunctionCall.java:794
↓ 64 callersMethodtoString
Converts a {@link ResultSet} to a string.
testkit/src/main/java/org/apache/calcite/test/CalciteAssert.java:758
↓ 64 callersMethodwithPre
(HepProgram preProgram)
testkit/src/main/java/org/apache/calcite/test/RelOptFixture.java:189
↓ 63 callersMethodalias
Returns an expression wrapped in an alias. <p>This method is idempotent: If the expression is already wrapped in the correct alias, does nothing; if
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:1235
↓ 63 callersMethodcalciteAssert
()
elasticsearch/src/test/java/org/apache/calcite/adapter/elasticsearch/ElasticSearchAdapterTest.java:140
↓ 63 callersMethodcomparisonCommonType
( RelDataType type1, RelDataType type2, @Nullable RelDataType expected)
core/src/test/java/org/apache/calcite/test/TypeCoercionTest.java:1031
↓ 63 callersMethodgetCostFactory
Returns the factory that creates {@link org.apache.calcite.plan.RelOptCost}s.
core/src/main/java/org/apache/calcite/plan/RelOptPlanner.java:205
↓ 63 callersMethodgetRootSchema
Returns the root schema. <p>You can define objects (such as relations) in this schema, and also nested schemas. @return Root schema
core/src/main/java/org/apache/calcite/jdbc/CalciteConnection.java:52
↓ 63 callersMethodgroup
()
core/src/main/java/org/apache/calcite/plan/volcano/TopDownRuleDriver.java:298
↓ 63 callersMethodleastRestrictive
Returns the most general of a set of types using the default type mapping rule. @see #leastRestrictive(List, SqlTypeMappingRule) @param types input
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactory.java:241
↓ 63 callersMethodwithStarRocks
()
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11786
↓ 62 callersMethodbuild
Returns the constructed program, clearing the state of this program builder as a side-effect. @return immutable program
core/src/main/java/org/apache/calcite/plan/hep/HepProgramBuilder.java:234
↓ 62 callersMethoddefaultSchema
(@Nullable SchemaPlus defaultSchema)
core/src/main/java/org/apache/calcite/tools/Frameworks.java:336
↓ 62 callersMethodempty
Returns an empty lookup.
core/src/main/java/org/apache/calcite/schema/lookup/Lookup.java:86
↓ 62 callersMethodgetTimestamp
Converts this literal to a {@link TimestampString}.
core/src/main/java/org/apache/calcite/sql/SqlAbstractDateTimeLiteral.java:59
↓ 62 callersMethodgetType
()
linq4j/src/main/java/org/apache/calcite/linq4j/tree/PseudoField.java:30
↓ 62 callersMethodresult
Returns the result of visiting all children of a call to an operator, then the call itself. <p>Typically the result will be the result of the last ch
core/src/main/java/org/apache/calcite/sql/util/SqlBasicVisitor.java:87
↓ 62 callersMethodvalidator
()
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:388
↓ 62 callersMethodwithHive
()
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11680
↓ 62 callersMethodwithTrim
(final boolean trim)
testkit/src/main/java/org/apache/calcite/test/RelOptFixture.java:297
↓ 61 callersMethodcreateJavaType
Creates a type that corresponds to a Java class. @param clazz the Java class used to define the type @return canonical Java type descriptor
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactory.java:66
↓ 61 callersMethodexecute
Executes this command. The ConcurrentTestCommandExecutor provides access to a JDBC connection and previously prepared statements. @param exec the Con
core/src/test/java/org/apache/calcite/test/concurrent/ConcurrentTestCommand.java:40
↓ 61 callersMethodgetOperandList
Returns the list of operands. The set and order of operands is call-specific. <p>Note: the proper type would be {@code List<@Nullable SqlNode>}, howe
core/src/main/java/org/apache/calcite/sql/SqlCall.java:90
↓ 61 callersMethodgetTypeFactory
Returns the type factory.
core/src/main/java/org/apache/calcite/adapter/enumerable/PhysType.java:55
↓ 61 callersMethodordinal
()
core/src/main/java/org/apache/calcite/sql/SqlLiteral.java:1149
↓ 61 callersMethodsql
(String sql, Consumer<VolcanoPlanner> init)
core/src/test/java/org/apache/calcite/test/TopDownOptTest.java:86
↓ 61 callersMethodwithClickHouse
()
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11656
↓ 60 callersMethodfile
()
core/src/main/java/org/apache/calcite/util/Source.java:33
↓ 60 callersMethodisExactly
(double value)
testkit/src/main/java/org/apache/calcite/sql/test/ResultCheckers.java:54
↓ 60 callersMethodnameMatcher
Returns an implementation of {@link org.apache.calcite.sql.validate.SqlNameMatcher} that matches the case-sensitivity policy.
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorCatalogReader.java:98
↓ 60 callersMethodne
(RexNode n1, RexNode n2)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:287
↓ 60 callersMethodof
Creates a flat list with 0 elements.
core/src/main/java/org/apache/calcite/runtime/FlatLists.java:51
↓ 60 callersMethodschema
(CalciteAssert.SchemaSpec schemaSpec)
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11979
↓ 59 callersMethodcurrentBlock
Returns the current code block.
core/src/main/java/org/apache/calcite/adapter/enumerable/NestedBlockBuilder.java:48
↓ 59 callersMethodequal
Creates a BinaryExpression that represents an equality comparison.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:778
← previousnext →401–500 of 34,750, ranked by callers