Class PythonKeyedBroadcastStateTransformation<OUT>

java.lang.Object
org.apache.flink.api.dag.Transformation<T>
org.apache.flink.streaming.api.transformations.PhysicalTransformation<OUT>
org.apache.flink.streaming.api.transformations.AbstractBroadcastStateTransformation<org.apache.flink.types.Row,org.apache.flink.types.Row,OUT>
org.apache.flink.streaming.api.transformations.python.PythonKeyedBroadcastStateTransformation<OUT>
All Implemented Interfaces:
DelegateOperatorTransformation<OUT>

@Internal public class PythonKeyedBroadcastStateTransformation<OUT> extends org.apache.flink.streaming.api.transformations.AbstractBroadcastStateTransformation<org.apache.flink.types.Row,org.apache.flink.types.Row,OUT> implements DelegateOperatorTransformation<OUT>
A Transformation representing a Python Keyed-Co-Broadcast-Process operation, which will be translated into different operations by PythonKeyedBroadcastStateTransformationTranslator.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.transformations.python.DelegateOperatorTransformation

    DelegateOperatorTransformation.DelegateOperator<OUT>
  • Field Summary

    Fields inherited from class org.apache.flink.api.dag.Transformation

    bufferTimeout, description, id, name, outputType, typeUsed, UPPER_BOUND_MAX_PARALLELISM
  • Constructor Summary

    Constructors
    Constructor
    Description
    PythonKeyedBroadcastStateTransformation(String name, org.apache.flink.configuration.Configuration configuration, DataStreamPythonFunctionInfo dataStreamPythonFunctionInfo, org.apache.flink.api.dag.Transformation<org.apache.flink.types.Row> regularInput, org.apache.flink.api.dag.Transformation<org.apache.flink.types.Row> broadcastInput, List<org.apache.flink.api.common.state.MapStateDescriptor<?,?>> broadcastStateDescriptors, org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> keyType, org.apache.flink.api.java.functions.KeySelector<org.apache.flink.types.Row,org.apache.flink.types.Row> keySelector, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outTypeInfo, int parallelism)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.configuration.Configuration
     
     
    org.apache.flink.api.java.functions.KeySelector<org.apache.flink.types.Row,org.apache.flink.types.Row>
     
    org.apache.flink.streaming.api.operators.SimpleOperatorFactory<OUT>
     
    org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row>
     

    Methods inherited from class org.apache.flink.streaming.api.transformations.AbstractBroadcastStateTransformation

    getBroadcastInput, getBroadcastStateDescriptors, getChainingStrategy, getInputs, getRegularInput, getTransitivePredecessorsInternal, setChainingStrategy

    Methods inherited from class org.apache.flink.streaming.api.transformations.PhysicalTransformation

    isSupportsConcurrentExecutionAttempts, setSupportsConcurrentExecutionAttempts

    Methods inherited from class org.apache.flink.api.dag.Transformation

    declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, enableAsyncState, equals, getAttribute, getBufferTimeout, getCoLocationGroupKey, getDescription, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getTransitivePredecessors, getUid, getUserProvidedNodeHash, hashCode, isParallelismConfigured, setAttribute, setBufferTimeout, setCoLocationGroupKey, setDescription, setMaxParallelism, setName, setOutputType, setParallelism, setParallelism, setResources, setSlotSharingGroup, setSlotSharingGroup, setUid, setUidHash, toString, updateManagedMemoryStateBackendUseCase

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PythonKeyedBroadcastStateTransformation

      public PythonKeyedBroadcastStateTransformation(String name, org.apache.flink.configuration.Configuration configuration, DataStreamPythonFunctionInfo dataStreamPythonFunctionInfo, org.apache.flink.api.dag.Transformation<org.apache.flink.types.Row> regularInput, org.apache.flink.api.dag.Transformation<org.apache.flink.types.Row> broadcastInput, List<org.apache.flink.api.common.state.MapStateDescriptor<?,?>> broadcastStateDescriptors, org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> keyType, org.apache.flink.api.java.functions.KeySelector<org.apache.flink.types.Row,org.apache.flink.types.Row> keySelector, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outTypeInfo, int parallelism)
  • Method Details

    • getConfiguration

      public org.apache.flink.configuration.Configuration getConfiguration()
    • getDataStreamPythonFunctionInfo

      public DataStreamPythonFunctionInfo getDataStreamPythonFunctionInfo()
    • getStateKeyType

      public org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> getStateKeyType()
    • getKeySelector

      public org.apache.flink.api.java.functions.KeySelector<org.apache.flink.types.Row,org.apache.flink.types.Row> getKeySelector()
    • getOperatorFactory

      public org.apache.flink.streaming.api.operators.SimpleOperatorFactory<OUT> getOperatorFactory()
      Specified by:
      getOperatorFactory in interface DelegateOperatorTransformation<OUT>