@InternalExtensionOnly
public interface MutationApi<T extends MutationApi<T>>
Modifier and Type | Method and Description |
---|---|
T |
deleteCells(String familyName,
ByteString qualifier)
Adds a mutation which deletes cells from the specified column.
|
T |
deleteCells(String familyName,
ByteString qualifier,
Range.TimestampRange timestampRange)
Adds a mutation which deletes cells from the specified column, restricted to a given timestamp
range.
|
T |
deleteCells(String familyName,
String qualifier)
Adds a mutation which deletes cells from the specified column.
|
T |
deleteFamily(String familyName)
Adds a mutation which deletes all cells from the specified column family.
|
T |
deleteRow()
Adds a mutation which deletes all cells from the containing row.
|
T |
setCell(String familyName,
ByteString qualifier,
ByteString value)
Adds a mutation which sets the value of the specified cell.
|
T |
setCell(String familyName,
ByteString qualifier,
long timestamp,
ByteString value)
Adds a mutation which sets the value of the specified cell.
|
T |
setCell(String familyName,
String qualifier,
long timestamp,
String value)
Adds a mutation which sets the value of the specified cell.
|
T |
setCell(String familyName,
String qualifier,
String value)
Adds a mutation which sets the value of the specified cell.
|
T setCell(@Nonnull String familyName, @Nonnull String qualifier, @Nonnull String value)
This a convenience method that converts Strings to ByteStrings and uses microseconds since epoch as the timestamp.
T setCell(@Nonnull String familyName, @Nonnull String qualifier, long timestamp, @Nonnull String value)
This is a convenience override that converts Strings to ByteStrings.
T setCell(@Nonnull String familyName, @Nonnull ByteString qualifier, @Nonnull ByteString value)
Uses microseconds since epoch as the timestamp.
T setCell(@Nonnull String familyName, @Nonnull ByteString qualifier, long timestamp, @Nonnull ByteString value)
T deleteCells(@Nonnull String familyName, @Nonnull String qualifier)
T deleteCells(@Nonnull String familyName, @Nonnull ByteString qualifier)
T deleteCells(@Nonnull String familyName, @Nonnull ByteString qualifier, @Nonnull Range.TimestampRange timestampRange)
familyName
- The family name.qualifier
- The qualifier.timestampRange
- The timestamp range in microseconds.T deleteFamily(@Nonnull String familyName)
T deleteRow()
Copyright © 2019 Google LLC. All rights reserved.