Class JoinProcessor
- java.lang.Object
-
- io.siddhi.core.query.input.stream.join.JoinProcessor
-
-
Constructor Summary
Constructors Constructor Description JoinProcessor(boolean leftJoinProcessor, boolean preJoinProcessor, boolean outerJoinProcessor, int matchingStreamIndex, String siddhiAppName, String queryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompiledConditiongetCompiledCondition()CompiledSelectiongetCompiledSelection()ProcessorgetNextProcessor()Get next processor element in the processor chain.StateEventjoinEventBuilder(StreamEvent leftStream, StreamEvent rightStream, ComplexEvent.Type type)Join the given two event streams.voidprocess(ComplexEventChunk complexEventChunk)Process the handed StreamEvent.voidprocess(List<ComplexEventChunk> complexEventChunks)Process the handed StreamEventvoidsetCompiledCondition(CompiledCondition compiledCondition)voidsetCompiledSelection(CompiledSelection compiledSelection)voidsetExpectedOutputAttributes(List<io.siddhi.query.api.definition.Attribute> expectedOutputAttributes)voidsetFindableProcessor(FindableProcessor findableProcessor)voidsetNextProcessor(Processor processor)Set next processor element in processor chain.voidsetStateEventFactory(StateEventFactory stateEventFactory)voidsetToLast(Processor processor)Set as the last element of the processor chain.voidsetTrigger(boolean trigger)
-
-
-
Method Detail
-
process
public void process(ComplexEventChunk complexEventChunk)
Process the handed StreamEvent.
-
process
public void process(List<ComplexEventChunk> complexEventChunks)
Description copied from interface:ProcessorProcess the handed StreamEvent
-
setExpectedOutputAttributes
public void setExpectedOutputAttributes(List<io.siddhi.query.api.definition.Attribute> expectedOutputAttributes)
-
getNextProcessor
public Processor getNextProcessor()
Get next processor element in the processor chain. Processed event should be sent to next processor- Specified by:
getNextProcessorin interfaceProcessor- Returns:
- Next Processor
-
setNextProcessor
public void setNextProcessor(Processor processor)
Set next processor element in processor chain.- Specified by:
setNextProcessorin interfaceProcessor- Parameters:
processor- Processor to be set as next element of processor chain
-
setToLast
public void setToLast(Processor processor)
Set as the last element of the processor chain.
-
setFindableProcessor
public void setFindableProcessor(FindableProcessor findableProcessor)
-
getCompiledCondition
public CompiledCondition getCompiledCondition()
-
setCompiledCondition
public void setCompiledCondition(CompiledCondition compiledCondition)
-
setTrigger
public void setTrigger(boolean trigger)
-
setStateEventFactory
public void setStateEventFactory(StateEventFactory stateEventFactory)
-
getCompiledSelection
public CompiledSelection getCompiledSelection()
-
setCompiledSelection
public void setCompiledSelection(CompiledSelection compiledSelection)
-
joinEventBuilder
public StateEvent joinEventBuilder(StreamEvent leftStream, StreamEvent rightStream, ComplexEvent.Type type)
Join the given two event streams.- Parameters:
leftStream- event left streamrightStream- event right streamtype- complex event type- Returns:
- StateEvent state event
-
-