| 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.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 | Method and Description |
|---|---|
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 | Method and Description |
|---|---|
abstract Function |
CalciteSchema.FunctionEntry.getFunction() |
Function |
CalciteSchema.FunctionEntryImpl.getFunction() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Function> |
CalciteSchema.getFunctions(String name,
boolean caseSensitive)
Returns a collection of all functions, explicit and implicit, with a given
name.
|
| Constructor and Description |
|---|
CalciteSchema.FunctionEntryImpl(CalciteSchema schema,
String name,
Function function)
Creates a FunctionEntryImpl.
|
| 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.
|
| 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. |
| 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) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.