Class InnodbSchema
java.lang.Object
org.apache.calcite.schema.impl.AbstractSchema
org.apache.calcite.adapter.innodb.InnodbSchema
- All Implemented Interfaces:
Schema
Schema for an InnoDB data source.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.schema.impl.AbstractSchema
AbstractSchema.FactoryNested classes/interfaces inherited from interface org.apache.calcite.schema.Schema
Schema.TableType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.alibaba.innodb.java.reader.schema.TableDefgetTableDef(String tableName) Return table definition.Returns a map of tables in this schema by name.Methods inherited from class org.apache.calcite.schema.impl.AbstractSchema
getExpression, getFunctionMultimap, getFunctionNames, getFunctions, getSubSchema, getSubSchemaMap, getSubSchemaNames, getTable, getTableNames, getType, getTypeMap, getTypeNames, isMutable, snapshot, subSchemas, tables
-
Constructor Details
-
InnodbSchema
-
-
Method Details
-
getTableDef
Return table definition. -
getTableMap
Description copied from class:AbstractSchemaReturns a map of tables in this schema by name.The implementations of
AbstractSchema.getTableNames()andAbstractSchema.getTable(String)depend on this map. The default implementation of this method returns the empty map. Override this method to change their behavior.- Overrides:
getTableMapin classAbstractSchema- Returns:
- Map of tables in this schema by name
-