public class ImmutableKey extends Object implements Schemata.Key
| Modifier | Constructor and Description |
|---|---|
protected |
ImmutableKey(Iterable<Schemata.Column> columns) |
protected |
ImmutableKey(Schemata.Column... columns) |
| Modifier and Type | Method and Description |
|---|---|
Set<Schemata.Column> |
getColumns()
Get the columns that make up this key.
|
boolean |
hasColumns(Iterable<Schemata.Column> columns)
Determine whether this key contains exactly those columns listed.
|
boolean |
hasColumns(Schemata.Column... columns)
Determine whether this key contains exactly those columns listed.
|
String |
toString() |
protected ImmutableKey(Iterable<Schemata.Column> columns)
protected ImmutableKey(Schemata.Column... columns)
public Set<Schemata.Column> getColumns()
Schemata.KeygetColumns in interface Schemata.Keypublic boolean hasColumns(Schemata.Column... columns)
Schemata.KeyhasColumns in interface Schemata.Keycolumns - the columns for the keypublic boolean hasColumns(Iterable<Schemata.Column> columns)
Schemata.KeyhasColumns in interface Schemata.Keycolumns - the columns for the keyCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.