|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Schemata.Table
Information about a queryable table.
Method Summary | |
---|---|
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. |
Method Detail |
---|
SelectorName getName()
Schemata.Column getColumn(String name)
The resulting column definition is immutable.
name
- the column name; may not be null
Map<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 key
boolean hasKey(Iterable<Schemata.Column> columns)
key
that contains exactly those columns listed.
columns
- the columns for the key
Schemata.Key getKey(Schemata.Column... columns)
key
that contains exactly those columns listed.
The resulting key definition is immutable.
columns
- the columns for the key
Schemata.Key getKey(Iterable<Schemata.Column> columns)
key
that contains exactly those columns listed.
The resulting key definition is immutable.
columns
- the columns for the key
boolean 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |