| Package | Description |
|---|---|
| org.apache.calcite.adapter.clone |
Provides utility classes.
|
| org.apache.calcite.adapter.elasticsearch |
Base classes for a query provider based on an Elasticsearch DB.
|
| 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.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.rel.externalize |
Facilities to externalize
RelNodes to and from
XML and JSON format. |
| org.apache.calcite.schema |
Schema SPI.
|
| org.apache.calcite.schema.impl |
Utilities to help implement Calcite's SPIs.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CloneSchema
Schema that contains in-memory copies of tables from a JDBC schema.
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
CloneSchema.Factory.create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ElasticsearchSchema
Gives access to some basic information of the Elasticsearch schema.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReflectiveSchema
Implementation of
Schema that exposes the
public fields and methods in a Java object. |
| Modifier and Type | Method and Description |
|---|---|
Schema |
ReflectiveSchema.Factory.create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand) |
| Modifier and Type | Class and Description |
|---|---|
class |
JdbcSchema
Implementation of
Schema that is backed by a JDBC data source. |
| Modifier and Type | Method and Description |
|---|---|
Schema |
JdbcSchema.Factory.create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand) |
Schema |
JdbcSchema.getSubSchema(String name) |
Schema |
JdbcSchema.snapshot(SchemaVersion version) |
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
CalciteConnectionImpl.RootSchema
Schema that has no parents.
|
private class |
CalciteSchema.SchemaPlusImpl
Implementation of
SchemaPlus based on a
CalciteSchema. |
(package private) class |
MetadataSchema
Schema that contains metadata tables such as "TABLES" and "COLUMNS".
|
| Modifier and Type | Field and Description |
|---|---|
static Schema |
MetadataSchema.INSTANCE |
Schema |
CalciteSchema.schema |
| Modifier and Type | Method and Description |
|---|---|
Schema |
CalciteSchema.SchemaPlusImpl.snapshot(SchemaVersion version) |
| Modifier and Type | Method and Description |
|---|---|
CalciteSchema |
CachingCalciteSchema.add(String name,
Schema schema)
Adds a child schema of this schema.
|
abstract CalciteSchema |
CalciteSchema.add(String name,
Schema schema)
Adds a child schema of this schema.
|
SchemaPlus |
CalciteSchema.SchemaPlusImpl.add(String name,
Schema schema) |
CalciteSchema |
SimpleCalciteSchema.add(String name,
Schema schema) |
| Modifier and Type | Class and Description |
|---|---|
private static class |
RelOptTableImpl.MySchemaPlus
Implementation of
SchemaPlus that wraps a regular schema and knows
its name and parent. |
| Modifier and Type | Field and Description |
|---|---|
private Schema |
RelOptTableImpl.MySchemaPlus.schema |
| Modifier and Type | Method and Description |
|---|---|
Schema |
RelOptTableImpl.MySchemaPlus.snapshot(SchemaVersion version) |
| Modifier and Type | Method and Description |
|---|---|
SchemaPlus |
RelOptTableImpl.MySchemaPlus.add(String name,
Schema schema) |
| Constructor and Description |
|---|
MySchemaPlus(SchemaPlus parent,
String name,
Schema schema) |
| Constructor and Description |
|---|
RelJsonReader(RelOptCluster cluster,
RelOptSchema relOptSchema,
Schema schema) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SchemaPlus
Extension to the
Schema interface. |
interface |
SemiMutableSchema
Schema to which materializations can be added.
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.ImmutableList<Pair<String,Schema>> |
Schemas.PathImpl.pairs |
| Modifier and Type | Method and Description |
|---|---|
Schema |
SchemaFactory.create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand)
Creates a Schema.
|
Schema |
Schema.getSubSchema(String name)
Returns a sub-schema with a given name, or null.
|
Schema |
Schema.snapshot(SchemaVersion version)
Returns the snapshot of this schema as of the specified time.
|
| Modifier and Type | Method and Description |
|---|---|
Pair<String,Schema> |
Schemas.PathImpl.get(int index) |
List<Schema> |
Path.schemas()
Returns the schemas of this path.
|
List<Schema> |
Schemas.PathImpl.schemas() |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Schemas.PathImpl |
Schemas.path(com.google.common.collect.ImmutableList<Pair<String,Schema>> build) |
| Constructor and Description |
|---|
PathImpl(com.google.common.collect.ImmutableList<Pair<String,Schema>> pairs) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSchema
Abstract implementation of
Schema. |
class |
DelegatingSchema
Implementation of
Schema that delegates to
an underlying schema. |
| Modifier and Type | Field and Description |
|---|---|
protected Schema |
DelegatingSchema.schema |
| Modifier and Type | Method and Description |
|---|---|
Schema |
AbstractSchema.Factory.create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand) |
Schema |
DelegatingSchema.getSubSchema(String name) |
Schema |
AbstractSchema.getSubSchema(String name) |
Schema |
DelegatingSchema.snapshot(SchemaVersion version) |
Schema |
AbstractSchema.snapshot(SchemaVersion version) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Schema> |
AbstractSchema.getSubSchemaMap()
Returns a map of sub-schemas in this schema by name.
|
| Constructor and Description |
|---|
DelegatingSchema(Schema schema)
Creates a DelegatingSchema.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.