| Package | Description |
|---|---|
| org.apache.calcite |
Main package for Calcite, the dynamic data management platform.
|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.apache.calcite.interpreter |
Provides an implementation of relational expressions using an interpreter.
|
| org.apache.calcite.jdbc |
JDBC driver for Calcite.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.runtime |
Utilities required at runtime.
|
| org.apache.calcite.schema |
Schema SPI.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
DataContext.Variable.get(DataContext dataContext)
Returns the value of this variable in a given data context.
|
| Modifier and Type | Method and Description |
|---|---|
Enumerable<Object[]> |
EnumerableBindable.bind(DataContext dataContext) |
| Modifier and Type | Field and Description |
|---|---|
DataContext |
InterpretableRel.InterpreterImplementor.dataContext |
DataContext |
Context.root |
| Modifier and Type | Method and Description |
|---|---|
DataContext |
Interpreter.getDataContext() |
| Modifier and Type | Method and Description |
|---|---|
Enumerable<Object[]> |
InterpretableConverter.bind(DataContext dataContext) |
Enumerable<Object[]> |
Bindables.BindableTableScan.bind(DataContext dataContext) |
Enumerable<Object[]> |
Bindables.BindableFilter.bind(DataContext dataContext) |
Enumerable<Object[]> |
Bindables.BindableProject.bind(DataContext dataContext) |
Enumerable<Object[]> |
Bindables.BindableSort.bind(DataContext dataContext) |
Enumerable<Object[]> |
Bindables.BindableJoin.bind(DataContext dataContext) |
Enumerable<Object[]> |
Bindables.BindableUnion.bind(DataContext dataContext) |
Enumerable<Object[]> |
Bindables.BindableValues.bind(DataContext dataContext) |
Enumerable<Object[]> |
Bindables.BindableAggregate.bind(DataContext dataContext) |
Enumerable<Object[]> |
Bindables.BindableWindow.bind(DataContext dataContext) |
| Constructor and Description |
|---|
InterpretableRel.InterpreterImplementor(Interpreter interpreter,
CalcitePrepare.SparkHandler spark,
DataContext dataContext) |
Interpreter(DataContext dataContext,
RelNode rootRel) |
| Modifier and Type | Method and Description |
|---|---|
static DataContext |
CalciteMetaImpl.createDataContext(CalciteConnection connection)
A trojan-horse method, subject to change without notice.
|
DataContext |
CalcitePrepare.Context.getDataContext() |
| Modifier and Type | Method and Description |
|---|---|
Enumerable<T> |
CalcitePrepare.CalciteSignature.enumerable(DataContext dataContext) |
| Modifier and Type | Method and Description |
|---|---|
Function1<DataContext,Object[]> |
RexExecutable.getFunction() |
| Modifier and Type | Method and Description |
|---|---|
void |
RexExecutable.setDataContext(DataContext dataContext) |
| Constructor and Description |
|---|
RexExecutorImpl(DataContext dataContext) |
| Modifier and Type | Method and Description |
|---|---|
Enumerable<T> |
Bindable.bind(DataContext dataContext)
Executes this statement and returns an enumerable which will yield rows.
|
static int |
SqlFunctions.currentDate(DataContext root)
SQL
CURRENT_DATE function. |
static int |
SqlFunctions.currentTime(DataContext root)
SQL
CURRENT_TIME function. |
static long |
SqlFunctions.currentTimestamp(DataContext root)
SQL
CURRENT_TIMESTAMP function. |
static int |
SqlFunctions.localTime(DataContext root)
SQL
LOCAL_TIME function. |
static long |
SqlFunctions.localTimestamp(DataContext root)
SQL
LOCAL_TIMESTAMP function. |
| Modifier and Type | Method and Description |
|---|---|
static DataContext |
Schemas.createDataContext(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
static Enumerable<Object[]> |
Schemas.enumerable(FilterableTable table,
DataContext root)
Returns an
Enumerable over the rows of
a given table, not applying any filters, representing each row as an object
array. |
static Enumerable<Object[]> |
Schemas.enumerable(ProjectableFilterableTable table,
DataContext root)
Returns an
Enumerable over the rows of
a given table, not applying any filters and projecting all columns,
representing each row as an object array. |
static Enumerable<Object[]> |
Schemas.enumerable(ScannableTable table,
DataContext root)
Returns an
Enumerable over the rows of
a given table, representing each row as an object array. |
static <E> Queryable<E> |
Schemas.queryable(DataContext root,
Class<E> clazz,
Iterable<? extends String> names)
Returns a
Queryable, given a fully-qualified table name as an
iterable. |
static <E> Queryable<E> |
Schemas.queryable(DataContext root,
Class<E> clazz,
String... names)
Returns a
Queryable, given a fully-qualified table name. |
static <E> Queryable<E> |
Schemas.queryable(DataContext root,
SchemaPlus schema,
Class<E> clazz,
String tableName)
Returns a
Queryable, given a schema and table name. |
Enumerable<Object[]> |
ScannableTable.scan(DataContext root)
Returns an enumerator over the rows in this Table.
|
Enumerable<Object[]> |
FilterableTable.scan(DataContext root,
List<RexNode> filters)
Returns an enumerator over the rows in this Table.
|
Enumerable<Object[]> |
ProjectableFilterableTable.scan(DataContext root,
List<RexNode> filters,
int[] projects)
Returns an enumerable over the rows in this Table.
|
static Table |
Schemas.table(DataContext root,
String... names)
Returns an
Enumerable over object
arrays, given a fully-qualified table name which leads to a
ScannableTable. |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.