public static class OperatorBackendSerializationProxy.StateMetaInfo<S> extends Object implements IOReadableWritable
Constructor and Description |
---|
StateMetaInfo(ClassLoader userClassLoader) |
StateMetaInfo(String name,
TypeSerializer<S> stateSerializer,
OperatorStateHandle.Mode mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
OperatorStateHandle.Mode |
getMode() |
String |
getName() |
TypeSerializer<S> |
getStateSerializer() |
int |
hashCode() |
void |
read(DataInputView in)
Reads the object's internal data from the given data input view.
|
void |
setMode(OperatorStateHandle.Mode mode) |
void |
setName(String name) |
void |
setStateSerializer(TypeSerializer<S> stateSerializer) |
void |
write(DataOutputView out)
Writes the object's internal data to the given data output view.
|
@VisibleForTesting public StateMetaInfo(ClassLoader userClassLoader)
public StateMetaInfo(String name, TypeSerializer<S> stateSerializer, OperatorStateHandle.Mode mode)
public String getName()
public void setName(String name)
public TypeSerializer<S> getStateSerializer()
public void setStateSerializer(TypeSerializer<S> stateSerializer)
public OperatorStateHandle.Mode getMode()
public void setMode(OperatorStateHandle.Mode mode)
public void write(DataOutputView out) throws IOException
IOReadableWritable
write
in interface IOReadableWritable
out
- the output view to receive the data.IOException
- thrown if any error occurs while writing to the output streampublic void read(DataInputView in) throws IOException
IOReadableWritable
read
in interface IOReadableWritable
in
- the input view to read the data fromIOException
- thrown if any error occurs while reading from the input streamCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.