public static interface Schemata.Table
Modifier and Type | Method and Description |
---|---|
Schemata.Column |
getColumn(String name)
Get the information for a column with the supplied name within this table.
|
List<Schemata.Column> |
getColumns()
Get the queryable columns in this table.
|
Map<String,Schemata.Column> |
getColumnsByName()
Get the queryable columns in this table.
|
Schemata.Key |
getKey(Iterable<Schemata.Column> columns)
Obtain this table's
key that contains exactly those columns listed. |
Schemata.Key |
getKey(Schemata.Column... columns)
Obtain this table's
key that contains exactly those columns listed. |
Collection<Schemata.Key> |
getKeys()
Get the collection of keys for this table.
|
SelectorName |
getName()
Get the name for this table.
|
List<Schemata.Column> |
getSelectAllColumns()
Get the queryable columns in this table that should be used in case of "SELECT *".
|
Map<String,Schemata.Column> |
getSelectAllColumnsByName()
Get the queryable columns in this table that should be used in case of "SELECT *".
|
boolean |
hasExtraColumns()
Determine whether this table allows has extra columns not included in the
column list . |
boolean |
hasKey(Iterable<Schemata.Column> columns)
Determine whether this table has a
key that contains exactly those columns listed. |
boolean |
hasKey(Schemata.Column... columns)
Determine whether this table has a
key that contains exactly those columns listed. |
SelectorName getName()
Schemata.Column getColumn(String name)
The resulting column definition is immutable.
name
- the column name; may not be nullMap<String,Schemata.Column> getColumnsByName()
List<Schemata.Column> getColumns()
List<Schemata.Column> getSelectAllColumns()
Map<String,Schemata.Column> getSelectAllColumnsByName()
Collection<Schemata.Key> getKeys()
boolean hasKey(Schemata.Column... columns)
key
that contains exactly those columns listed.columns
- the columns for the keyboolean hasKey(Iterable<Schemata.Column> columns)
key
that contains exactly those columns listed.columns
- the columns for the keySchemata.Key getKey(Schemata.Column... columns)
key
that contains exactly those columns listed.
The resulting key definition is immutable.
columns
- the columns for the keySchemata.Key getKey(Iterable<Schemata.Column> columns)
key
that contains exactly those columns listed.
The resulting key definition is immutable.
columns
- the columns for the keyboolean hasExtraColumns()
column list
. This value
is used to determine whether columns in a SELECT clause should be validated against the list of known columns.list of columns
is complete for this
table.Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.