StateT - The type of state being tagged.@Experimental(value=STATE) public interface StateTag<StateT extends State> extends Serializable
State can be thought of as a sparse table, with each StateTag defining a column
that has cells of type StateT.
Currently, this can only be used in a step immediately following a GroupByKey.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
StateTag.StateBinder
|
| Modifier and Type | Method and Description |
|---|---|
StateT |
bind(StateTag.StateBinder binder)
Use the
binder to create an instance of StateT appropriate for this address. |
String |
getId()
Returns the identifier for this state cell.
|
String getId()
StateT bind(StateTag.StateBinder binder)
binder to create an instance of StateT appropriate for this address.