| 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.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
ReflectiveSchema.MethodTableMacro
Table macro based on a Java method.
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.Multimap<String,Function> |
ReflectiveSchema.functionMap |
| Modifier and Type | Method and Description |
|---|---|
private com.google.common.collect.Multimap<String,Function> |
ReflectiveSchema.createFunctionMap() |
protected com.google.common.collect.Multimap<String,Function> |
ReflectiveSchema.getFunctionMultimap() |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.collect.Multimap<String,Function> |
JdbcSchema.getFunctions() |
Collection<Function> |
JdbcSchema.getFunctions(String name) |
| Modifier and Type | Field and Description |
|---|---|
private Function |
CalciteSchema.FunctionEntryImpl.function |
| Modifier and Type | Method and Description |
|---|---|
abstract Function |
CalciteSchema.FunctionEntry.getFunction() |
Function |
CalciteSchema.FunctionEntryImpl.getFunction() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Function> |
CalciteSchema.SchemaPlusImpl.getFunctions(String name) |
Collection<Function> |
CalciteSchema.getFunctions(String name,
boolean caseSensitive)
Returns a collection of all functions, explicit and implicit, with a given
name.
|
| Modifier and Type | Method and Description |
|---|---|
private CalciteSchema.FunctionEntry |
CalciteSchema.add(String name,
Function function) |
void |
CalciteSchema.SchemaPlusImpl.add(String name,
Function function) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CachingCalciteSchema.addImplicitFunctionsToBuilder(com.google.common.collect.ImmutableList.Builder<Function> builder,
String name,
boolean caseSensitive) |
protected abstract void |
CalciteSchema.addImplicitFunctionsToBuilder(com.google.common.collect.ImmutableList.Builder<Function> builder,
String name,
boolean caseSensitive)
Adds implicit functions to a builder.
|
protected void |
SimpleCalciteSchema.addImplicitFunctionsToBuilder(com.google.common.collect.ImmutableList.Builder<Function> builder,
String name,
boolean caseSensitive) |
| Constructor and Description |
|---|
FunctionEntryImpl(CalciteSchema schema,
String name,
Function function)
Creates a FunctionEntryImpl.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Function> |
RelOptTableImpl.MySchemaPlus.getFunctions(String name) |
private Collection<Function> |
CalciteCatalogReader.getFunctionsFrom(List<String> names) |
| Modifier and Type | Method and Description |
|---|---|
void |
RelOptTableImpl.MySchemaPlus.add(String name,
Function function) |
private static SqlOperator |
CalciteCatalogReader.toOp(RelDataTypeFactory typeFactory,
SqlIdentifier name,
Function function)
Converts a function to a
SqlOperator. |
private SqlOperator |
CalciteCatalogReader.toOp(SqlIdentifier name,
Function function) |
| Modifier and Type | Interface and 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 a
Table. |
| Modifier and Type | Method and Description |
|---|---|
Collection<Function> |
Schema.getFunctions(String name)
Returns a list of functions in this schema with the given name, or
an empty list if there is no such function.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaPlus.add(String name,
Function function)
Adds a function to this schema.
|
private static boolean |
Schemas.matches(RelDataTypeFactory typeFactory,
Function member,
List<RelDataType> argumentTypes) |
| Modifier and Type | Class and Description |
|---|---|
class |
AggregateFunctionImpl
Implementation of
AggregateFunction 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 of
ScalarFunction. |
class |
TableFunctionImpl
Implementation of
TableFunction based on a
method. |
class |
TableMacroImpl
Implementation of
TableMacro based on a
method. |
class |
ViewTableMacro
Table function that implements a view.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.collect.Multimap<String,Function> |
AbstractSchema.getFunctionMultimap()
Returns a multi-map of functions in this schema by name.
|
Collection<Function> |
DelegatingSchema.getFunctions(String name) |
Collection<Function> |
AbstractSchema.getFunctions(String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
SqlAdvisorGetHintsFunction
Table function that returns completion hints for a given SQL statement.
|
| Modifier and Type | Field and Description |
|---|---|
Function |
SqlUserDefinedFunction.function |
| Modifier and Type | Method and Description |
|---|---|
Function |
SqlUserDefinedFunction.getFunction()
Returns function that implements given operator call.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Object> |
SqlUserDefinedTableMacro.convertArguments(RelDataTypeFactory typeFactory,
List<SqlNode> operandList,
Function function,
SqlIdentifier opName,
boolean failOnNonLiteral)
Converts arguments from
SqlNode to
java object format. |
| Constructor and Description |
|---|
SqlUserDefinedFunction(SqlIdentifier opName,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
List<RelDataType> paramTypes,
Function function)
Creates a
SqlUserDefinedFunction. |
SqlUserDefinedFunction(SqlIdentifier opName,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
List<RelDataType> paramTypes,
Function function,
SqlFunctionCategory category)
Constructor used internally and by derived classes.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.