MCPcopy Index your code

hub / github.com/apache/calcite / functions

Functions34,750 in github.com/apache/calcite

↓ 314 callersMethodexpr
(String s)
testkit/src/main/java/org/apache/calcite/test/IntervalTest.java:1937
↓ 314 callersMethodforEach
Calls a BiConsumer with each pair in this list.
core/src/main/java/org/apache/calcite/runtime/PairList.java:141
↓ 312 callersMethodeq
(RexNode n1, RexNode n2)
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:283
↓ 311 callersMethodmap
(BiFunction<T, String, S> mapper)
core/src/main/java/org/apache/calcite/schema/lookup/Lookup.java:60
↓ 309 callersMethodmakeLiteral
Internal method to create a call to a literal. Code outside this package should call one of the type-specific methods such as {@link #makeDateLiteral(
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:1338
↓ 307 callersMethodgetParserPosition
()
core/src/main/java/org/apache/calcite/sql/SqlNode.java:230
↓ 298 callersMethodcreateTypeWithNullability
Creates a type that is the same as another type but with possibly different nullability. The output type may be identical to the input type. For type
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactory.java:192
↓ 298 callersMethodparameter
Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:2250
↓ 297 callersMethodtoList
Creates a {@code List<TSource>} from an {@code Enumerable<TSource>}.
linq4j/src/main/java/org/apache/calcite/linq4j/ExtendedEnumerable.java:1215
↓ 293 callersMethodcast
(Queryable<T> source, Class<T2> clazz)
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableFactory.java:532
↓ 292 callersMethodcastNonNull
Allows you to treat a nullable type as non-nullable with no assertions. <p>It is useful in the case you have a nullable lately-initialized field like
linq4j/src/main/java/org/apache/calcite/linq4j/Nullness.java:71
↓ 289 callersMethodreturnsOrdered
(String... lines)
testkit/src/main/java/org/apache/calcite/test/CalciteAssert.java:1576
↓ 288 callersMethodand
Composes this with another checker using AND.
core/src/main/java/org/apache/calcite/sql/type/SqlOperandTypeChecker.java:96
↓ 288 callersMethodgetRowType
Returns this table's row type. <p>This is a struct type whose fields describe the names and types of the columns in this table. <p>The implementer m
core/src/main/java/org/apache/calcite/schema/Table.java:60
↓ 287 callersMethodscan
Creates a {@link TableScan} of the table with a given name. <p>Throws if the table does not exist. <p>Returns this builder. @param tableNames Name
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:1787
↓ 286 callersMethodput
(String key, Integer value)
core/src/test/java/org/apache/calcite/util/UtilTest.java:2220
↓ 279 callersMethodof
Creates a Pair of appropriate type. <p>This is a shorthand that allows you to omit implicit types. For example, you can write: <blockquote>return Pai
core/src/main/java/org/apache/calcite/util/Pair.java:85
↓ 275 callersMethodcreateCall
Creates and return a {@link SqlCall}. If the MakeCall strategy object was created with a reordering specified the call will be created with the operan
core/src/main/java/org/apache/calcite/sql/SqlJdbcFunctionCall.java:574
↓ 269 callersMethodsetFor
Declares that this test is for a given operator. So we can check that all operators are tested. @param operator Operator @param unimpleme
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:444
↓ 268 callersMethodbitSetOf
(int... bits)
core/src/test/java/org/apache/calcite/test/RelMetadataTest.java:2793
↓ 267 callersMethodmakeInputRef
Creates a reference to a given field of the input record. @param type Type of field @param i Ordinal of field @return Reference to field
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:1271
↓ 266 callersMethodcreate
Creates a RelBuilder.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:254
↓ 265 callersMethodbuilder
Creates a {@link org.apache.calcite.rel.type.RelDataTypeFactory.FieldInfoBuilder}. But since {@code FieldInfoBuilder} is deprecated, we recommend that
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactory.java:388
↓ 262 callersMethodcreate
Creates a {@code SqlBasicFunction}. @param name function name @param kind function kind @param returnTypeInference Strategy to use for return type in
core/src/main/java/org/apache/calcite/sql/SqlBasicFunction.java:101
↓ 261 callersMethodprintln
( PrintWriter pw, Object o)
core/src/main/java/org/apache/calcite/util/Util.java:531
↓ 258 callersMethodgetMessage
Returns the error message.
core/src/main/java/org/apache/calcite/sql/advise/SqlAdvisor.java:706
↓ 257 callersMethodformat
Formats a date to its appropriate string representation for the element.
core/src/main/java/org/apache/calcite/util/format/FormatElement.java:32
↓ 255 callersMethodcheckType
Tests that a SQL expression has a given type. For example, <blockquote> <code>checkType("SUBSTR('hello' FROM 1 FOR 3)", "VARCHAR(3) NOT NULL");</code
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:362
↓ 255 callersMethodget
Returns the value of column {@code column} from a JDBC result set. <p>For example, {@code INTEGER.get(i, resultSet)} calls {@link ResultSet#getInt(in
core/src/main/java/org/apache/calcite/util/JdbcType.java:52
↓ 255 callersMethodgetMetadataQuery
Returns the current RelMetadataQuery. <p>This method might be changed or moved in future. If you have a {@link RelOptRuleCall} available, for example
core/src/main/java/org/apache/calcite/plan/RelOptCluster.java:197
↓ 254 callersMethodclear
Reset state, possibly cache of hash code.
core/src/main/java/org/apache/calcite/plan/RelDigest.java:36
↓ 254 callersMethodgetKey
Gets the key of this Grouping.
linq4j/src/main/java/org/apache/calcite/linq4j/Grouping.java:32
↓ 252 callersMethodadd
Collect a correlation variable.
core/src/main/java/org/apache/calcite/adapter/jdbc/JdbcCorrelationDataContextBuilder.java:31
↓ 252 callersMethodwithLibrary
(SqlLibrary library)
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:570
↓ 251 callersMethodaddRuleInstance
Adds an instruction to attempt to match a specific rule object. <p>Note that when this method is used, it is NOT necessary to add the rule to the pla
core/src/main/java/org/apache/calcite/plan/hep/HepProgramBuilder.java:107
↓ 249 callersMethodappend
(T t)
linq4j/src/main/java/org/apache/calcite/linq4j/tree/Expressions.java:3282
↓ 249 callersMethodwholeExpr
(String s)
testkit/src/main/java/org/apache/calcite/test/IntervalTest.java:1938
↓ 248 callersMethodkeyword
Prints a sequence of keywords. Must not start or end with space, but may contain a space. For example, <code>keyword("SELECT")</code>, <code> keyword(
core/src/main/java/org/apache/calcite/sql/SqlWriter.java:353
↓ 247 callersMethodjoin
Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.
linq4j/src/main/java/org/apache/calcite/linq4j/QueryableFactory.java:440
↓ 246 callersMethodprint
Prints a string, preceded by whitespace if necessary.
core/src/main/java/org/apache/calcite/sql/SqlWriter.java:359
↓ 245 callersMethodaddColumn
(String name, RelDataType type)
testkit/src/main/java/org/apache/calcite/test/catalog/MockCatalogReader.java:644
↓ 245 callersMethodwithConformance
(SqlConformance conformance)
core/src/main/java/org/apache/calcite/sql/SqlDialect.java:1559
↓ 244 callersMethodgetName
Returns the name of this frame type. @return name
core/src/main/java/org/apache/calcite/sql/SqlWriter.java:589
↓ 243 callersMethodaddRule
Registers a rule. <p>If the rule has already been registered, does nothing. This method determines if the given rule is a {@link org.apache.calcite.r
core/src/main/java/org/apache/calcite/plan/RelOptPlanner.java:103
↓ 242 callersMethodcheckCanRollUp
(TimeUnit fromUnit, TimeUnit toUnit, boolean can)
core/src/test/java/org/apache/calcite/test/TimeFrameTest.java:606
↓ 239 callersMethodclose
Releases all internal resources utilized while this {@code Planner} exists. Once called, this Planner object is no longer valid.
core/src/main/java/org/apache/calcite/tools/Planner.java:138
↓ 236 callersMethodgetKind
()
core/src/main/java/org/apache/calcite/sql/SqlCall.java:74
↓ 235 callersMethodcontainsKey
Returns whether this map contains a given key, with a given case-sensitivity.
core/src/main/java/org/apache/calcite/util/NameMap.java:92
↓ 235 callersMethodgetRexBuilder
Returns the {@link RexBuilder} to use to create {@link RexNode} objects.
core/src/main/java/org/apache/calcite/sql2rel/SqlRexContext.java:65
↓ 228 callersMethodtransformTo
(RelNode rel, Map<RelNode, RelNode> equiv, RelHintsPropagator handler)
core/src/main/java/org/apache/calcite/plan/hep/HepRuleCall.java:55
↓ 226 callersMethodindexOf
Returns the index of the first element of a collection that matches.
core/src/main/java/org/apache/calcite/sql/validate/SqlNameMatcher.java:86
↓ 224 callersMethodgetFieldNames
Returns the names of the fields in a struct type. The field count is equal to the size of the returned list. @return read-only list of field names
core/src/main/java/org/apache/calcite/rel/type/RelDataType.java:76
↓ 223 callersMethodliteral
Creates a literal (constant expression).
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:483
↓ 222 callersMethodcreateDateTime
(int year, int month, int dayOfMonth, int hour, int minute, int seconds, int nanoseconds)
core/src/test/java/org/apache/calcite/util/format/postgresql/PostgresqlDateTimeFormatterTest.java:1767
↓ 221 callersMethodtype
(RelDataTypeFactory typeFactory)
core/src/test/java/org/apache/calcite/test/RelBuilderTest.java:5989
↓ 219 callersMethodexecuteQuery
Executes a queryable, and returns an enumerator over the rows that it yields. @param queryable Queryable @return Enumerator over rows
linq4j/src/main/java/org/apache/calcite/linq4j/QueryProvider.java:89
↓ 219 callersMethodsql
Creates a query against a data set given by a map.
druid/src/test/java/org/apache/calcite/test/DruidAdapterIT.java:132
↓ 217 callersMethodcollect
(RexNode node, RexNode seek, Logic logic, List<Logic> logicList)
core/src/main/java/org/apache/calcite/rex/LogicVisitor.java:77
↓ 216 callersMethodcheckScalarExact
Tests that a scalar SQL expression returns the expected exact numeric result as an integer. For example, <blockquote> <pre>checkScalarExact("1 + 2",
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:247
↓ 215 callersMethodgetInputs
Returns an array of this relational expression's inputs. If there are no inputs, returns an empty list, not {@code null}. @return Array of this relat
core/src/main/java/org/apache/calcite/rel/RelNode.java:134
↓ 214 callersMethodgetKind
()
core/src/main/java/org/apache/calcite/rex/RexCall.java:265
↓ 213 callersMethodcall
Returns the aggregate call.
core/src/main/java/org/apache/calcite/adapter/enumerable/AggResultContext.java:44
↓ 213 callersMethodgetType
Returns a type with a given name, or null if not found. @param name Table name @return Table, or null
core/src/main/java/org/apache/calcite/schema/Schema.java:114
↓ 213 callersMethodtodo
()
linq4j/src/main/java/org/apache/calcite/linq4j/Extensions.java:161
↓ 211 callersMethodwithOperandSupplier
Sets {@link #operandSupplier()}.
core/src/main/java/org/apache/calcite/plan/RelRule.java:174
↓ 207 callersMethodmoveNext
Advances the enumerator to the next element of the collection. <p>After an enumerator is created or after the {@code reset} method is called, an enum
linq4j/src/main/java/org/apache/calcite/linq4j/Enumerator.java:96
↓ 207 callersMethodremove
(int index)
core/src/main/java/org/apache/calcite/runtime/PairList.java:122
↓ 206 callersMethodcheckFails
Tests that a scalar SQL expression fails at run time. @param factory Factory @param expression SQL scalar expression @param expectedError Pa
testkit/src/main/java/org/apache/calcite/sql/test/SqlTester.java:252
↓ 206 callersMethoditerator
Returns an iterator over the elements in this mapping. <p>This method is optional; implementations may throw {@link UnsupportedOperationException}.
core/src/main/java/org/apache/calcite/util/mapping/Mapping.java:51
↓ 204 callersMethodadd
(A accumulator, V val)
testkit/src/main/java/org/apache/calcite/util/Smalls.java:867
↓ 203 callersMethodgetRowType
()
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorTable.java:36
↓ 203 callersMethodpush
Adds a relational expression to be the input to the next relational expression constructed. <p>This method is usual when you want to weave in relatio
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:367
↓ 201 callersMethodtoTimestamp
(String input, String format)
core/src/test/java/org/apache/calcite/util/format/postgresql/PostgresqlDateTimeFormatterTest.java:65
↓ 200 callersMethodcurrent
Gets the current element in the collection. <p>After an enumerator is created or after the {@link #reset} method is called, the {@link #moveNext} met
linq4j/src/main/java/org/apache/calcite/linq4j/Enumerator.java:69
↓ 199 callersMethoddefineMethod
Maps an operator to a method.
core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java:628
↓ 198 callersMethodgetName
Gets the name of this field, which is unique within its containing type. @return field name
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeField.java:69
↓ 198 callersMethodgetType
Returns the type of object referred to by this moniker. Never null.
core/src/main/java/org/apache/calcite/sql/validate/SqlMoniker.java:51
↓ 197 callersMethodsetFor
Declares that this test is for a given operator. So we can check that all operators are tested. @param operator Operator @param unimpleme
testkit/src/main/java/org/apache/calcite/sql/test/SqlTester.java:187
↓ 197 callersMethodsql
Creates a query against the {@link #FOODMART} data set.
druid/src/test/java/org/apache/calcite/test/DruidAdapter2IT.java:106
↓ 196 callersMethodisEmpty
()
core/src/main/java/org/apache/calcite/sql/SqlNodeList.java:126
↓ 195 callersMethodgetProjects
Returns the project expressions. @return Project expressions
core/src/main/java/org/apache/calcite/rel/core/Project.java:204
↓ 194 callersMethodcheckScalarApprox
Tests that a scalar SQL expression returns expected approximate numeric result. For example, <blockquote> <pre>checkScalarApprox("1.0 + 2.1", "3.1");
testkit/src/main/java/org/apache/calcite/sql/test/SqlOperatorFixture.java:293
↓ 194 callersMethodgetType
Returns the type of distribution.
core/src/main/java/org/apache/calcite/rel/RelDistribution.java:39
↓ 194 callersMethodgroupKey
Creates an empty group key.
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:1314
↓ 193 callersMethodrel
Converts a SQL parse tree into a tree of relational expressions. <p>You must call {@link #validate(org.apache.calcite.sql.SqlNode)} first. @param sq
core/src/main/java/org/apache/calcite/tools/Planner.java:99
↓ 192 callersMethodconfig
Creates a config based on the "scott" schema.
core/src/test/java/org/apache/calcite/test/RelBuilderTest.java:186
↓ 192 callersMethodunwrap
Finds an instance of an interface implemented by this object, or returns null if this object does not support that interface.
core/src/main/java/org/apache/calcite/schema/Wrapper.java:32
↓ 188 callersMethodremoveRule
Removes a rule. @return true if the rule was present, as per {@link java.util.Collection#remove(Object)}
core/src/main/java/org/apache/calcite/plan/RelOptPlanner.java:111
↓ 184 callersMethodvalueOf
(byte pigType)
pig/src/main/java/org/apache/calcite/adapter/pig/PigDataType.java:48
↓ 183 callersMethodgetPrecision
Gets the JDBC-defined precision for values of this type. Note that this is not always the same as the user-specified precision. For example, the type
core/src/main/java/org/apache/calcite/rel/type/RelDataType.java:196
↓ 182 callersMethodadd
(Statement statement)
linq4j/src/main/java/org/apache/calcite/linq4j/tree/BlockBuilder.java:315
↓ 180 callersMethodappend
Appends a block to a list of statements and returns an expression (possibly a variable) that represents the result of the newly added block.
linq4j/src/main/java/org/apache/calcite/linq4j/tree/BlockBuilder.java:101
↓ 180 callersMethodsep
Writes a list separator, unless the separator is "," and this is the first occurrence in the list. @param sep List separator, typically ",".
core/src/main/java/org/apache/calcite/sql/SqlWriter.java:508
↓ 178 callersMethodrethrow
Rethrows given exception keeping stacktraces clean and compact.
testkit/src/main/java/org/apache/calcite/util/TestUtil.java:394
↓ 178 callersMethodtoString
Gets a string representation of this type without detail such as character set and nullability. @return abbreviated type string
core/src/main/java/org/apache/calcite/rel/type/RelDataType.java:230
↓ 176 callersMethodmakeCast
Creates a call to the CAST operator. @param type Type to cast to @param exp Expression being cast @return Call to CAST operator
core/src/main/java/org/apache/calcite/rex/RexBuilder.java:670
↓ 174 callersMethodget
(int c)
example/function/src/main/java/org/apache/calcite/example/maze/Maze.java:350
↓ 173 callersMethodanyInputs
Indicates that this operand takes any number or type of inputs.
core/src/main/java/org/apache/calcite/plan/RelRule.java:223
↓ 173 callersMethodgetType
()
core/src/main/java/org/apache/calcite/rex/RexNode.java:52
↓ 171 callersMethodgetTypeFactory
Returns the type factory used by this validator. @return type factory
core/src/main/java/org/apache/calcite/sql/validate/SqlValidator.java:493
← previousnext →101–200 of 34,750, ranked by callers