Class InsertFirstIntoCollectionPrimitive
java.lang.Object
org.rumbledb.runtime.update.primitives.InsertFirstIntoCollectionPrimitive
- All Implemented Interfaces:
UpdatePrimitive
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInsertFirstIntoCollectionPrimitive(Collection collection, 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, isInsertBeforeIntoCollection, isInsertLastIntoCollection, isInsertObject, isInsertTuple, isRenameObject, isReplaceArray, isReplaceObject, isTruncateCollection, setNestedStructField, updatesSchemaDelta
-
Field Details
-
INSERT_OFFSET
public static final double INSERT_OFFSET- See Also:
-
-
Constructor Details
-
InsertFirstIntoCollectionPrimitive
public InsertFirstIntoCollectionPrimitive(Collection collection, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> contents, ExceptionMetadata metadata)
-
-
Method Details
-
isInsertFirstIntoCollection
public boolean isInsertFirstIntoCollection()- Specified by:
isInsertFirstIntoCollectionin 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
-