public interface BeamStateStore
Modifier and Type | Field and Description |
---|---|
static String |
PYTHON_STATE_PREFIX |
Modifier and Type | Method and Description |
---|---|
ListState<byte[]> |
getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
Parse
BeamFnApi.StateRequest and return the corresponding ListState . |
MapState<ByteArrayWrapper,byte[]> |
getMapState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
Parse
BeamFnApi.StateRequest and return the corresponding MapState . |
static BeamStateStore |
unsupported() |
static final String PYTHON_STATE_PREFIX
ListState<byte[]> getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request) throws Exception
BeamFnApi.StateRequest
and return the corresponding ListState
.Exception
MapState<ByteArrayWrapper,byte[]> getMapState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request) throws Exception
BeamFnApi.StateRequest
and return the corresponding MapState
.Exception
static BeamStateStore unsupported()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.