Package | Description |
---|---|
org.apache.calcite.jdbc |
JDBC driver for Calcite.
|
org.apache.calcite.model |
Provides model files, in JSON format, defining schemas and other metadata.
|
org.apache.calcite.schema |
Schema SPI.
|
org.apache.calcite.schema.impl |
Utilities to help implement Calcite's SPIs.
|
org.apache.calcite.server |
Provides a server for hosting Calcite connections.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
CalciteConnectionImpl
Implementation of JDBC connection
in the Calcite engine.
|
private static class |
CalciteJdbc41Factory.CalciteJdbc41Connection
Implementation of connection for JDBC 4.1.
|
Modifier and Type | Method and Description |
---|---|
(package private) CalciteConnection |
Driver.connect(CalciteSchema rootSchema,
JavaTypeFactory typeFactory)
Creates an internal connection.
|
static CalciteConnection |
CalciteMetaImpl.connect(CalciteSchema schema,
JavaTypeFactory typeFactory)
A trojan-horse method, subject to change without notice.
|
(package private) CalciteConnection |
Driver.connect(CalciteSchema rootSchema,
JavaTypeFactory typeFactory,
java.util.Properties properties)
Creates an internal connection.
|
CalciteConnection |
CalciteConnectionImpl.CalciteQueryable.getConnection() |
CalciteConnection |
CalciteConnectionImpl.CalciteServerStatementImpl.getConnection() |
Modifier and Type | Method and Description |
---|---|
void |
CalciteConnectionImpl.CalciteServerImpl.addStatement(CalciteConnection connection,
org.apache.calcite.avatica.Meta.StatementHandle h) |
static DataContext |
CalciteMetaImpl.createDataContext(CalciteConnection connection)
A trojan-horse method, subject to change without notice.
|
Constructor and Description |
---|
CalciteQueryable(CalciteConnection connection,
java.lang.reflect.Type elementType,
Expression expression) |
Modifier and Type | Field and Description |
---|---|
private CalciteConnection |
ModelHandler.connection |
Constructor and Description |
---|
ModelHandler(CalciteConnection connection,
java.lang.String uri) |
Modifier and Type | Field and Description |
---|---|
private CalciteConnection |
Schemas.DummyDataContext.connection |
Modifier and Type | Method and Description |
---|---|
static CalcitePrepare.AnalyzeViewResult |
Schemas.analyzeView(CalciteConnection connection,
CalciteSchema schema,
java.util.List<java.lang.String> schemaPath,
java.lang.String viewSql,
java.util.List<java.lang.String> viewPath,
boolean fail)
Analyzes a view.
|
static CalcitePrepare.ConvertResult |
Schemas.convert(CalciteConnection connection,
CalciteSchema schema,
java.util.List<java.lang.String> schemaPath,
java.lang.String sql)
Parses and validates a SQL query and converts to relational algebra.
|
private static CalcitePrepare.Context |
Schemas.makeContext(CalciteConnection connection,
CalciteSchema schema,
java.util.List<java.lang.String> schemaPath,
java.util.List<java.lang.String> objectPath,
com.google.common.collect.ImmutableMap<CalciteConnectionProperty,java.lang.String> propValues)
Creates a context for the purposes of preparing a statement.
|
static CalcitePrepare.ParseResult |
Schemas.parse(CalciteConnection connection,
CalciteSchema schema,
java.util.List<java.lang.String> schemaPath,
java.lang.String sql)
Parses and validates a SQL query.
|
static CalcitePrepare.CalciteSignature<java.lang.Object> |
Schemas.prepare(CalciteConnection connection,
CalciteSchema schema,
java.util.List<java.lang.String> schemaPath,
java.lang.String sql,
com.google.common.collect.ImmutableMap<CalciteConnectionProperty,java.lang.String> map)
Prepares a SQL query for execution.
|
Constructor and Description |
---|
DummyDataContext(CalciteConnection connection,
SchemaPlus rootSchema) |
Modifier and Type | Field and Description |
---|---|
static CalciteConnection |
MaterializedViewTable.MATERIALIZATION_CONNECTION
Internal connection, used to execute queries to materialize views.
|
Modifier and Type | Method and Description |
---|---|
CalciteConnection |
CalciteServerStatement.getConnection()
Returns the connection.
|
Modifier and Type | Method and Description |
---|---|
void |
CalciteServer.addStatement(CalciteConnection connection,
org.apache.calcite.avatica.Meta.StatementHandle h) |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.