public class DefaultTableAliasedSchema extends AbstractSchema implements WrappingSchema
Schema wrapper which exposes an AliasTable "default_table" for convenience when the
table count is 1.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TABLE_NAME |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of this Schema
|
String |
getQuote()
Gets an optional quote string that is used to enclose the name of this
structure.
|
List<Table> |
getTables()
Gets all tables in this Schema.
|
Schema |
getWrappedSchema()
Gets the
Schema that is wrapped by this WrappingSchema. |
static Schema |
wrapIfAppropriate(Schema schema) |
compareTo, equals, getQualifiedLabel, getQuotedName, getRelationshipCount, getRelationships, getTable, getTableByName, getTableCount, getTableCount, getTableNames, getTables, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetRelationshipCount, getRelationships, getTable, getTableByName, getTableCount, getTableCount, getTableNames, getTablescompareTogetQualifiedLabel, getQuotedNamepublic static final String DEFAULT_TABLE_NAME
public Schema getWrappedSchema()
WrappingSchemaSchema that is wrapped by this WrappingSchema.getWrappedSchema in interface WrappingSchemapublic String getName()
Schemapublic List<Table> getTables()
Schemapublic String getQuote()
NamedStructuregetQuote in interface NamedStructureCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.