public class OperatorBackendSerializationProxy extends VersionedIOReadableWritable
Modifier and Type | Class and Description |
---|---|
static class |
OperatorBackendSerializationProxy.StateMetaInfo<S> |
Constructor and Description |
---|
OperatorBackendSerializationProxy(ClassLoader userCodeClassLoader) |
OperatorBackendSerializationProxy(List<OperatorBackendSerializationProxy.StateMetaInfo<?>> namedStateSerializationProxies) |
Modifier and Type | Method and Description |
---|---|
List<OperatorBackendSerializationProxy.StateMetaInfo<?>> |
getNamedStateSerializationProxies() |
int |
getVersion()
Returns the version number of the object.
|
void |
read(DataInputView out)
Reads the object's internal data from the given data input view.
|
void |
write(DataOutputView out)
Writes the object's internal data to the given data output view.
|
isCompatibleVersion, resolveVersionRead
public OperatorBackendSerializationProxy(ClassLoader userCodeClassLoader)
public OperatorBackendSerializationProxy(List<OperatorBackendSerializationProxy.StateMetaInfo<?>> namedStateSerializationProxies)
public int getVersion()
Versioned
public void write(DataOutputView out) throws IOException
IOReadableWritable
write
in interface IOReadableWritable
write
in class VersionedIOReadableWritable
out
- the output view to receive the data.IOException
- thrown if any error occurs while writing to the output streampublic void read(DataInputView out) throws IOException
IOReadableWritable
read
in interface IOReadableWritable
read
in class VersionedIOReadableWritable
out
- the input view to read the data fromIOException
- thrown if any error occurs while reading from the input streampublic List<OperatorBackendSerializationProxy.StateMetaInfo<?>> getNamedStateSerializationProxies()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.