Package org.apache.flink.runtime.operators.util

Examples of org.apache.flink.runtime.operators.util.DistributedRuntimeUDFContext


   
    if (parent instanceof RegularPactTask) {
      this.udfContext = ((RegularPactTask<?, ?>) parent).createRuntimeContext(taskName);
    } else {
      Environment env = parent.getEnvironment();
      this.udfContext = new DistributedRuntimeUDFContext(taskName, env.getCurrentNumberOfSubtasks(),
          env.getIndexInSubtaskGroup(), userCodeClassLoader, env.getCopyTask());
    }

    setup(parent);
  }
View Full Code Here


    this.output = initOutputs(this, userCodeClassLoader, this.config, this.chainedTasks, this.eventualOutputs);
  }

  public DistributedRuntimeUDFContext createRuntimeContext(String taskName) {
    Environment env = getEnvironment();
    return new DistributedRuntimeUDFContext(taskName, env.getCurrentNumberOfSubtasks(),
        env.getIndexInSubtaskGroup(), getUserCodeClassLoader(), env.getCopyTask());
  }
View Full Code Here

TOP

Related Classes of org.apache.flink.runtime.operators.util.DistributedRuntimeUDFContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.