public final class HazelcastRootCalciteSchema
extends org.apache.calcite.jdbc.CalciteSchema
Calcite uses Schema
to store actual objects, and
CalciteSchema
as a wrapper. This class is a straightforward implementation of the former.
Located in the Calcite package because the required super constructor is package-private.
org.apache.calcite.jdbc.CalciteSchema.Entry, org.apache.calcite.jdbc.CalciteSchema.FunctionEntry, org.apache.calcite.jdbc.CalciteSchema.FunctionEntryImpl, org.apache.calcite.jdbc.CalciteSchema.LatticeEntry, org.apache.calcite.jdbc.CalciteSchema.LatticeEntryImpl, org.apache.calcite.jdbc.CalciteSchema.TableEntry, org.apache.calcite.jdbc.CalciteSchema.TableEntryImpl, org.apache.calcite.jdbc.CalciteSchema.TypeEntry, org.apache.calcite.jdbc.CalciteSchema.TypeEntryImpl
Constructor and Description |
---|
HazelcastRootCalciteSchema(com.hazelcast.jet.sql.impl.schema.HazelcastSchema schema) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.jdbc.CalciteSchema |
add(String arg0,
org.apache.calcite.schema.Schema arg1) |
protected void |
addImplicitFuncNamesToBuilder(com.google.common.collect.ImmutableSortedSet.Builder<String> arg0) |
protected void |
addImplicitFunctionsToBuilder(com.google.common.collect.ImmutableList.Builder<org.apache.calcite.schema.Function> arg0,
String arg1,
boolean arg2) |
protected void |
addImplicitSubSchemaToBuilder(com.google.common.collect.ImmutableSortedMap.Builder<String,org.apache.calcite.jdbc.CalciteSchema> arg0) |
protected void |
addImplicitTablesBasedOnNullaryFunctionsToBuilder(com.google.common.collect.ImmutableSortedMap.Builder<String,org.apache.calcite.schema.Table> arg0) |
protected void |
addImplicitTableToBuilder(com.google.common.collect.ImmutableSortedSet.Builder<String> arg0) |
protected void |
addImplicitTypeNamesToBuilder(com.google.common.collect.ImmutableSortedSet.Builder<String> arg0) |
org.apache.calcite.jdbc.CalciteSchema |
createSnapshot(org.apache.calcite.schema.SchemaVersion version) |
protected org.apache.calcite.jdbc.CalciteSchema |
getImplicitSubSchema(String arg0,
boolean arg1) |
protected org.apache.calcite.jdbc.CalciteSchema.TableEntry |
getImplicitTable(String arg0,
boolean arg1) |
protected org.apache.calcite.jdbc.CalciteSchema.TableEntry |
getImplicitTableBasedOnNullaryFunction(String arg0,
boolean arg1) |
protected org.apache.calcite.jdbc.CalciteSchema.TypeEntry |
getImplicitType(String arg0,
boolean arg1) |
protected boolean |
isCacheEnabled() |
void |
setCache(boolean arg0) |
protected org.apache.calcite.jdbc.CalciteSchema |
snapshot(org.apache.calcite.jdbc.CalciteSchema arg0,
org.apache.calcite.schema.SchemaVersion arg1) |
add, add, add, createRootSchema, createRootSchema, createRootSchema, createRootSchema, find, find, from, getFunctionNames, getFunctions, getLatticeMap, getName, getPath, getSubSchema, getSubSchemaMap, getTable, getTableBasedOnNullaryFunction, getTableBySql, getTableNames, getTablesBasedOnNullaryFunctions, getType, getTypeNames, isRoot, path, plus, removeFunction, removeSubSchema, removeTable, removeType, root, tableEntry, typeEntry
public HazelcastRootCalciteSchema(com.hazelcast.jet.sql.impl.schema.HazelcastSchema schema)
public org.apache.calcite.jdbc.CalciteSchema createSnapshot(org.apache.calcite.schema.SchemaVersion version)
createSnapshot
in class org.apache.calcite.jdbc.CalciteSchema
public void setCache(boolean arg0)
setCache
in class org.apache.calcite.jdbc.CalciteSchema
public org.apache.calcite.jdbc.CalciteSchema add(String arg0, org.apache.calcite.schema.Schema arg1)
add
in class org.apache.calcite.jdbc.CalciteSchema
protected org.apache.calcite.jdbc.CalciteSchema getImplicitSubSchema(String arg0, boolean arg1)
getImplicitSubSchema
in class org.apache.calcite.jdbc.CalciteSchema
protected org.apache.calcite.jdbc.CalciteSchema.TableEntry getImplicitTable(String arg0, boolean arg1)
getImplicitTable
in class org.apache.calcite.jdbc.CalciteSchema
protected org.apache.calcite.jdbc.CalciteSchema.TypeEntry getImplicitType(String arg0, boolean arg1)
getImplicitType
in class org.apache.calcite.jdbc.CalciteSchema
protected void addImplicitSubSchemaToBuilder(com.google.common.collect.ImmutableSortedMap.Builder<String,org.apache.calcite.jdbc.CalciteSchema> arg0)
addImplicitSubSchemaToBuilder
in class org.apache.calcite.jdbc.CalciteSchema
protected void addImplicitTableToBuilder(com.google.common.collect.ImmutableSortedSet.Builder<String> arg0)
addImplicitTableToBuilder
in class org.apache.calcite.jdbc.CalciteSchema
protected void addImplicitFunctionsToBuilder(com.google.common.collect.ImmutableList.Builder<org.apache.calcite.schema.Function> arg0, String arg1, boolean arg2)
addImplicitFunctionsToBuilder
in class org.apache.calcite.jdbc.CalciteSchema
protected void addImplicitFuncNamesToBuilder(com.google.common.collect.ImmutableSortedSet.Builder<String> arg0)
addImplicitFuncNamesToBuilder
in class org.apache.calcite.jdbc.CalciteSchema
protected void addImplicitTypeNamesToBuilder(com.google.common.collect.ImmutableSortedSet.Builder<String> arg0)
addImplicitTypeNamesToBuilder
in class org.apache.calcite.jdbc.CalciteSchema
protected void addImplicitTablesBasedOnNullaryFunctionsToBuilder(com.google.common.collect.ImmutableSortedMap.Builder<String,org.apache.calcite.schema.Table> arg0)
addImplicitTablesBasedOnNullaryFunctionsToBuilder
in class org.apache.calcite.jdbc.CalciteSchema
protected org.apache.calcite.jdbc.CalciteSchema.TableEntry getImplicitTableBasedOnNullaryFunction(String arg0, boolean arg1)
getImplicitTableBasedOnNullaryFunction
in class org.apache.calcite.jdbc.CalciteSchema
protected org.apache.calcite.jdbc.CalciteSchema snapshot(org.apache.calcite.jdbc.CalciteSchema arg0, org.apache.calcite.schema.SchemaVersion arg1)
snapshot
in class org.apache.calcite.jdbc.CalciteSchema
protected boolean isCacheEnabled()
isCacheEnabled
in class org.apache.calcite.jdbc.CalciteSchema
Copyright © 2024 Hazelcast, Inc.. All rights reserved.