public class Query extends Object implements ExecutionElement, SiddhiElement
| Constructor and Description |
|---|
Query() |
public static Query query()
public Query from(InputStream inputStream)
public InputStream getInputStream()
public Selector getSelector()
public Query outStream(OutputStream outputStream)
public Query insertInto(String outputStreamId, OutputStream.OutputEventType outputEventType)
public Query insertIntoInner(String outputStreamId, OutputStream.OutputEventType outputEventType)
public Query returns()
public Query returns(OutputStream.OutputEventType outputEventType)
public void deleteBy(String outputTableId, Expression onDeletingExpression)
public void deleteBy(String outputTableId, OutputStream.OutputEventType outputEventType, Expression onDeletingExpression)
public void updateBy(String outputTableId, Expression onUpdateExpression)
public void updateBy(String outputTableId, UpdateSet updateSetAttributes, Expression onUpdateExpression)
public void updateBy(String outputTableId, OutputStream.OutputEventType outputEventType, Expression onUpdateExpression)
public void updateBy(String outputTableId, OutputStream.OutputEventType outputEventType, UpdateSet updateSetAttributes, Expression onUpdateExpression)
public void updateOrInsertBy(String outputTableId, UpdateSet updateSetAttributes, Expression onUpdateExpression)
public void updateOrInsertBy(String outputTableId, OutputStream.OutputEventType outputEventType, UpdateSet updateSetAttributes, Expression onUpdateExpression)
public OutputStream getOutputStream()
public void output(OutputRate outputRate)
public OutputRate getOutputRate()
public Query annotation(Annotation annotation)
public List<Annotation> getAnnotations()
getAnnotations in interface ExecutionElementpublic int[] getQueryContextStartIndex()
getQueryContextStartIndex in interface SiddhiElementpublic void setQueryContextStartIndex(int[] lineAndColumn)
setQueryContextStartIndex in interface SiddhiElementpublic int[] getQueryContextEndIndex()
getQueryContextEndIndex in interface SiddhiElementpublic void setQueryContextEndIndex(int[] lineAndColumn)
setQueryContextEndIndex in interface SiddhiElementCopyright © 2018 WSO2. All rights reserved.