public class SiddhiStreamOperator<IN,OUT> extends AbstractSiddhiOperator<org.apache.flink.api.java.tuple.Tuple2<String,IN>,OUT>
IN as Tuple2| Constructor and Description |
|---|
SiddhiStreamOperator(SiddhiOperatorContext siddhiPlan) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.flink.streaming.runtime.streamrecord.MultiplexingStreamRecordSerializer<org.apache.flink.api.java.tuple.Tuple2<String,IN>> |
createStreamRecordSerializer(StreamSchema streamSchema,
org.apache.flink.api.common.ExecutionConfig executionConfig) |
String |
getStreamId(org.apache.flink.api.java.tuple.Tuple2<String,IN> record) |
protected void |
processEvent(String streamId,
StreamSchema<org.apache.flink.api.java.tuple.Tuple2<String,IN>> schema,
org.apache.flink.api.java.tuple.Tuple2<String,IN> value,
long timestamp) |
protected PriorityQueue<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.api.java.tuple.Tuple2<String,IN>>> |
restoreQueuerState(org.apache.flink.core.memory.DataInputView dataInputView) |
protected void |
snapshotQueuerState(PriorityQueue<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.api.java.tuple.Tuple2<String,IN>>> queue,
org.apache.flink.core.memory.DataOutputView dataOutputView) |
dispose, getPriorityQueue, getSiddhiInputHandler, getSiddhiPlan, getSiddhiRuntime, getStreamRecordSerializer, open, processElement, processWatermark, restoreState, send, setup, snapshotState, snapshotStateclose, getChainingStrategy, getContainingTask, getExecutionConfig, getKeyedStateBackend, getMetricGroup, getOperatorConfig, getOperatorStateBackend, getPartitionedState, getPartitionedState, getRuntimeContext, getTimerService, getUserCodeClassloader, notifyOfCompletedCheckpoint, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, reportOrForwardLatencyMarker, restoreState, setChainingStrategy, setKeyContext, setKeyContextElement1, setKeyContextElement2clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic SiddhiStreamOperator(SiddhiOperatorContext siddhiPlan)
protected org.apache.flink.streaming.runtime.streamrecord.MultiplexingStreamRecordSerializer<org.apache.flink.api.java.tuple.Tuple2<String,IN>> createStreamRecordSerializer(StreamSchema streamSchema, org.apache.flink.api.common.ExecutionConfig executionConfig)
createStreamRecordSerializer in class AbstractSiddhiOperator<org.apache.flink.api.java.tuple.Tuple2<String,IN>,OUT>protected void processEvent(String streamId, StreamSchema<org.apache.flink.api.java.tuple.Tuple2<String,IN>> schema, org.apache.flink.api.java.tuple.Tuple2<String,IN> value, long timestamp) throws InterruptedException
processEvent in class AbstractSiddhiOperator<org.apache.flink.api.java.tuple.Tuple2<String,IN>,OUT>InterruptedExceptionpublic String getStreamId(org.apache.flink.api.java.tuple.Tuple2<String,IN> record)
getStreamId in class AbstractSiddhiOperator<org.apache.flink.api.java.tuple.Tuple2<String,IN>,OUT>protected void snapshotQueuerState(PriorityQueue<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.api.java.tuple.Tuple2<String,IN>>> queue, org.apache.flink.core.memory.DataOutputView dataOutputView) throws IOException
snapshotQueuerState in class AbstractSiddhiOperator<org.apache.flink.api.java.tuple.Tuple2<String,IN>,OUT>IOExceptionprotected PriorityQueue<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.api.java.tuple.Tuple2<String,IN>>> restoreQueuerState(org.apache.flink.core.memory.DataInputView dataInputView) throws IOException
restoreQueuerState in class AbstractSiddhiOperator<org.apache.flink.api.java.tuple.Tuple2<String,IN>,OUT>IOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.