public class TableResolution
extends java.lang.Object
Constructor and Description |
---|
TableResolution() |
Modifier and Type | Method and Description |
---|---|
static void |
registerTables(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.schema.SchemaPlus schemaPlus,
java.util.List<java.util.List<java.lang.String>> tables)
Registers tables that will be resolved during query analysis, so table providers can eagerly
pre-load metadata.
|
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.schema.Table |
resolveCalciteTable(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.schema.SchemaPlus schemaPlus,
java.util.List<java.lang.String> tablePath)
Resolves
tablePath according to the given schemaPlus . |
public static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.schema.Table resolveCalciteTable(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.schema.SchemaPlus schemaPlus, java.util.List<java.lang.String> tablePath)
tablePath
according to the given schemaPlus
.
tablePath
represents a structured table name where the last component is the name of
the table and all the preceding components are sub-schemas / namespaces within schemaPlus
.
public static void registerTables(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.schema.SchemaPlus schemaPlus, java.util.List<java.util.List<java.lang.String>> tables)