public abstract class InfoSchemaTable<S> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InfoSchemaTable.Catalogs
Layout for the CATALOGS table.
|
static class |
InfoSchemaTable.Columns
Layout for the COLUMNS table.
|
static class |
InfoSchemaTable.Field |
static class |
InfoSchemaTable.Schemata
Layout for the SCHEMATA table.
|
static class |
InfoSchemaTable.Tables
Layout for the TABLES table.
|
static class |
InfoSchemaTable.Views
Layout for the VIEWS table.
|
| Modifier and Type | Field and Description |
|---|---|
static TypeProtos.MajorType |
INT |
static TypeProtos.MajorType |
VARCHAR |
| Constructor and Description |
|---|
InfoSchemaTable(String tableName,
List<InfoSchemaTable.Field> fields) |
| Modifier and Type | Method and Description |
|---|---|
abstract InfoSchemaRecordGenerator<S> |
getRecordGenerator(OptionManager optionManager) |
static org.apache.calcite.rel.type.RelDataType |
getRelDataType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
TypeProtos.MajorType type) |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
public static final TypeProtos.MajorType VARCHAR
public static final TypeProtos.MajorType INT
public InfoSchemaTable(String tableName, List<InfoSchemaTable.Field> fields)
public static org.apache.calcite.rel.type.RelDataType getRelDataType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
TypeProtos.MajorType type)
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
public abstract InfoSchemaRecordGenerator<S> getRecordGenerator(OptionManager optionManager)
Copyright © 2017 The Apache Software Foundation. All rights reserved.