Search in sources :

Example 26 with Operator

use of com.datatorrent.api.Operator in project apex-core by apache.

the class PropertyInjectorVisitor method handle.

@Override
public void handle(DAGSetupEvent event) {
    for (DAG.OperatorMeta ometa : dag.getAllOperatorsMeta()) {
        Operator o = ometa.getOperator();
        LogicalPlanConfiguration.setOperatorProperties(o, propertyMap);
    }
}
Also used : Operator(com.datatorrent.api.Operator) PRE_VALIDATE_DAG(org.apache.apex.api.plugin.DAGSetupEvent.Type.PRE_VALIDATE_DAG) DAG(com.datatorrent.api.DAG)

Aggregations

Operator (com.datatorrent.api.Operator)26 GenericTestOperator (com.datatorrent.stram.engine.GenericTestOperator)8 Test (org.junit.Test)8 Checkpoint (com.datatorrent.stram.api.Checkpoint)7 PTOperator (com.datatorrent.stram.plan.physical.PTOperator)7 InputOperator (com.datatorrent.api.InputOperator)6 HashMap (java.util.HashMap)6 InputPort (com.datatorrent.api.Operator.InputPort)5 OperatorDeployInfo (com.datatorrent.stram.api.OperatorDeployInfo)5 PhysicalPlan (com.datatorrent.stram.plan.physical.PhysicalPlan)5 Map (java.util.Map)5 TestGeneratorInputOperator (com.datatorrent.stram.engine.TestGeneratorInputOperator)4 LogicalPlan (com.datatorrent.stram.plan.logical.LogicalPlan)4 OperatorMeta (com.datatorrent.stram.plan.logical.LogicalPlan.OperatorMeta)4 PTContainer (com.datatorrent.stram.plan.physical.PTContainer)4 ArrayList (java.util.ArrayList)4 DAG (com.datatorrent.api.DAG)3 DefaultPartition (com.datatorrent.api.DefaultPartition)3 Partitioner (com.datatorrent.api.Partitioner)3 Partition (com.datatorrent.api.Partitioner.Partition)3