Class InsertBeforeIntoCollectionPrimitive
java.lang.Object
org.rumbledb.runtime.update.primitives.InsertBeforeIntoCollectionPrimitive
- All Implemented Interfaces:
UpdatePrimitive
-
Constructor Summary
ConstructorsConstructorDescriptionInsertBeforeIntoCollectionPrimitive(Item target, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> contents, ExceptionMetadata metadata) -
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, getCollectionName, getContent, getContentDataFrame, getContentList, getIntSelector, getRowOrder, getRowOrderRangeBase, getRowOrderRangeMax, getSelector, getTarget, getTargetDataFrame, isCreateCollection, isDeleteArray, isDeleteObject, isDeleteTuple, isEditTuple, isInsertAfterIntoCollection, isInsertArray, isInsertFirstIntoCollection, isInsertLastIntoCollection, isInsertObject, isInsertTuple, isRenameObject, isReplaceArray, isReplaceObject, isTruncateCollection, setNestedStructField, updatesSchemaDelta
-
Constructor Details
-
InsertBeforeIntoCollectionPrimitive
public InsertBeforeIntoCollectionPrimitive(Item target, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> contents, ExceptionMetadata metadata)
-
-
Method Details
-
isInsertBeforeIntoCollection
public boolean isInsertBeforeIntoCollection()- Specified by:
isInsertBeforeIntoCollectionin interfaceUpdatePrimitive
-
getCollectionPath
- Specified by:
getCollectionPathin 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
-