Package com.terracottatech.store
Interface UpdateOperation.CellUpdateOperation<K extends Comparable<K>,T>
- Type Parameters:
K
- consumed record key typeT
- cell type
- All Superinterfaces:
UpdateOperation<K>
- Enclosing interface:
- UpdateOperation<K extends Comparable<K>>
public static interface UpdateOperation.CellUpdateOperation<K extends Comparable<K>,T>
extends UpdateOperation<K>
A single cell transform.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.terracottatech.store.UpdateOperation
UpdateOperation.BoolWriteOperationBuilder, UpdateOperation.CellUpdateOperation<K extends Comparable<K>,
T>, UpdateOperation.DoubleWriteOperationBuilder, UpdateOperation.IntWriteOperationBuilder, UpdateOperation.LongWriteOperationBuilder, UpdateOperation.WriteOperationBuilder<T, D extends CellDefinition<T>> -
Method Summary
Modifier and TypeMethodDescriptionApplies this transform to the given record.cell()
Returns the cell to be written or an empty optional to remove.Returns the cell definition modified by this transform.
-
Method Details
-
definition
CellDefinition<T> definition()Returns the cell definition modified by this transform.- Returns:
- the modified definition
-
cell
Returns the cell to be written or an empty optional to remove.- Returns:
- the cell to be written
-
apply
Description copied from interface:UpdateOperation
Applies this transform to the given record.- Specified by:
apply
in interfaceUpdateOperation<K extends Comparable<K>>
- Parameters:
r
- the incoming record- Returns:
- the resultant cells
-