Class RowMutationOperations
- java.lang.Object
-
- org.hibernate.persister.collection.mutation.RowMutationOperations
-
public class RowMutationOperations extends Object
Composition of theMutationOperation
references for a collection mapping.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RowMutationOperations.Restrictions
static interface
RowMutationOperations.Values
static interface
RowMutationOperations.ValuesBindingConsumer
Consumer for insert-value bindings Unfortunate we need `usage` here, but it is needed to account for update-as-insert handling of one-to-many handling
-
Constructor Summary
Constructors Constructor Description RowMutationOperations(CollectionMutationTarget target, OperationProducer insertRowOperationProducer, RowMutationOperations.Values insertRowValues, OperationProducer updateRowOperationProducer, RowMutationOperations.Values updateRowValues, RowMutationOperations.Restrictions updateRowRestrictions, OperationProducer deleteRowOperationProducer, RowMutationOperations.Restrictions deleteRowRestrictions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JdbcMutationOperation
getDeleteRowOperation()
RowMutationOperations.Restrictions
getDeleteRowRestrictions()
JdbcMutationOperation
getInsertRowOperation()
RowMutationOperations.Values
getInsertRowValues()
JdbcMutationOperation
getUpdateRowOperation()
RowMutationOperations.Restrictions
getUpdateRowRestrictions()
RowMutationOperations.Values
getUpdateRowValues()
boolean
hasDeleteRow()
boolean
hasInsertRow()
boolean
hasUpdateRow()
String
toString()
-
-
-
Constructor Detail
-
RowMutationOperations
public RowMutationOperations(CollectionMutationTarget target, OperationProducer insertRowOperationProducer, RowMutationOperations.Values insertRowValues, OperationProducer updateRowOperationProducer, RowMutationOperations.Values updateRowValues, RowMutationOperations.Restrictions updateRowRestrictions, OperationProducer deleteRowOperationProducer, RowMutationOperations.Restrictions deleteRowRestrictions)
-
-
Method Detail
-
hasInsertRow
public boolean hasInsertRow()
-
getInsertRowValues
public RowMutationOperations.Values getInsertRowValues()
-
getInsertRowOperation
public JdbcMutationOperation getInsertRowOperation()
-
hasUpdateRow
public boolean hasUpdateRow()
-
getUpdateRowOperation
public JdbcMutationOperation getUpdateRowOperation()
-
getUpdateRowValues
public RowMutationOperations.Values getUpdateRowValues()
-
getUpdateRowRestrictions
public RowMutationOperations.Restrictions getUpdateRowRestrictions()
-
hasDeleteRow
public boolean hasDeleteRow()
-
getDeleteRowRestrictions
public RowMutationOperations.Restrictions getDeleteRowRestrictions()
-
getDeleteRowOperation
public JdbcMutationOperation getDeleteRowOperation()
-
-