@InternalExtensionOnly
public interface MutationApi<T extends MutationApi<T>>
| Modifier and Type | Method and Description |
|---|---|
default T |
addToCell(String familyName,
com.google.protobuf.ByteString qualifier,
long timestamp,
long input)
Adds an int64 value to an aggregate cell.
|
default T |
addToCell(String familyName,
String qualifier,
long timestamp,
long value)
Adds an int64 value to an aggregate cell.
|
T |
addToCell(String familyName,
Value qualifier,
Value timestamp,
Value input)
Adds a
Value to an aggregate cell. |
T |
deleteCells(String familyName,
com.google.protobuf.ByteString qualifier)
Adds a mutation which deletes cells from the specified column.
|
T |
deleteCells(String familyName,
com.google.protobuf.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.
|
default T |
mergeToCell(String familyName,
com.google.protobuf.ByteString qualifier,
long timestamp,
com.google.protobuf.ByteString input)
Merges a ByteString accumulator value to a cell in an aggregate column family.
|
default T |
mergeToCell(String familyName,
String qualifier,
long timestamp,
com.google.protobuf.ByteString value)
Merges a ByteString accumulator value to a cell in an aggregate column family.
|
T |
mergeToCell(String familyName,
Value qualifier,
Value timestamp,
Value input)
Merges a
Value accumulator to an aggregate cell. |
T |
setCell(String familyName,
com.google.protobuf.ByteString qualifier,
com.google.protobuf.ByteString value)
Adds a mutation which sets the value of the specified cell.
|
T |
setCell(String familyName,
com.google.protobuf.ByteString qualifier,
long value)
Adds a mutation which sets the value of the specified cell.
|
T |
setCell(String familyName,
com.google.protobuf.ByteString qualifier,
long timestamp,
com.google.protobuf.ByteString value)
Adds a mutation which sets the value of the specified cell.
|
T |
setCell(String familyName,
com.google.protobuf.ByteString qualifier,
long timestamp,
long value)
Adds a mutation which sets the value of the specified cell.
|
T |
setCell(String familyName,
String qualifier,
long value)
Adds a mutation which sets the value of the specified cell.
|
T |
setCell(String familyName,
String qualifier,
long timestamp,
long 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.
Note: The timestamp values are in microseconds but must match the granularity of the table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond granularity). For example: `1571902339435000`.
T setCell(@Nonnull String familyName, @Nonnull com.google.protobuf.ByteString qualifier, @Nonnull com.google.protobuf.ByteString value)
Uses microseconds since epoch as the timestamp.
T setCell(@Nonnull String familyName, @Nonnull com.google.protobuf.ByteString qualifier, long timestamp, @Nonnull com.google.protobuf.ByteString value)
Note: The timestamp values are in microseconds but must match the granularity of the table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond granularity). For example: `1571902339435000`.
T setCell(@Nonnull String familyName, @Nonnull String qualifier, long value)
This a convenience method that converts Strings to ByteStrings and uses microseconds since epoch as the timestamp. Also it accepts long value.
T setCell(@Nonnull String familyName, @Nonnull String qualifier, long timestamp, long value)
This is a convenience override that converts Strings to ByteStrings.
Note: The timestamp values are in microseconds but must match the granularity of the table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond granularity). For example: `1571902339435000`.
T setCell(@Nonnull String familyName, @Nonnull com.google.protobuf.ByteString qualifier, long value)
Uses microseconds since epoch as the timestamp.
T setCell(@Nonnull String familyName, @Nonnull com.google.protobuf.ByteString qualifier, long timestamp, long value)
Note: The timestamp values are in microseconds but must match the granularity of the table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond granularity). For example: `1571902339435000`.
T deleteCells(@Nonnull String familyName, @Nonnull String qualifier)
T deleteCells(@Nonnull String familyName, @Nonnull com.google.protobuf.ByteString qualifier)
T deleteCells(@Nonnull String familyName, @Nonnull com.google.protobuf.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()
default T addToCell(@Nonnull String familyName, @Nonnull String qualifier, long timestamp, long value)
This is a convenience override that converts Strings to ByteStrings.
Note: The timestamp values are in microseconds but must match the granularity of the table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond granularity). For example: `1571902339435000`.
default T mergeToCell(@Nonnull String familyName, @Nonnull String qualifier, long timestamp, com.google.protobuf.ByteString value)
This is a convenience override that converts Strings to ByteStrings.
Note: The timestamp values are in microseconds but must match the granularity of the table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond granularity). For example: `1571902339435000`.
default T addToCell(@Nonnull String familyName, @Nonnull com.google.protobuf.ByteString qualifier, long timestamp, long input)
Note: The timestamp values are in microseconds but must match the granularity of the table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond granularity). For example: `1571902339435000`.
default T mergeToCell(@Nonnull String familyName, @Nonnull com.google.protobuf.ByteString qualifier, long timestamp, com.google.protobuf.ByteString input)
Note: The timestamp values are in microseconds but must match the granularity of the table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond granularity). For example: `1571902339435000`.
T addToCell(@Nonnull String familyName, @Nonnull Value qualifier, @Nonnull Value timestamp, @Nonnull Value input)
Value to an aggregate cell. The column family must be an aggregate family and
have an input type matching the type of Value or this mutation will be rejected.
Note: The timestamp values are in microseconds but must match the granularity of the table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond granularity). For example: `1571902339435000`.
T mergeToCell(@Nonnull String familyName, @Nonnull Value qualifier, @Nonnull Value timestamp, @Nonnull Value input)
Value accumulator to an aggregate cell. The column family must be an aggregate
family or this mutation will be rejected.
Note: The timestamp values are in microseconds but must match the granularity of the table(defaults to `MILLIS`). Therefore, the given value must be a multiple of 1000 (millisecond granularity). For example: `1571902339435000`.
Copyright © 2026 Google LLC. All rights reserved.