MCPcopy Index your code

hub / github.com/apache/calcite / functions

Functions34,750 in github.com/apache/calcite

↓ 108 callersMethodfields
Returns references to the fields of the top input.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:664
↓ 107 callersMethodasList
Adapts a primitive array into a {@link List}. For example, {@code asList(new double[2])} returns a {@code List<Double>}.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Primitive.java:290
↓ 107 callersMethodcall
Creates a call to a scalar operator.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:748
↓ 107 callersMethodisAssignableFrom
(Type type0, Type type)
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Types.java:211
↓ 107 callersMethodrun
(RelOptPlanner planner, RelNode rel, RelTraitSet requiredOutputTraits, List<RelOptMaterialization>
core/src/main/java/org/apache/calcite/tools/Program.java:38
↓ 106 callersMethodcreate
Creates a Table. @param schema Schema this table belongs to @param name Name of this table @param operand The "operand" JSON property @param rowType
core/src/main/java/org/apache/calcite/schema/TableFactory.java:85
↓ 105 callersMethodbuild
Returns the final relational expression. <p>Throws if the stack is empty.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:396
↓ 105 callersMethodconvertExpression
Converts an expression from {@link SqlNode} to {@link RexNode} format. @param expr Expression to translate @return Converted expression
core/src/main/java/org/apache/calcite/sql2rel/SqlRexContext.java:42
↓ 105 callersMethodisEmpty
Returns true if given predicate list is empty. @param value input predicate list @return true if all the predicates are empty or if the argument is n
core/src/main/java/org/apache/calcite/plan/RelOptPredicateList.java:168
↓ 105 callersMethodlt
(RexNode n1, RexNode n2)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:295
↓ 104 callersMethodzip
Creates an iterable of {@code Ord}s over an iterable.
linq4j/src/main/java/org/apache/calcite/linq4j/Ord.java:69
↓ 103 callersMethoddefine
Maps an operator to an implementor.
core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java:608
↓ 103 callersMethodoptimize
(Expression expr)
linq4j/src/test/java/org/apache/calcite/linq4j/test/BlockBuilderBase.java:47
↓ 103 callersMethodvalues
(Class clazz)
core/src/test/java/org/apache/calcite/jdbc/CalciteRemoteDriverTest.java:748
↓ 102 callersMethodcheckSimplifyUnchanged
Simplifies an expression and checks that the result is unchanged.
core/src/test/java/org/apache/calcite/rex/RexProgramTestBase.java:94
↓ 102 callersMethodgetComponentType
Gets the component type if this type is a collection, otherwise null. @return canonical type descriptor for components
core/src/main/java/org/apache/calcite/rel/type/RelDataType.java:127
↓ 100 callersMethodaccept
(Visitor<R> visitor)
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Node.java:21
↓ 100 callersMethodcheckAgg
Checks that an aggregate expression returns the expected result. <p>For example, <code>checkAgg("AVG(DISTINCT x)", new String[] {"2", "3", null, "3"
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:459
↓ 100 callersMethodcheckSimplifyFilter
(RexNode node, String expected)
core/src/test/java/org/apache/calcite/rex/RexProgramTestBase.java:153
↓ 100 callersMethodmakeExactLiteral
Creates a numeric literal.
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:1439
↓ 100 callersMethodofList
Creates a rule set with a given array of rules.
core/src/main/java/org/apache/calcite/tools/RuleSets.java:37
↓ 99 callersMethodaddAll
Adds all time frames in {@code timeFrameSet} to this {@code Builder}.
core/src/main/java/org/apache/calcite/rel/type/TimeFrameSet.java:348
↓ 99 callersMethodrelFn
Creates a fixture.
core/src/test/java/org/apache/calcite/plan/RelWriterTest.java:455
↓ 98 callersMethodenable
Called when CalciteSchema caching is enabled or disabled.
core/src/main/java/org/apache/calcite/jdbc/CachingCalciteSchema.java:252
↓ 98 callersMethodgetOperandList
()
core/src/main/java/org/apache/calcite/sql/SqlHint.java:106
↓ 98 callersMethodname
()
core/src/main/java/org/apache/calcite/sql/SqlLiteral.java:1147
↓ 98 callersMethodwithConformance
Returns a fixture that tests conformance to a particular SQL language version.
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:163
↓ 98 callersMethodwithHook
Adds a hook and a handler for that hook. Calcite will create a thread hook (by calling {@link Hook#addThread(Consumer)}) just before running the query
testkit/src/main/java/org/apache/calcite/test/RelOptFixture.java:232
↓ 97 callersMethodbuilder
Creates an empty Builder.
core/src/main/java/org/apache/calcite/util/ImmutableBitSet.java:865
↓ 97 callersMethodcomposeConjunction
As {@link #composeConjunction(RexBuilder, Iterable, boolean)} but never returns null.
core/src/main/java/org/apache/calcite/rex/RexUtil.java:1305
↓ 96 callersMethoddeclare
Creates a statement that declares a variable.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:2994
↓ 96 callersMethodgt
(RexNode n1, RexNode n2)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:303
↓ 95 callersMethodisLinux
Creates a Matcher that matches when the examined string is equal to the specified {@code value} when all Windows-style line endings ("\r\n") have been
testkit/src/main/java/org/apache/calcite/test/Matchers.java:208
↓ 94 callersMethodfixture
()
core/src/test/java/org/apache/calcite/test/HepPlannerTest.java:106
↓ 94 callersMethodgetConnection
Get connection for thread. @return connection for thread
core/src/test/java/org/apache/calcite/test/concurrent/ConcurrentTestPluginCommand.java:43
↓ 94 callersMethodgetValueAs
Returns the value of this literal as an instance of the specified class. <p>The following SQL types allow more than one form: <ul> <li>CHAR as {@lin
core/src/main/java/org/apache/calcite/rex/RexLiteral.java:1075
↓ 94 callersMethodwithDecorrelate
(boolean decorrelate)
core/src/test/java/org/apache/calcite/test/SqlHintsConverterTest.java:840
↓ 94 callersMethodwithDialect
Sets {@link #dialect()}.
core/src/main/java/org/apache/calcite/sql/SqlWriterConfig.java:31
↓ 93 callersMethodcardinality
Returns an estimate of the number of distinct values in a column or list of columns.
core/src/main/java/org/apache/calcite/materialize/LatticeStatisticProvider.java:28
↓ 93 callersMethodgetCluster
Returns the cluster this relational expression belongs to. @return cluster
core/src/main/java/org/apache/calcite/plan/RelOptNode.java:92
↓ 93 callersMethodgetQualifiedName
Obtains an identifier for this table. The identifier must be unique with respect to the Connection producing this table. @return qualified name
core/src/main/java/org/apache/calcite/plan/RelOptTable.java:50
↓ 93 callersMethodgetSimple
()
core/src/main/java/org/apache/calcite/sql/SqlIdentifier.java:332
↓ 93 callersMethodsql
(String sql)
spark/src/test/java/org/apache/calcite/test/SparkAdapterTest.java:49
↓ 93 callersMethodtoString
Converts a relational expression to a string, showing just basic attributes.
core/src/main/java/org/apache/calcite/plan/RelOptUtil.java:2459
↓ 93 callersMethodwithTypeCoercion
(boolean typeCoercion)
testkit/src/main/java/org/apache/calcite/test/SqlValidatorFixture.java:174
↓ 92 callersMethodendsWith
Returns whether the current line ends with {@code suffix}.
core/src/main/java/org/apache/calcite/util/Puffin.java:170
↓ 92 callersMethodgetTime
Converts this literal to a {@link TimeString}.
core/src/main/java/org/apache/calcite/sql/SqlTimeLiteral.java:45
↓ 92 callersMethodreturns
Sets the rows that are expected to be returned from the SQL query.
example/csv/src/test/java/org/apache/calcite/test/CsvTest.java:1158
↓ 92 callersMethodvisit
(TableScan scan)
core/src/main/java/org/apache/calcite/rel/RelShuttle.java:42
↓ 90 callersMethodcompare
(SqlMoniker o1, SqlMoniker o2)
core/src/main/java/org/apache/calcite/sql/validate/SqlMoniker.java:35
↓ 89 callersMethodsql
Creates a fixture with a given query.
core/src/test/java/org/apache/calcite/test/MaterializedViewRelOptRulesTest.java:62
↓ 89 callersMethodwithConversion
(Class<R> clazz, Predicate<? super R> predicate, RelTrait in, RelTrait out, String description
core/src/main/java/org/apache/calcite/rel/convert/ConverterRule.java:211
↓ 88 callersMethodgetFunction
()
linq4j/src/main/java/org/apache/calcite/linq4j/tree/FunctionExpression.java:95
↓ 88 callersMethodgetOperandList
()
core/src/main/java/org/apache/calcite/sql/fun/SqlCase.java:105
↓ 88 callersMethodisNotNull
(RexNode node)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:178
↓ 88 callersMethodmatches
Returns whether the current line matches {@code regex}.
core/src/main/java/org/apache/calcite/util/Puffin.java:173
↓ 88 callersMethodvisit
(BinaryExpression binaryExpression)
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Visitor.java:25
↓ 87 callersMethodconvert_
Creates a UnaryExpression that represents a type conversion operation.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:620
↓ 87 callersMethodcreateStructType
Creates a record type based upon the public fields of a Java class. @param clazz Java class @return Record type that remembers its Java class
core/src/main/java/org/apache/calcite/adapter/java/JavaTypeFactory.java:35
↓ 87 callersMethodgetLeft
()
core/src/main/java/org/apache/calcite/rel/rules/LoptJoinTree.java:121
↓ 87 callersMethodgetScale
Gets the scale of this type. Returns {@link #SCALE_NOT_SPECIFIED} (-1) if scale is not valid for this type. @return number of digits of scale
core/src/main/java/org/apache/calcite/rel/type/RelDataType.java:204
↓ 87 callersMethodwithRuleFactory
Sets {@link #outTrait}.
core/src/main/java/org/apache/calcite/rel/convert/ConverterRule.java:209
↓ 86 callersMethodgetDialect
Returns the dialect of SQL. @return SQL dialect
core/src/main/java/org/apache/calcite/sql/SqlWriter.java:331
↓ 86 callersMethodgetTraitSet
Retrieves this RelNode's traits. Note that although the RelTraitSet returned is modifiable, it <b>must not</b> be modified during optimization. It is
core/src/main/java/org/apache/calcite/plan/RelOptNode.java:62
↓ 86 callersMethodpop
Removes an element from the stack. Asserts of the element is not the one last added; throws if the stack is empty.
core/src/main/java/org/apache/calcite/util/Stacks.java:56
↓ 85 callersMethodforEachLibrary
Applies this fixture to some code for each of the given libraries.
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:593
↓ 85 callersMethodgetConnection
Returns the connection.
core/src/main/java/org/apache/calcite/server/CalciteServerStatement.java:35
↓ 85 callersMethodgetKind
Returns the kind of node this is. @return Node kind, never null
core/src/main/java/org/apache/calcite/rex/RexNode.java:83
↓ 85 callersMethodvalue
Extracts the value from a literal. <p>Cases: <ul> <li>If the node is a character literal, a chain of string literals, or a CAST of a character litera
core/src/main/java/org/apache/calcite/sql/SqlLiteral.java:464
↓ 84 callersMethodassertThatUniqueKeysAre
(ImmutableBitSet... expectedUniqueKeys)
testkit/src/main/java/org/apache/calcite/test/RelMetadataFixture.java:357
↓ 84 callersMethodgetFullTypeString
Gets a string representation of this type with full detail such as character set and nullability. The string must serve as a "digest" for this type, m
core/src/main/java/org/apache/calcite/rel/type/RelDataType.java:240
↓ 84 callersMethodgetPulledUpPredicates
Returns the {@link BuiltInMetadata.Predicates#getPredicates()} statistic. @param rel the relational expression @return Predicates that can be pulled
core/src/main/java/org/apache/calcite/rel/metadata/RelMetadataQuery.java:915
↓ 84 callersMethodgetRight
()
core/src/main/java/org/apache/calcite/rel/rules/LoptJoinTree.java:129
↓ 83 callersMethodmax
Returns the maximum value in a generic {@code IQueryable<T>}.
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableFactory.java:501
↓ 83 callersMethodsql
(String sql)
innodb/src/test/java/org/apache/calcite/adapter/innodb/InnodbAdapterTest.java:1159
↓ 83 callersMethodsubList
(int fromIndex, int toIndex)
core/src/main/java/org/apache/calcite/runtime/PairList.java:164
↓ 82 callersMethodassign
Creates a BinaryExpression that represents an assignment operation.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:252
↓ 82 callersMethodcheckDateRange
(Fixture f, RexNode e, Matcher<String> matcher)
core/src/test/java/org/apache/calcite/rel/rules/DateRangeRulesTest.java:725
↓ 81 callersMethodapply
(RelOptFixture fixture)
testkit/src/main/java/org/apache/calcite/test/RelSupplier.java:36
↓ 81 callersMethodgetThis
()
linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableQueryable.java:64
↓ 81 callersMethodisEmpty
()
core/src/test/java/org/apache/calcite/test/concurrent/ConcurrentTestCommandScript.java:697
↓ 81 callersMethodlambda
Creates a FunctionExpression from an actual function.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:1126
↓ 81 callersMethodvIntNotNull
Creates {@code non-nullable int variable} with index of 0. If you need several distinct variables, use {@link #vIntNotNull(int)}. The resulting node w
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:648
↓ 80 callersMethodfirst
Returns the first value if it is not null, otherwise the second value. <p>The result may be null only if the second argument is not null. <p>Equival
core/src/main/java/org/apache/calcite/util/Util.java:2130
↓ 80 callersMethodnullable
()
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Types.java:547
↓ 79 callersMethoddialect
Returns the dialect.
core/src/main/java/org/apache/calcite/sql/SqlWriterConfig.java:28
↓ 79 callersMethodgetFamily
Gets a canonical object representing the family of this type. Two values can be compared if and only if their types are in the same family. @return c
core/src/main/java/org/apache/calcite/rel/type/RelDataType.java:248
↓ 79 callersMethodgetThis
()
linq4j/src/main/java/org/apache/calcite/linq4j/DefaultQueryable.java:67
↓ 79 callersMethodvalidate
Validates a SQL statement. @param sqlNode Root node of the SQL parse tree. @return Validated node @throws ValidationException if not valid
core/src/main/java/org/apache/calcite/tools/Planner.java:70
↓ 79 callersMethodwithExtendedCatalog
()
testkit/src/main/java/org/apache/calcite/test/SqlValidatorFixture.java:141
↓ 78 callersMethodpeek
Returns the most recently added element in the stack. Throws if the stack is empty.
core/src/main/java/org/apache/calcite/util/Stacks.java:33
↓ 78 callersMethodproject
Creates a {@link Project} of the given expressions.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:1967
↓ 78 callersMethodunparse
(SqlWriter writer, int leftPrec, int rightPrec)
core/src/main/java/org/apache/calcite/sql/dialect/ClickHouseSqlDialect.java:172
↓ 78 callersMethodwinSql
(String sql)
testkit/src/main/java/org/apache/calcite/test/SqlValidatorTestCase.java:71
↓ 77 callersMethodassertComplete
(List<String>... expectedResults)
core/src/test/java/org/apache/calcite/sql/test/SqlAdvisorTest.java:1597
↓ 77 callersMethoddebug
Logs a DEBUG message with two Object parameters.
core/src/main/java/org/apache/calcite/util/trace/CalciteLogger.java:139
↓ 77 callersMethodge
(RexNode n1, RexNode n2)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:299
↓ 77 callersMethodgetValidatedNodeType
Returns the type assigned to a node by validation. @param node the node of interest @return validated type, never null
core/src/main/java/org/apache/calcite/sql/validate/SqlValidator.java:189
↓ 77 callersMethodwithMysql
()
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:11702
↓ 76 callersMethodcheckType
(Supplier<String> sql, RelDataType type)
testkit/src/main/java/org/apache/calcite/sql/test/SqlTester.java:322
← previousnext →301–400 of 34,750, ranked by callers