Package | Description |
---|---|
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.prepare |
Preparation of queries (parsing, planning and implementation).
|
org.apache.calcite.rel.externalize |
Facilities to externalize
RelNode s 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,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> operand) |
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,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> operand) |
Modifier and Type | Class and Description |
---|---|
class |
JdbcCatalogSchema
Schema based upon a JDBC catalog (database).
|
class |
JdbcSchema
Implementation of
Schema that is backed by a JDBC data source. |
Modifier and Type | Field and Description |
---|---|
(package private) com.google.common.collect.ImmutableMap<java.lang.String,Schema> |
JdbcCatalogSchema.SubSchemaMap.map |
Modifier and Type | Method and Description |
---|---|
Schema |
JdbcSchema.Factory.create(SchemaPlus parentSchema,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> operand) |
Schema |
JdbcSchema.getSubSchema(java.lang.String name) |
Schema |
JdbcSchema.snapshot(SchemaVersion version) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,Schema> |
JdbcCatalogSchema.getSubSchemaMap() |
Constructor and Description |
---|
SubSchemaMap(java.lang.String defaultSchemaName,
com.google.common.collect.ImmutableMap<java.lang.String,Schema> map) |
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 |
SimpleCalciteSchema.add(java.lang.String name,
Schema schema) |
CalciteSchema |
CachingCalciteSchema.add(java.lang.String name,
Schema schema)
Adds a child schema of this schema.
|
abstract CalciteSchema |
CalciteSchema.add(java.lang.String name,
Schema schema)
Adds a child schema of this schema.
|
SchemaPlus |
CalciteSchema.SchemaPlusImpl.add(java.lang.String name,
Schema schema) |
static CalciteSchema |
CalciteSchema.createRootSchema(boolean addMetadataSchema,
boolean cache,
java.lang.String name,
Schema schema) |
Constructor and Description |
---|
CachingCalciteSchema(CalciteSchema parent,
Schema schema,
java.lang.String name)
Creates a CachingCalciteSchema.
|
CachingCalciteSchema(CalciteSchema parent,
Schema schema,
java.lang.String name,
NameMap<CalciteSchema> subSchemaMap,
NameMap<CalciteSchema.TableEntry> tableMap,
NameMap<CalciteSchema.LatticeEntry> latticeMap,
NameMap<CalciteSchema.TypeEntry> typeMap,
NameMultimap<CalciteSchema.FunctionEntry> functionMap,
NameSet functionNames,
NameMap<CalciteSchema.FunctionEntry> nullaryFunctionMap,
java.util.List<? extends java.util.List<java.lang.String>> path) |
CalciteRootSchema(Schema schema)
Deprecated.
Creates a root schema.
|
CalciteSchema(CalciteSchema parent,
Schema schema,
java.lang.String name,
NameMap<CalciteSchema> subSchemaMap,
NameMap<CalciteSchema.TableEntry> tableMap,
NameMap<CalciteSchema.LatticeEntry> latticeMap,
NameMap<CalciteSchema.TypeEntry> typeMap,
NameMultimap<CalciteSchema.FunctionEntry> functionMap,
NameSet functionNames,
NameMap<CalciteSchema.FunctionEntry> nullaryFunctionMap,
java.util.List<? extends java.util.List<java.lang.String>> path) |
SimpleCalciteSchema(CalciteSchema parent,
Schema schema,
java.lang.String name)
Creates a SimpleCalciteSchema.
|
SimpleCalciteSchema(CalciteSchema parent,
Schema schema,
java.lang.String name,
NameMap<CalciteSchema> subSchemaMap,
NameMap<CalciteSchema.TableEntry> tableMap,
NameMap<CalciteSchema.LatticeEntry> latticeMap,
NameMap<CalciteSchema.TypeEntry> typeMap,
NameMultimap<CalciteSchema.FunctionEntry> functionMap,
NameSet functionNames,
NameMap<CalciteSchema.FunctionEntry> nullaryFunctionMap,
java.util.List<? extends java.util.List<java.lang.String>> path) |
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(java.lang.String name,
Schema schema) |
Constructor and Description |
---|
MySchemaPlus(SchemaPlus parent,
java.lang.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<java.lang.String,Schema>> |
Schemas.PathImpl.pairs |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaFactory.create(SchemaPlus parentSchema,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> operand)
Creates a Schema.
|
Schema |
Schema.getSubSchema(java.lang.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<java.lang.String,Schema> |
Schemas.PathImpl.get(int index) |
java.util.List<Schema> |
Schemas.PathImpl.schemas() |
java.util.List<Schema> |
Path.schemas()
Returns the schemas of this path.
|
Modifier and Type | Method and Description |
---|---|
SchemaPlus |
SchemaPlus.add(java.lang.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<java.lang.String,Schema>> build) |
Constructor and Description |
---|
PathImpl(com.google.common.collect.ImmutableList<Pair<java.lang.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,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> operand) |
Schema |
AbstractSchema.getSubSchema(java.lang.String name) |
Schema |
DelegatingSchema.getSubSchema(java.lang.String name) |
Schema |
AbstractSchema.snapshot(SchemaVersion version) |
Schema |
DelegatingSchema.snapshot(SchemaVersion version) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.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–2019 The Apache Software Foundation. All rights reserved.