public class BindProcessor extends Object
SelectExprResultProcessor
to present
a result as an object array for 'natural' delivery.Constructor and Description |
---|
BindProcessor(SelectClauseElementCompiled[] selectionList,
EventType[] typesPerStream,
String[] streamNames,
TableService tableService,
EngineImportService engineImportService,
boolean isFireAndForget,
Annotation[] annotations,
String statementName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getColumnNamesAssigned()
Returns the column names of select-clause expressions.
|
Class[] |
getExpressionTypes()
Returns the expression types generated by the select-clause expressions.
|
Object[] |
process(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext exprEvaluatorContext)
Process select expressions into columns for native dispatch.
|
public BindProcessor(SelectClauseElementCompiled[] selectionList, EventType[] typesPerStream, String[] streamNames, TableService tableService, EngineImportService engineImportService, boolean isFireAndForget, Annotation[] annotations, String statementName) throws ExprValidationException
selectionList
- the select clausetypesPerStream
- the event types per streamstreamNames
- the stream namestableService
- table serviceengineImportService
- engine importsstatementName
- statement nameannotations
- annotationsisFireAndForget
- fire-and-forget flagExprValidationException
- when the validation of the select clause failedpublic Object[] process(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext)
eventsPerStream
- each stream's eventsisNewData
- true for new eventsexprEvaluatorContext
- context for expression evaluatiompublic Class[] getExpressionTypes()
public String[] getColumnNamesAssigned()