Class TruncateCollectionPrimitive
java.lang.Object
org.rumbledb.runtime.update.primitives.TruncateCollectionPrimitive
- All Implemented Interfaces:
UpdatePrimitive
-
Constructor Summary
ConstructorsConstructorDescriptionTruncateCollectionPrimitive(Collection collection, ExceptionMetadata metadata, RumbleRuntimeConfiguration configuration) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.rumbledb.runtime.update.primitives.UpdatePrimitive
applySetFieldInCollection, arrayIndexingApplyDelta, arrayIndexingUpdateSchemaDelta, getCollectionPath, getContent, getContentDataFrame, getContentList, getIntSelector, getRowOrder, getRowOrderRangeBase, getRowOrderRangeMax, getSelector, getTarget, getTargetDataFrame, isCreateCollection, isDeleteArray, isDeleteObject, isDeleteTuple, isEditTuple, isInsertAfterIntoCollection, isInsertArray, isInsertBeforeIntoCollection, isInsertFirstIntoCollection, isInsertLastIntoCollection, isInsertObject, isInsertTuple, isRenameObject, isReplaceArray, isReplaceObject, setNestedStructField, updatesSchemaDelta
-
Constructor Details
-
TruncateCollectionPrimitive
public TruncateCollectionPrimitive(Collection collection, ExceptionMetadata metadata, RumbleRuntimeConfiguration configuration)
-
-
Method Details
-
isTruncateCollection
public boolean isTruncateCollection()- Specified by:
isTruncateCollectionin interfaceUpdatePrimitive
-
getCollectionName
- Specified by:
getCollectionNamein interfaceUpdatePrimitive
-
hasSelector
public boolean hasSelector()- Specified by:
hasSelectorin interfaceUpdatePrimitive
-
apply
public void apply()- Specified by:
applyin interfaceUpdatePrimitive
-
applyItem
public void applyItem()- Specified by:
applyItemin interfaceUpdatePrimitive
-
applyDelta
public void applyDelta()- Specified by:
applyDeltain interfaceUpdatePrimitive
-