Class CodeGenOperatorFactory<OUT>

java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory<OUT>
org.apache.flink.table.runtime.operators.CodeGenOperatorFactory<OUT>
All Implemented Interfaces:
Serializable, org.apache.flink.streaming.api.operators.StreamOperatorFactory<OUT>, org.apache.flink.streaming.runtime.tasks.ProcessingTimeServiceAware

public class CodeGenOperatorFactory<OUT> extends org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory<OUT>
Stream operator factory for code gen operator.
See Also:
  • Field Summary

    Fields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory

    chainingStrategy, processingTimeService
  • Constructor Summary

    Constructors
    Constructor
    Description
    CodeGenOperatorFactory(GeneratedClass<? extends org.apache.flink.streaming.api.operators.StreamOperator<OUT>> generatedClass)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends org.apache.flink.streaming.api.operators.StreamOperator<OUT>>
    T
    createStreamOperator(org.apache.flink.streaming.api.operators.StreamOperatorParameters<OUT> parameters)
     
    GeneratedClass<? extends org.apache.flink.streaming.api.operators.StreamOperator<OUT>>
     
    Class<? extends org.apache.flink.streaming.api.operators.StreamOperator>
     

    Methods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory

    getChainingStrategy, getMailboxExecutor, setChainingStrategy, setMailboxExecutor, setProcessingTimeService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.flink.streaming.api.operators.StreamOperatorFactory

    getOperatorAttributes, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setInputType, setOutputType
  • Constructor Details

    • CodeGenOperatorFactory

      public CodeGenOperatorFactory(GeneratedClass<? extends org.apache.flink.streaming.api.operators.StreamOperator<OUT>> generatedClass)
  • Method Details

    • createStreamOperator

      public <T extends org.apache.flink.streaming.api.operators.StreamOperator<OUT>> T createStreamOperator(org.apache.flink.streaming.api.operators.StreamOperatorParameters<OUT> parameters)
    • getStreamOperatorClass

      public Class<? extends org.apache.flink.streaming.api.operators.StreamOperator> getStreamOperatorClass(ClassLoader classLoader)
    • getGeneratedClass

      public GeneratedClass<? extends org.apache.flink.streaming.api.operators.StreamOperator<OUT>> getGeneratedClass()