Package org.apache.calcite.jdbc
JDBC driver for Calcite.
-
Interface Summary Interface Description CachingCalciteSchema.Cached<T> Strategy for caching the value of an object and re-creating it if its value is out of date as of a given timestamp.CalciteConnection Extension to Calcite's implementation ofJDBC connection
allows schemas to be defined dynamically.CalcitePrepare API for a service that prepares statements for execution.CalcitePrepare.Context Context for preparing a statement.CalcitePrepare.SparkHandler Callback to register Spark as the main engine.CalcitePrepare.SparkHandler.RuleSetBuilder Allows Spark to declare the rules it needs. -
Class Summary Class Description CachingCalciteSchema Concrete implementation ofCalciteSchema
that caches tables, functions and sub-schemas.CachingCalciteSchema.SubSchemaCache Information about the implicit sub-schemas of anCalciteSchema
.CalciteConnectionImpl Implementation of JDBC connection in the Calcite engine.CalciteConnectionImpl.CalciteQueryable<T> Implementation of Queryable.CalciteConnectionImpl.CalciteServerImpl Implementation of Server.CalciteConnectionImpl.CalciteServerStatementImpl Implementation ofCalciteServerStatement
.CalciteConnectionImpl.ContextImpl Implementation of Context.CalciteConnectionImpl.DataContextImpl Implementation of DataContext.CalciteConnectionImpl.RootSchema Schema that has no parents.CalciteConnectionImpl.SlimDataContext Implementation ofDataContext
that has few variables and isSerializable
.CalciteFactory Extension ofAvaticaFactory
for Calcite.CalciteJdbc41Factory Implementation ofAvaticaFactory
for Calcite and JDBC 4.1 (corresponds to JDK 1.7).CalciteJdbc41Factory.CalciteJdbc41Connection Implementation of connection for JDBC 4.1.CalciteJdbc41Factory.CalciteJdbc41DatabaseMetaData Implementation of database metadata for JDBC 4.1.CalciteJdbc41Factory.CalciteJdbc41PreparedStatement Implementation of prepared statement for JDBC 4.1.CalciteJdbc41Factory.CalciteJdbc41Statement Implementation of statement for JDBC 4.1.CalciteMetaImpl Helper for implementing thegetXxx
methods such asAvaticaDatabaseMetaData.getTables(java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
.CalciteMetaImpl.CalciteMetaSchema Metadata describing a Calcite schema.CalciteMetaImpl.CalciteMetaTable Metadata describing a Calcite table.CalciteMetaImpl.LimitIterator<E> Iterator that returns at mostlimit
rows from an underlyingIterator
.CalciteMetaImpl.MetadataTable<E> Table whose contents are metadata.CalcitePrepare.AnalyzeViewResult The result of analyzing a view.CalcitePrepare.CalciteSignature<T> The result of preparing a query.CalcitePrepare.ConvertResult The result of parsing and validating a SQL query and converting it to relational algebra.CalcitePrepare.Dummy Namespace that allows us to define non-abstract methods inside an interface.CalcitePrepare.Dummy.TrivialSparkHandler Implementation ofCalcitePrepare.SparkHandler
that either does nothing or throws for each method.CalcitePrepare.ParseResult The result of parsing and validating a SQL query.CalcitePrepare.Query<T> CalcitePreparedStatement Implementation ofPreparedStatement
for the Calcite engine.CalciteResultSet Implementation ofResultSet
for the Calcite engine.CalciteRootSchema Deprecated. CalciteSchema Schema.CalciteSchema.Entry Entry in a schema, such as a table or sub-schema.CalciteSchema.FunctionEntry Membership of a function in a schema.CalciteSchema.FunctionEntryImpl Implementation ofCalciteSchema.FunctionEntry
where all properties are held in fields.CalciteSchema.LatticeEntry Membership of a lattice in a schema.CalciteSchema.LatticeEntryImpl Implementation ofCalciteSchema.LatticeEntry
where all properties are held in fields.CalciteSchema.TableEntry Membership of a table in a schema.CalciteSchema.TableEntryImpl Implementation ofCalciteSchema.TableEntry
where all properties are held in fields.CalciteSchema.TypeEntry Membership of a type in a schema.CalciteSchema.TypeEntryImpl Implementation ofCalciteSchema.TypeEntry
where all properties are held in fields.CalciteStatement Implementation ofStatement
for the Calcite engine.Driver Calcite JDBC driver.JavaRecordType Record type based on a Java class.JavaTypeFactoryImpl Implementation ofJavaTypeFactory
.JavaTypeFactoryImpl.RecordFieldImpl Implementation of a field.JavaTypeFactoryImpl.SyntheticRecordType Synthetic record type.MetadataSchema Schema that contains metadata tables such as "TABLES" and "COLUMNS".SimpleCalciteSchema A concrete implementation ofCalciteSchema
that maintains minimal state. -
Exception Summary Exception Description SqlTimeoutException Indicates that an operation timed out.