|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kitesdk.data.Key.Builder
public static class Key.Builder
A fluent builder to aid in the construction of Key objects.
| Constructor Summary | |
|---|---|
Key.Builder(RandomAccessDataset dataset)
Construct a Key.Builder for a RandomAccessDataset. |
|
| Method Summary | |
|---|---|
Key.Builder |
add(String name,
Object value)
Add a key value for the named field. |
Key |
build()
Build an instance of the configured key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Key.Builder(RandomAccessDataset dataset)
Key.Builder for a RandomAccessDataset.
| Method Detail |
|---|
public Key.Builder add(String name,
Object value)
IllegalArgumentException - If the there is no key field named
name for this builder's dataset.public Key build()
IllegalStateException - If any required key field is missing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||