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.Key
getColumns
in interface Schemata.Key
public boolean hasColumns(Schemata.Column... columns)
Schemata.Key
hasColumns
in interface Schemata.Key
columns
- the columns for the keypublic boolean hasColumns(Iterable<Schemata.Column> columns)
Schemata.Key
hasColumns
in interface Schemata.Key
columns
- the columns for the keyCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.