Class StoreQuery
- java.lang.Object
-
- io.siddhi.query.api.execution.query.StoreQuery
-
- All Implemented Interfaces:
SiddhiElement,Serializable
@Deprecated public class StoreQuery extends Object implements SiddhiElement
Deprecated.This class keep information of on-demand query. This is deprecated use OnDemandQuery instead- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStoreQuery.StoreQueryTypeDeprecated.This enum is used to identify the type of a store query.
-
Constructor Summary
Constructors Constructor Description StoreQuery()Deprecated.StoreQuery(OnDemandQuery onDemandQuery)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddeleteBy(String outputTableId, Expression onDeletingExpression)Deprecated.Method to set a deleteStream as the outputStream of the store querybooleanequals(Object o)Deprecated.StoreQueryfrom(InputStore inputStore)Deprecated.Builder method to set input store to the store queryInputStoregetInputStore()Deprecated.Getter for the input storeOnDemandQuerygetOnDemandQuery()Deprecated.OutputStreamgetOutputStream()Deprecated.Getter method to get the outputStream of the store queryint[]getQueryContextEndIndex()Deprecated.int[]getQueryContextStartIndex()Deprecated.SelectorgetSelector()Deprecated.Getter method to get the selector of the store queryStoreQuery.StoreQueryTypegetType()Deprecated.This method returns the type of given store query.inthashCode()Deprecated.StoreQueryoutStream(OutputStream outputStream)Deprecated.Builder method to set an outPutStream to the store querystatic StoreQueryquery()Deprecated.Builder method to get a new on-demand query instanceStoreQueryselect(Selector selector)Deprecated.Builder method to set a selector to the store queryvoidsetQueryContextEndIndex(int[] lineAndColumn)Deprecated.voidsetQueryContextStartIndex(int[] lineAndColumn)Deprecated.voidsetType(StoreQuery.StoreQueryType type)Deprecated.This method sets the type of given store query.StringtoString()Deprecated.voidupdateBy(String outputTableId, UpdateSet updateSetAttributes, Expression onUpdateExpression)Deprecated.Method to set an updateStream as the outputStream of the store queryvoidupdateBy(String outputTableId, Expression onUpdateExpression)Deprecated.Method to set an updateStream as the outputStream of the store queryvoidupdateOrInsertBy(String outputTableId, UpdateSet updateSetAttributes, Expression onUpdateExpression)Deprecated.Method to set an updateOrInsertStream as the outputStream of the store query
-
-
-
Constructor Detail
-
StoreQuery
public StoreQuery(OnDemandQuery onDemandQuery)
Deprecated.
-
StoreQuery
public StoreQuery()
Deprecated.
-
-
Method Detail
-
query
public static StoreQuery query()
Deprecated.Builder method to get a new on-demand query instance- Returns:
- a new storeQuery instance
-
getOnDemandQuery
public OnDemandQuery getOnDemandQuery()
Deprecated.
-
from
public StoreQuery from(InputStore inputStore)
Deprecated.Builder method to set input store to the store query- Parameters:
inputStore- inputStore for the store query- Returns:
- updated store query
-
getInputStore
public InputStore getInputStore()
Deprecated.Getter for the input store- Returns:
- inputStore
-
select
public StoreQuery select(Selector selector)
Deprecated.Builder method to set a selector to the store query- Parameters:
selector- selector for the store query- Returns:
- updated store query
-
outStream
public StoreQuery outStream(OutputStream outputStream)
Deprecated.Builder method to set an outPutStream to the store query- Parameters:
outputStream- outPutStream for the store query- Returns:
- updated store query
-
deleteBy
public void deleteBy(String outputTableId, Expression onDeletingExpression)
Deprecated.Method to set a deleteStream as the outputStream of the store query- Parameters:
outputTableId- id of the table which is going to be queriedonDeletingExpression- expression for the delete operation defined in the store query
-
updateBy
public void updateBy(String outputTableId, Expression onUpdateExpression)
Deprecated.Method to set an updateStream as the outputStream of the store query- Parameters:
outputTableId- id of the table which is going to be queriedonUpdateExpression- expression for the update operation defined in the store query
-
updateBy
public void updateBy(String outputTableId, UpdateSet updateSetAttributes, Expression onUpdateExpression)
Deprecated.Method to set an updateStream as the outputStream of the store query- Parameters:
outputTableId- id of the table which is going to be queriedupdateSetAttributes- updateSet for the attributes which are going to be updated.onUpdateExpression- expression for the update operation defined in the store query
-
updateOrInsertBy
public void updateOrInsertBy(String outputTableId, UpdateSet updateSetAttributes, Expression onUpdateExpression)
Deprecated.Method to set an updateOrInsertStream as the outputStream of the store query- Parameters:
outputTableId- id of the table which is going to be queriedupdateSetAttributes- updateSet for the attributes which are going to be updated.onUpdateExpression- expression for the update or insert operation defined in the store query
-
getSelector
public Selector getSelector()
Deprecated.Getter method to get the selector of the store query- Returns:
- selector of the store query
-
getOutputStream
public OutputStream getOutputStream()
Deprecated.Getter method to get the outputStream of the store query- Returns:
- outputStream of the store query
-
getQueryContextStartIndex
public int[] getQueryContextStartIndex()
Deprecated.- Specified by:
getQueryContextStartIndexin interfaceSiddhiElement
-
setQueryContextStartIndex
public void setQueryContextStartIndex(int[] lineAndColumn)
Deprecated.- Specified by:
setQueryContextStartIndexin interfaceSiddhiElement
-
getQueryContextEndIndex
public int[] getQueryContextEndIndex()
Deprecated.- Specified by:
getQueryContextEndIndexin interfaceSiddhiElement
-
setQueryContextEndIndex
public void setQueryContextEndIndex(int[] lineAndColumn)
Deprecated.- Specified by:
setQueryContextEndIndexin interfaceSiddhiElement
-
getType
public StoreQuery.StoreQueryType getType()
Deprecated.This method returns the type of given store query.- Returns:
- type of given store query
-
setType
public void setType(StoreQuery.StoreQueryType type)
Deprecated.This method sets the type of given store query.
-
-