public class DynamicRootSchema extends DynamicSchema
CalciteSchema.getSubSchema(String, boolean)
is called.Modifier and Type | Class and Description |
---|---|
static class |
DynamicRootSchema.RootSchema |
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
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) |
protected org.apache.calcite.jdbc.CalciteSchema |
getImplicitSubSchema(String schemaName,
boolean caseSensitive) |
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() |
SchemaPath |
resolveTableAlias(String alias) |
void |
setCache(boolean arg0) |
protected org.apache.calcite.jdbc.CalciteSchema |
snapshot(org.apache.calcite.jdbc.CalciteSchema arg0,
org.apache.calcite.schema.SchemaVersion arg1) |
close, createRootSchema
add, add, add, createRootSchema, createRootSchema, createRootSchema, createRootSchema, createSnapshot, 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
protected org.apache.calcite.jdbc.CalciteSchema getImplicitSubSchema(String schemaName, boolean caseSensitive)
getImplicitSubSchema
in class DynamicSchema
public SchemaPath resolveTableAlias(String alias)
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.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 © 1970 The Apache Software Foundation. All rights reserved.