Search in sources :

Example 16 with OperatorContext

use of com.ibm.streams.operator.OperatorContext in project streamsx.topology by IBMStreams.

the class FunctionSplit method initialize.

@Override
public void initialize(OperatorContext context) throws Exception {
    super.initialize(context);
    splitterHandler = createLogicHandler();
    OperatorContext ctxt = getOperatorContext();
    oports = ctxt.getStreamingOutputs();
    n = oports.size();
    mapping = getInputMapping(this, 0);
}
Also used : OperatorContext(com.ibm.streams.operator.OperatorContext)

Aggregations

OperatorContext (com.ibm.streams.operator.OperatorContext)16 ContextCheck (com.ibm.streams.operator.OperatorContext.ContextCheck)7 Attribute (com.ibm.streams.operator.Attribute)4 StreamSchema (com.ibm.streams.operator.StreamSchema)4 TupleAttribute (com.ibm.streams.operator.TupleAttribute)4 DefaultAttribute (com.ibm.streams.operator.model.DefaultAttribute)4 ConsistentRegionContext (com.ibm.streams.operator.state.ConsistentRegionContext)4 RString (com.ibm.streams.operator.types.RString)3 StreamingInput (com.ibm.streams.operator.StreamingInput)1 Type (com.ibm.streams.operator.Type)1 MetaType (com.ibm.streams.operator.Type.MetaType)1 OptionalType (com.ibm.streams.operator.meta.OptionalType)1 TupleType (com.ibm.streams.operator.meta.TupleType)1 Checkpoint (com.ibm.streams.operator.state.Checkpoint)1 ConsumerClient (com.ibm.streamsx.kafka.clients.consumer.ConsumerClient)1 CrKafkaStaticAssignConsumerClient (com.ibm.streamsx.kafka.clients.consumer.CrKafkaStaticAssignConsumerClient)1 DummyConsumerClient (com.ibm.streamsx.kafka.clients.consumer.DummyConsumerClient)1 NonCrKafkaConsumerClient (com.ibm.streamsx.kafka.clients.consumer.NonCrKafkaConsumerClient)1