Uses of Interface
org.apache.calcite.DataContext
-
Packages that use DataContext Package Description org.apache.calcite Main package for Calcite, the dynamic data management platform.org.apache.calcite.adapter.clone Provides utility classes.org.apache.calcite.adapter.csv Calcite query provider that reads from CSV (comma-separated value) files.org.apache.calcite.adapter.druid Query provider based on a Druid database.org.apache.calcite.adapter.enumerable Query optimizer rules for Java calling convention.org.apache.calcite.adapter.geode.simple Query provider based on Apache Geode (Gemfire) In Memory Data Gridorg.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.adapter.spark Adapter based on the Apache Spark data management system.org.apache.calcite.example.maze User-defined table function that generates a maze.org.apache.calcite.interpreter Provides an implementation of relational expressions using an interpreter.org.apache.calcite.jdbc JDBC driver for Calcite.org.apache.calcite.plan Defines interfaces for constructing rule-based optimizers of relational expressions.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. -
-
Uses of DataContext in org.apache.calcite
Methods in org.apache.calcite with parameters of type DataContext Modifier and Type Method Description <T> T
DataContext.Variable. get(DataContext dataContext)
Returns the value of this variable in a given data context. -
Uses of DataContext in org.apache.calcite.adapter.clone
Methods in org.apache.calcite.adapter.clone with parameters of type DataContext Modifier and Type Method Description Enumerable<java.lang.Object[]>
ArrayTable. scan(DataContext root)
-
Uses of DataContext in org.apache.calcite.adapter.csv
Methods in org.apache.calcite.adapter.csv with parameters of type DataContext Modifier and Type Method Description Enumerable<java.lang.Object>
CsvTranslatableTable. project(DataContext root, int[] fields)
Returns an enumerable over a given projection of the fields.Enumerable<java.lang.Object[]>
CsvFilterableTable. scan(DataContext root, java.util.List<RexNode> filters)
Enumerable<java.lang.Object[]>
CsvScannableTable. scan(DataContext root)
Enumerable<java.lang.Object[]>
CsvStreamScannableTable. scan(DataContext root)
Enumerable<java.lang.Object[]>
JsonTable. scan(DataContext root)
-
Uses of DataContext in org.apache.calcite.adapter.druid
Methods in org.apache.calcite.adapter.druid with parameters of type DataContext Modifier and Type Method Description Enumerable<java.lang.Object[]>
DruidQuery. bind(DataContext dataContext)
-
Uses of DataContext in org.apache.calcite.adapter.enumerable
Methods in org.apache.calcite.adapter.enumerable with parameters of type DataContext Modifier and Type Method Description Enumerable<java.lang.Object[]>
EnumerableBindable. bind(DataContext dataContext)
-
Uses of DataContext in org.apache.calcite.adapter.geode.simple
Methods in org.apache.calcite.adapter.geode.simple with parameters of type DataContext Modifier and Type Method Description Enumerable<java.lang.Object[]>
GeodeSimpleScannableTable. scan(DataContext root)
-
Uses of DataContext in org.apache.calcite.adapter.java
Methods in org.apache.calcite.adapter.java with parameters of type DataContext Modifier and Type Method Description Enumerable<java.lang.Object[]>
ReflectiveSchema.ReflectiveTable. scan(DataContext root)
-
Uses of DataContext in org.apache.calcite.adapter.jdbc
Methods in org.apache.calcite.adapter.jdbc with parameters of type DataContext Modifier and Type Method Description Enumerable<java.lang.Object[]>
JdbcTable. scan(DataContext root)
-
Uses of DataContext in org.apache.calcite.adapter.spark
Methods in org.apache.calcite.adapter.spark with parameters of type DataContext Modifier and Type Method Description static org.apache.spark.api.java.JavaSparkContext
SparkRuntime. getSparkContext(DataContext root)
Returns the Spark context for the current execution. -
Uses of DataContext in org.apache.calcite.example.maze
Methods in org.apache.calcite.example.maze with parameters of type DataContext Modifier and Type Method Description Enumerable<java.lang.Object[]>
MazeTable. scan(DataContext root)
-
Uses of DataContext in org.apache.calcite.interpreter
Fields in org.apache.calcite.interpreter declared as DataContext Modifier and Type Field Description private DataContext
AggregateNode. dataContext
DataContext
InterpretableRel.InterpreterImplementor. dataContext
private DataContext
Interpreter. dataContext
DataContext
Context. root
Methods in org.apache.calcite.interpreter that return DataContext Modifier and Type Method Description DataContext
Compiler. getDataContext()
DataContext
Interpreter.CompilerImpl. getDataContext()
Methods in org.apache.calcite.interpreter with parameters of type DataContext Modifier and Type Method Description Enumerable<java.lang.Object[]>
Bindables.BindableAggregate. bind(DataContext dataContext)
Enumerable<java.lang.Object[]>
Bindables.BindableFilter. bind(DataContext dataContext)
Enumerable<java.lang.Object[]>
Bindables.BindableJoin. bind(DataContext dataContext)
Enumerable<java.lang.Object[]>
Bindables.BindableProject. bind(DataContext dataContext)
Enumerable<java.lang.Object[]>
Bindables.BindableSort. bind(DataContext dataContext)
Enumerable<java.lang.Object[]>
Bindables.BindableTableScan. bind(DataContext dataContext)
Enumerable<java.lang.Object[]>
Bindables.BindableUnion. bind(DataContext dataContext)
Enumerable<java.lang.Object[]>
Bindables.BindableValues. bind(DataContext dataContext)
Enumerable<java.lang.Object[]>
Bindables.BindableWindow. bind(DataContext dataContext)
Enumerable<java.lang.Object[]>
InterpretableConverter. bind(DataContext dataContext)
private static Enumerable<java.lang.Object[]>
Bindables. help(DataContext dataContext, BindableRel rel)
Helper method that converts a bindable relational expression into a record iterator.Constructors in org.apache.calcite.interpreter with parameters of type DataContext Constructor Description Context(DataContext root)
Interpreter(DataContext dataContext, RelNode rootRel)
Creates an Interpreter.InterpreterImplementor(Compiler compiler, CalcitePrepare.SparkHandler spark, DataContext dataContext)
ScalarAccumulatorDef(Scalar initScalar, Scalar addScalar, Scalar endScalar, int rowLength, int accumulatorLength, DataContext root)
-
Uses of DataContext in org.apache.calcite.jdbc
Classes in org.apache.calcite.jdbc that implement DataContext Modifier and Type Class Description (package private) static class
CalciteConnectionImpl.DataContextImpl
Implementation of DataContext.private static class
CalciteConnectionImpl.SlimDataContext
Implementation ofDataContext
that has few variables and isSerializable
.Methods in org.apache.calcite.jdbc that return DataContext Modifier and Type Method Description DataContext
CalciteConnectionImpl. createDataContext(java.util.Map<java.lang.String,java.lang.Object> parameterValues, CalciteSchema rootSchema)
static DataContext
CalciteMetaImpl. createDataContext(CalciteConnection connection)
A trojan-horse method, subject to change without notice.DataContext
CalciteConnectionImpl.ContextImpl. getDataContext()
DataContext
CalcitePrepare.Context. getDataContext()
Methods in org.apache.calcite.jdbc with parameters of type DataContext Modifier and Type Method Description Enumerable<T>
CalcitePrepare.CalciteSignature. enumerable(DataContext dataContext)
-
Uses of DataContext in org.apache.calcite.plan
Classes in org.apache.calcite.plan that implement DataContext Modifier and Type Class Description class
VisitorDataContext
DataContext for evaluating an RexExpressionMethods in org.apache.calcite.plan that return DataContext Modifier and Type Method Description static DataContext
VisitorDataContext. of(RelNode targetRel, LogicalFilter queryRel)
static DataContext
VisitorDataContext. of(RelDataType rowType, java.util.List<Pair<RexInputRef,RexNode>> usageList)
static DataContext
VisitorDataContext. of(RelDataType rowType, RexNode rex)
Methods in org.apache.calcite.plan with parameters of type DataContext Modifier and Type Method Description private boolean
RexImplicationChecker. isSatisfiable(RexNode second, DataContext dataValues)
-
Uses of DataContext in org.apache.calcite.rex
Fields in org.apache.calcite.rex declared as DataContext Modifier and Type Field Description private DataContext
RexExecutable. dataContext
private DataContext
RexExecutorImpl. dataContext
Fields in org.apache.calcite.rex with type parameters of type DataContext Modifier and Type Field Description private Function1<DataContext,java.lang.Object[]>
RexExecutable. compiledFunction
Methods in org.apache.calcite.rex that return types with arguments of type DataContext Modifier and Type Method Description private static Function1<DataContext,java.lang.Object[]>
RexExecutable. compile(java.lang.String code, java.lang.Object reason)
Function1<DataContext,java.lang.Object[]>
RexExecutable. getFunction()
Methods in org.apache.calcite.rex with parameters of type DataContext Modifier and Type Method Description void
RexExecutable. setDataContext(DataContext dataContext)
Constructors in org.apache.calcite.rex with parameters of type DataContext Constructor Description RexExecutorImpl(DataContext dataContext)
-
Uses of DataContext in org.apache.calcite.runtime
Methods in org.apache.calcite.runtime with parameters of type DataContext Modifier and Type Method Description Enumerable<T>
Bindable. bind(DataContext dataContext)
Executes this statement and returns an enumerable which will yield rows.static ResultSetEnumerable.PreparedStatementEnricher
ResultSetEnumerable. createEnricher(java.lang.Integer[] indexes, DataContext context)
Called from generated code that proposes to create aResultSetEnumerable
over a prepared statement.static int
SqlFunctions. currentDate(DataContext root)
SQLCURRENT_DATE
function.static int
SqlFunctions. currentTime(DataContext root)
SQLCURRENT_TIME
function.static long
SqlFunctions. currentTimestamp(DataContext root)
SQLCURRENT_TIMESTAMP
function.static int
SqlFunctions. localTime(DataContext root)
SQLLOCAL_TIME
function.static long
SqlFunctions. localTimestamp(DataContext root)
SQLLOCAL_TIMESTAMP
function.static java.util.TimeZone
SqlFunctions. timeZone(DataContext root)
-
Uses of DataContext in org.apache.calcite.schema
Classes in org.apache.calcite.schema that implement DataContext Modifier and Type Class Description private static class
Schemas.DummyDataContext
Dummy data context that has no variables.Methods in org.apache.calcite.schema that return DataContext Modifier and Type Method Description static DataContext
Schemas. createDataContext(java.sql.Connection connection, SchemaPlus rootSchema)
Methods in org.apache.calcite.schema with parameters of type DataContext Modifier and Type Method Description static Enumerable<java.lang.Object[]>
Schemas. enumerable(FilterableTable table, DataContext root)
Returns anEnumerable
over the rows of a given table, not applying any filters, representing each row as an object array.static Enumerable<java.lang.Object[]>
Schemas. enumerable(ProjectableFilterableTable table, DataContext root)
Returns anEnumerable
over the rows of a given table, not applying any filters and projecting all columns, representing each row as an object array.static Enumerable<java.lang.Object[]>
Schemas. enumerable(ScannableTable table, DataContext root)
Returns anEnumerable
over the rows of a given table, representing each row as an object array.private static CalcitePrepare.Context
Schemas. makeContext(CalciteConnectionConfig connectionConfig, JavaTypeFactory typeFactory, DataContext dataContext, CalciteSchema schema, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> objectPath_)
static <E> Queryable<E>
Schemas. queryable(DataContext root, java.lang.Class<E> clazz, java.lang.Iterable<? extends java.lang.String> names)
Returns aQueryable
, given a fully-qualified table name as an iterable.static <E> Queryable<E>
Schemas. queryable(DataContext root, java.lang.Class<E> clazz, java.lang.String... names)
Returns aQueryable
, given a fully-qualified table name.static <E> Queryable<E>
Schemas. queryable(DataContext root, SchemaPlus schema, java.lang.Class<E> clazz, java.lang.String tableName)
Returns aQueryable
, given a schema and table name.Enumerable<java.lang.Object[]>
FilterableTable. scan(DataContext root, java.util.List<RexNode> filters)
Returns an enumerator over the rows in this Table.Enumerable<java.lang.Object[]>
ProjectableFilterableTable. scan(DataContext root, java.util.List<RexNode> filters, int[] projects)
Returns an enumerable over the rows in this Table.Enumerable<java.lang.Object[]>
ScannableTable. scan(DataContext root)
Returns an enumerator over the rows in this Table.static Table
Schemas. table(DataContext root, java.lang.String... names)
Returns anEnumerable
over object arrays, given a fully-qualified table name which leads to aScannableTable
.
-