Interface Transform.Context
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
TransformContextImpl
public static interface Transform.Context extends java.io.Serializable
Context of the transform.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getBroadcastVariable(java.io.Serializable id)
java.util.Optional<java.lang.String>
getSerializedData()
Retrieve the serialized data on the executor.void
setSerializedData(java.lang.String serializedData)
Put serialized data to send to the executor.
-
-
-
Method Detail
-
getBroadcastVariable
java.lang.Object getBroadcastVariable(java.io.Serializable id)
- Parameters:
id
- of the variable to get.- Returns:
- the broadcast variable.
-
setSerializedData
void setSerializedData(java.lang.String serializedData)
Put serialized data to send to the executor.- Parameters:
serializedData
- the serialized data.
-
getSerializedData
java.util.Optional<java.lang.String> getSerializedData()
Retrieve the serialized data on the executor.- Returns:
- the serialized data.
-
-