Class CreateCollectionPrimitive
java.lang.Object
org.rumbledb.runtime.update.primitives.CreateCollectionPrimitive
- All Implemented Interfaces:
UpdatePrimitive
-
Constructor Summary
ConstructorsConstructorDescriptionCreateCollectionPrimitive(Collection collection, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> contents, ExceptionMetadata metadata) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply()voidvoidorg.apache.spark.sql.Dataset<org.apache.spark.sql.Row>booleanbooleanMethods 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, getContentList, getIntSelector, getRowOrder, getRowOrderRangeBase, getRowOrderRangeMax, getSelector, getTarget, getTargetDataFrame, isDeleteArray, isDeleteObject, isDeleteTuple, isEditTuple, isInsertAfterIntoCollection, isInsertArray, isInsertBeforeIntoCollection, isInsertFirstIntoCollection, isInsertLastIntoCollection, isInsertObject, isInsertTuple, isRenameObject, isReplaceArray, isReplaceObject, isTruncateCollection, setNestedStructField, updatesSchemaDelta
-
Constructor Details
-
CreateCollectionPrimitive
public CreateCollectionPrimitive(Collection collection, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> contents, ExceptionMetadata metadata)
-
-
Method Details
-
isCreateCollection
public boolean isCreateCollection()- Specified by:
isCreateCollectionin interfaceUpdatePrimitive
-
getCollectionPath
- Specified by:
getCollectionPathin interfaceUpdatePrimitive
-
hasSelector
public boolean hasSelector()- Specified by:
hasSelectorin interfaceUpdatePrimitive
-
getContentDataFrame
public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> getContentDataFrame()- Specified by:
getContentDataFramein 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
-