class MetadataSchema extends AbstractSchema
AbstractSchema.Factory
Schema.TableType
Modifier and Type | Field and Description |
---|---|
static Schema |
INSTANCE |
private static java.util.Map<java.lang.String,Table> |
TABLE_MAP |
Modifier | Constructor and Description |
---|---|
private |
MetadataSchema()
Creates the data dictionary, also called the information schema.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,Table> |
getTableMap()
Returns a map of tables in this schema by name.
|
getExpression, getFunctionMultimap, getFunctionNames, getFunctions, getSubSchema, getSubSchemaMap, getSubSchemaNames, getTable, getTableNames, getType, getTypeMap, getTypeNames, isMutable, snapshot
private static final java.util.Map<java.lang.String,Table> TABLE_MAP
public static final Schema INSTANCE
private MetadataSchema()
protected java.util.Map<java.lang.String,Table> getTableMap()
AbstractSchema
The implementations of AbstractSchema.getTableNames()
and AbstractSchema.getTable(String)
depend on this map.
The default implementation of this method returns the empty map.
Override this method to change their behavior.
getTableMap
in class AbstractSchema
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.