| 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.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.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.tools |
Provides utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaPlus |
DataContext.getRootSchema()
Returns a sub-schema with a given name, or null.
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
CloneSchema.Factory.create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand) |
| Constructor and Description |
|---|
CloneSchema(SchemaPlus sourceSchema)
Creates a CloneSchema.
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
ReflectiveSchema.Factory.create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand) |
Expression |
AbstractQueryableTable.getExpression(SchemaPlus schema,
String tableName,
Class clazz) |
| Modifier and Type | Method and Description |
|---|---|
static JdbcSchema |
JdbcSchema.create(SchemaPlus parentSchema,
String name,
DataSource dataSource,
String catalog,
String schema) |
static JdbcSchema |
JdbcSchema.create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand)
Creates a JdbcSchema, taking credentials from a map.
|
Schema |
JdbcSchema.Factory.create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand) |
Expression |
JdbcSchema.getExpression(SchemaPlus parentSchema,
String name) |
| Modifier and Type | Method and Description |
|---|---|
SchemaPlus |
CalciteConnection.getRootSchema()
Returns the root schema.
|
SchemaPlus |
CalciteSchema.plus() |
| Modifier and Type | Method and Description |
|---|---|
static CalciteSchema |
CalciteSchema.from(SchemaPlus plus) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ModelHandler.create(SchemaPlus schema,
String functionName,
List<String> path,
String className,
String methodName)
Creates and validates a ScalarFunctionImpl.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaPlus |
SchemaPlus.add(String name,
Schema schema)
Adds a schema as a sub-schema of this schema, and returns the wrapped
object.
|
SchemaPlus |
SchemaPlus.getParentSchema()
Returns the parent schema, or null if this schema has no parent.
|
SchemaPlus |
SchemaPlus.getSubSchema(String name) |
| Modifier and Type | Method and Description |
|---|---|
<T> Queryable<T> |
QueryableTable.asQueryable(QueryProvider queryProvider,
SchemaPlus schema,
String tableName)
Converts this table into a
Queryable. |
Schema |
SchemaFactory.create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand)
Creates a Schema.
|
T |
TableFactory.create(SchemaPlus schema,
String name,
Map<String,Object> operand,
RelDataType rowType)
Creates a Table.
|
static Expression |
Schemas.expression(SchemaPlus schema)
Returns the expression for a schema.
|
Expression |
Schema.getExpression(SchemaPlus parentSchema,
String name)
Returns the expression by which this schema can be referenced in generated
code.
|
Expression |
QueryableTable.getExpression(SchemaPlus schema,
String tableName,
Class clazz)
Generates an expression with which this table can be referenced in
generated code.
|
static <E> Queryable<E> |
Schemas.queryable(DataContext root,
SchemaPlus schema,
Class<E> clazz,
String tableName)
Returns a
Queryable, given a schema and table name. |
static Expression |
Schemas.subSchemaExpression(SchemaPlus schema,
String name,
Class type)
Returns the expression for a sub-schema.
|
static Expression |
Schemas.tableExpression(SchemaPlus schema,
Type elementType,
String tableName,
Class clazz)
Returns the expression to access a table within a schema.
|
| Modifier and Type | Field and Description |
|---|---|
SchemaPlus |
AbstractTableQueryable.schema |
| Modifier and Type | Method and Description |
|---|---|
<T> Queryable<T> |
ViewTable.asQueryable(QueryProvider queryProvider,
SchemaPlus schema,
String tableName) |
Expression |
DelegatingSchema.getExpression(SchemaPlus parentSchema,
String name) |
Expression |
AbstractSchema.getExpression(SchemaPlus parentSchema,
String name) |
static org.apache.calcite.schema.impl.ViewTable.ViewTableMacro |
ViewTable.viewMacro(SchemaPlus schema,
String viewSql,
List<String> schemaPath)
Table macro that returns a view.
|
| Constructor and Description |
|---|
AbstractTableQueryable(QueryProvider queryProvider,
SchemaPlus schema,
QueryableTable table,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
static SchemaPlus |
Frameworks.createRootSchema(boolean addMetadataSchema)
Creates a root schema.
|
SchemaPlus |
FrameworkConfig.getDefaultSchema()
Returns the default schema that should be checked before looking at the
root schema.
|
| Modifier and Type | Method and Description |
|---|---|
R |
Frameworks.PlannerAction.apply(RelOptCluster cluster,
RelOptSchema relOptSchema,
SchemaPlus rootSchema) |
abstract R |
Frameworks.PrepareAction.apply(RelOptCluster cluster,
RelOptSchema relOptSchema,
SchemaPlus rootSchema,
CalciteServerStatement statement) |
Frameworks.ConfigBuilder |
Frameworks.ConfigBuilder.defaultSchema(SchemaPlus defaultSchema) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.