Uses of Interface
org.apache.calcite.schema.Function
-
Packages that use Function Package Description org.apache.calcite.adapter.java Query provider based on Java in-memory data structures.org.apache.calcite.adapter.jdbc Query provider based on a JDBC data source.org.apache.calcite.jdbc JDBC driver for Calcite.org.apache.calcite.prepare Preparation of queries (parsing, planning and implementation).org.apache.calcite.schema Schema SPI.org.apache.calcite.schema.impl Utilities to help implement Calcite's SPIs.org.apache.calcite.sql.advise Provides hints and corrections for editing SQL statements.org.apache.calcite.sql.validate SQL validation. -
-
Uses of Function in org.apache.calcite.adapter.java
Classes in org.apache.calcite.adapter.java that implement Function Modifier and Type Class Description private static class
ReflectiveSchema.MethodTableMacro
Table macro based on a Java method.Fields in org.apache.calcite.adapter.java with type parameters of type Function Modifier and Type Field Description private com.google.common.collect.Multimap<java.lang.String,Function>
ReflectiveSchema. functionMap
Methods in org.apache.calcite.adapter.java that return types with arguments of type Function Modifier and Type Method Description private com.google.common.collect.Multimap<java.lang.String,Function>
ReflectiveSchema. createFunctionMap()
protected com.google.common.collect.Multimap<java.lang.String,Function>
ReflectiveSchema. getFunctionMultimap()
-
Uses of Function in org.apache.calcite.adapter.jdbc
Methods in org.apache.calcite.adapter.jdbc that return types with arguments of type Function Modifier and Type Method Description protected com.google.common.collect.Multimap<java.lang.String,Function>
JdbcSchema. getFunctions()
java.util.Collection<Function>
JdbcSchema. getFunctions(java.lang.String name)
-
Uses of Function in org.apache.calcite.jdbc
Fields in org.apache.calcite.jdbc declared as Function Modifier and Type Field Description private Function
CalciteSchema.FunctionEntryImpl. function
Methods in org.apache.calcite.jdbc that return Function Modifier and Type Method Description abstract Function
CalciteSchema.FunctionEntry. getFunction()
Function
CalciteSchema.FunctionEntryImpl. getFunction()
Methods in org.apache.calcite.jdbc that return types with arguments of type Function Modifier and Type Method Description java.util.Collection<Function>
CalciteSchema. getFunctions(java.lang.String name, boolean caseSensitive)
Returns a collection of all functions, explicit and implicit, with a given name.java.util.Collection<Function>
CalciteSchema.SchemaPlusImpl. getFunctions(java.lang.String name)
Methods in org.apache.calcite.jdbc with parameters of type Function Modifier and Type Method Description private CalciteSchema.FunctionEntry
CalciteSchema. add(java.lang.String name, Function function)
void
CalciteSchema.SchemaPlusImpl. add(java.lang.String name, Function function)
Method parameters in org.apache.calcite.jdbc with type arguments of type Function Modifier and Type Method Description protected void
CachingCalciteSchema. addImplicitFunctionsToBuilder(com.google.common.collect.ImmutableList.Builder<Function> builder, java.lang.String name, boolean caseSensitive)
protected abstract void
CalciteSchema. addImplicitFunctionsToBuilder(com.google.common.collect.ImmutableList.Builder<Function> builder, java.lang.String name, boolean caseSensitive)
Adds implicit functions to a builder.protected void
SimpleCalciteSchema. addImplicitFunctionsToBuilder(com.google.common.collect.ImmutableList.Builder<Function> builder, java.lang.String name, boolean caseSensitive)
Constructors in org.apache.calcite.jdbc with parameters of type Function Constructor Description FunctionEntryImpl(CalciteSchema schema, java.lang.String name, Function function)
Creates a FunctionEntryImpl. -
Uses of Function in org.apache.calcite.prepare
Methods in org.apache.calcite.prepare that return types with arguments of type Function Modifier and Type Method Description java.util.Collection<Function>
RelOptTableImpl.MySchemaPlus. getFunctions(java.lang.String name)
private java.util.Collection<Function>
CalciteCatalogReader. getFunctionsFrom(java.util.List<java.lang.String> names)
Methods in org.apache.calcite.prepare with parameters of type Function Modifier and Type Method Description void
RelOptTableImpl.MySchemaPlus. add(java.lang.String name, Function function)
private static SqlOperator
CalciteCatalogReader. toOp(RelDataTypeFactory typeFactory, SqlIdentifier name, Function function)
Converts a function to aSqlOperator
.private SqlOperator
CalciteCatalogReader. toOp(SqlIdentifier name, Function function)
-
Uses of Function in org.apache.calcite.schema
Subinterfaces of Function in org.apache.calcite.schema Modifier and Type Interface Description interface
AggregateFunction
Function that combines several values into a scalar result.interface
ImplementableAggFunction
Function that can be translated to java code.interface
ImplementableFunction
Function that can be translated to java code.interface
ScalarFunction
Function that returns a scalar result.interface
TableFunction
Function that returns a table during execution time.interface
TableMacro
Function that returns aTable
.Methods in org.apache.calcite.schema that return types with arguments of type Function Modifier and Type Method Description java.util.Collection<Function>
Schema. getFunctions(java.lang.String name)
Returns a list of functions in this schema with the given name, or an empty list if there is no such function.Methods in org.apache.calcite.schema with parameters of type Function Modifier and Type Method Description void
SchemaPlus. add(java.lang.String name, Function function)
Adds a function to this schema.private static boolean
Schemas. matches(RelDataTypeFactory typeFactory, Function member, java.util.List<RelDataType> argumentTypes)
-
Uses of Function in org.apache.calcite.schema.impl
Classes in org.apache.calcite.schema.impl that implement Function Modifier and Type Class Description class
AggregateFunctionImpl
Implementation ofAggregateFunction
via user-defined class.static class
MaterializedViewTable.MaterializedViewTableMacro
Table function that returns the table that materializes a view.class
ReflectiveFunctionBase
Implementation of a function that is based on a method.class
ScalarFunctionImpl
Implementation ofScalarFunction
.class
TableFunctionImpl
Implementation ofTableFunction
based on a method.class
TableMacroImpl
Implementation ofTableMacro
based on a method.class
ViewTableMacro
Table function that implements a view.Methods in org.apache.calcite.schema.impl that return types with arguments of type Function Modifier and Type Method Description protected com.google.common.collect.Multimap<java.lang.String,Function>
AbstractSchema. getFunctionMultimap()
Returns a multi-map of functions in this schema by name.java.util.Collection<Function>
AbstractSchema. getFunctions(java.lang.String name)
java.util.Collection<Function>
DelegatingSchema. getFunctions(java.lang.String name)
-
Uses of Function in org.apache.calcite.sql.advise
Classes in org.apache.calcite.sql.advise that implement Function Modifier and Type Class Description class
SqlAdvisorGetHintsFunction
Table function that returns completion hints for a given SQL statement.class
SqlAdvisorGetHintsFunction2
Table function that returns completion hints for a given SQL statement. -
Uses of Function in org.apache.calcite.sql.validate
Fields in org.apache.calcite.sql.validate declared as Function Modifier and Type Field Description Function
SqlUserDefinedFunction. function
Methods in org.apache.calcite.sql.validate that return Function Modifier and Type Method Description Function
SqlUserDefinedFunction. getFunction()
Returns function that implements given operator call.Methods in org.apache.calcite.sql.validate with parameters of type Function Modifier and Type Method Description static java.util.List<java.lang.Object>
SqlUserDefinedTableMacro. convertArguments(RelDataTypeFactory typeFactory, java.util.List<SqlNode> operandList, Function function, SqlIdentifier opName, boolean failOnNonLiteral)
Converts arguments fromSqlNode
to java object format.Constructors in org.apache.calcite.sql.validate with parameters of type Function Constructor Description SqlUserDefinedFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, Function function)
Creates aSqlUserDefinedFunction
.SqlUserDefinedFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, Function function, SqlFunctionCategory category)
Constructor used internally and by derived classes.
-