Class ReplaceInObjectPrimitive
java.lang.Object
org.rumbledb.runtime.update.primitives.ReplaceInObjectPrimitive
- All Implemented Interfaces:
UpdatePrimitive
-
Constructor Summary
ConstructorsConstructorDescriptionReplaceInObjectPrimitive
(Item targetObject, Item targetName, Item replacementItem, ExceptionMetadata metadata) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.rumbledb.runtime.update.primitives.UpdatePrimitive
arrayIndexingApplyDelta, arrayIndexingUpdateSchemaDelta, getCollectionName, getCollectionPath, getContentDataFrame, getContentList, getIntSelector, getRowOrder, getRowOrderRangeBase, getRowOrderRangeMax, getTargetDataFrame, isCreateCollection, isDeleteArray, isDeleteObject, isDeleteTuple, isEditTuple, isInsertAfterIntoCollection, isInsertArray, isInsertBeforeIntoCollection, isInsertFirstIntoCollection, isInsertLastIntoCollection, isInsertObject, isInsertTuple, isRenameObject, isReplaceArray, isTruncateCollection, updatesSchemaDelta
-
Constructor Details
-
ReplaceInObjectPrimitive
public ReplaceInObjectPrimitive(Item targetObject, Item targetName, Item replacementItem, ExceptionMetadata metadata)
-
-
Method Details
-
apply
public void apply()- Specified by:
apply
in interfaceUpdatePrimitive
-
applyItem
public void applyItem()- Specified by:
applyItem
in interfaceUpdatePrimitive
-
applyDelta
public void applyDelta()- Specified by:
applyDelta
in interfaceUpdatePrimitive
-
hasSelector
public boolean hasSelector()- Specified by:
hasSelector
in interfaceUpdatePrimitive
-
getTarget
- Specified by:
getTarget
in interfaceUpdatePrimitive
-
getSelector
- Specified by:
getSelector
in interfaceUpdatePrimitive
-
getContent
- Specified by:
getContent
in interfaceUpdatePrimitive
-
isReplaceObject
public boolean isReplaceObject()- Specified by:
isReplaceObject
in interfaceUpdatePrimitive
-