Package org.drools.core.common
Class TupleSetsImpl
java.lang.Object
org.drools.core.common.TupleSetsImpl
- All Implemented Interfaces:
TupleSets
- Direct Known Subclasses:
QueryElementNode.QueryElementNodeMemory.QueryTupleSets
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanbooleanaddNormalizedDelete(TupleImpl tuple) voidbooleanvoidclear()clear also ensures all contained LeftTuples are cleared reset does not touch any contained tuplesintprotected TupleImplgetNextTuple(TupleImpl tuple) protected TupleImplgetPreviousTuple(TupleImpl tuple) protected shortgetStagedType(TupleImpl tuple) booleanisEmpty()voidremoveDelete(TupleImpl tuple) voidremoveInsert(TupleImpl tuple) voidremoveUpdate(TupleImpl tuple) voidresetAll()protected voidsetDeleteFirst(TupleImpl deleteFirst) protected voidsetInsertFirst(TupleImpl insertFirst) protected voidsetNextTuple(TupleImpl tuple, TupleImpl stagedNext) protected voidsetNormalizedDeleteFirst(TupleImpl normalizedDeleteFirst) protected voidsetPreviousTuple(TupleImpl tuple, TupleImpl stagedPrevious) protected voidsetStagedType(TupleImpl tuple, short type) protected voidsetUpdateFirst(TupleImpl updateFirst) takeAll()toString()
-
Constructor Details
-
TupleSetsImpl
public TupleSetsImpl()
-
-
Method Details
-
getInsertSize
public int getInsertSize()- Specified by:
getInsertSizein interfaceTupleSets
-
getInsertFirst
- Specified by:
getInsertFirstin interfaceTupleSets
-
setInsertFirst
-
getDeleteFirst
- Specified by:
getDeleteFirstin interfaceTupleSets
-
setDeleteFirst
-
getUpdateFirst
- Specified by:
getUpdateFirstin interfaceTupleSets
-
setUpdateFirst
-
getNormalizedDeleteFirst
- Specified by:
getNormalizedDeleteFirstin interfaceTupleSets
-
setNormalizedDeleteFirst
-
resetAll
public void resetAll() -
addInsert
-
addDelete
-
addNormalizedDelete
- Specified by:
addNormalizedDeletein interfaceTupleSets
-
addUpdate
-
removeInsert
- Specified by:
removeInsertin interfaceTupleSets
-
removeDelete
- Specified by:
removeDeletein interfaceTupleSets
-
removeUpdate
- Specified by:
removeUpdatein interfaceTupleSets
-
addAll
-
addTo
-
takeAll
-
clear
public void clear()Description copied from interface:TupleSetsclear also ensures all contained LeftTuples are cleared reset does not touch any contained tuples -
isEmpty
public boolean isEmpty() -
toStringSizes
- Specified by:
toStringSizesin interfaceTupleSets
-
toString
-
getPreviousTuple
-
setPreviousTuple
-
getNextTuple
-
setNextTuple
-
setStagedType
-
getStagedType
-