public static class SimpleBuilders.MutationBuilder extends java.lang.Object implements Mutation.SimpleBuilder
| Constructor and Description |
|---|
MutationBuilder(java.lang.String keyspaceName,
DecoratedKey key) |
| Modifier and Type | Method and Description |
|---|---|
Mutation |
build()
Build the mutation represented by this builder.
|
PartitionUpdate.SimpleBuilder |
update(CFMetaData metadata)
Adds an update for table identified by the provided metadata and return a builder for that partition.
|
PartitionUpdate.SimpleBuilder |
update(java.lang.String tableName)
Adds an update for table identified by the provided name and return a builder for that partition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittimestamp, ttlpublic MutationBuilder(java.lang.String keyspaceName,
DecoratedKey key)
public PartitionUpdate.SimpleBuilder update(CFMetaData metadata)
Mutation.SimpleBuilderupdate in interface Mutation.SimpleBuildermetadata - the metadata of the table for which to add an update.metadata (and the partition key for which this is a
mutation of).public PartitionUpdate.SimpleBuilder update(java.lang.String tableName)
Mutation.SimpleBuilderupdate in interface Mutation.SimpleBuildertableName - the name of the table for which to add an update.metadata (and the partition key for which this is a
mutation of).public Mutation build()
Mutation.SimpleBuilderbuild in interface Mutation.SimpleBuilderCopyright © 2018 The Apache Software Foundation