public class MockCatalogReaderSimple extends MockCatalogReader
MockCatalogReader.ColumnResolver, MockCatalogReader.MockDynamicTable, MockCatalogReader.MockModifiableViewRelOptTable, MockCatalogReader.MockRelViewTable, MockCatalogReader.MockSchema, MockCatalogReader.MockTable, MockCatalogReader.MockViewTable| 限定符 | 构造器和说明 |
|---|---|
protected |
MockCatalogReaderSimple(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
boolean caseSensitive)
Creates a MockCatalogReader.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static @NonNull MockCatalogReaderSimple |
create(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
boolean caseSensitive)
Creates and initializes a MockCatalogReaderSimple.
|
org.apache.calcite.rel.type.RelDataType |
getNamedType(org.apache.calcite.sql.SqlIdentifier typeName) |
MockCatalogReaderSimple |
init()
Initializes this catalog reader.
|
isCaseSensitive, nameMatcher, registerSchema, registerTable, registerTablesWithRollUp, registerTypecreateTypeFromProjection, field, getAllSchemaObjectNames, getConfig, getOperatorList, getRootSchema, getSchemaPaths, getTable, getTableForMember, getTypeFactory, lookupOperatorOverloads, matches, operatorTable, registerRules, unwrap, withSchemaPathprotected MockCatalogReaderSimple(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
boolean caseSensitive)
Caller must then call init() to populate with data;
constructor is protected to encourage you to call create(org.apache.calcite.rel.type.RelDataTypeFactory, boolean).
typeFactory - Type factorycaseSensitive - case sensitivitypublic static @NonNull MockCatalogReaderSimple create(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory, boolean caseSensitive)
public org.apache.calcite.rel.type.RelDataType getNamedType(org.apache.calcite.sql.SqlIdentifier typeName)
getNamedType 在接口中 org.apache.calcite.sql.validate.SqlValidatorCatalogReadergetNamedType 在类中 org.apache.calcite.prepare.CalciteCatalogReaderpublic MockCatalogReaderSimple init()
MockCatalogReaderinit 在类中 MockCatalogReaderCopyright © 2012-2023 Apache Software Foundation. All Rights Reserved.