Class OverwriteTableIndexOperatorForCache
- java.lang.Object
-
- io.siddhi.core.util.collection.operator.IndexOperator
-
- io.siddhi.core.util.collection.operator.IndexOperatorForCache
-
- io.siddhi.core.util.collection.operator.OverwriteTableIndexOperatorForCache
-
- All Implemented Interfaces:
CompiledCondition,CompiledExpression,Operator,Serializable
public class OverwriteTableIndexOperatorForCache extends IndexOperatorForCache
Extension of IndexOperatorForCache with overwrite for update or add- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.siddhi.core.util.collection.operator.IndexOperator
queryName
-
-
Constructor Summary
Constructors Constructor Description OverwriteTableIndexOperatorForCache(CollectionExecutor collectionExecutor, String queryName, CacheTable cacheTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplexEventChunk<StateEvent>tryUpdate(ComplexEventChunk<StateEvent> updatingOrAddingEventChunk, Object storeEvents, InMemoryCompiledUpdateSet compiledUpdateSet, AddingStreamEventExtractor addingStreamEventExtractor)-
Methods inherited from class io.siddhi.core.util.collection.operator.IndexOperatorForCache
handleCachePolicyAttributeUpdate
-
Methods inherited from class io.siddhi.core.util.collection.operator.IndexOperator
contains, delete, find, getCollectionExecutor, update
-
-
-
-
Constructor Detail
-
OverwriteTableIndexOperatorForCache
public OverwriteTableIndexOperatorForCache(CollectionExecutor collectionExecutor, String queryName, CacheTable cacheTable)
-
-
Method Detail
-
tryUpdate
public ComplexEventChunk<StateEvent> tryUpdate(ComplexEventChunk<StateEvent> updatingOrAddingEventChunk, Object storeEvents, InMemoryCompiledUpdateSet compiledUpdateSet, AddingStreamEventExtractor addingStreamEventExtractor)
- Specified by:
tryUpdatein interfaceOperator- Overrides:
tryUpdatein classIndexOperator
-
-