Class RowMutationOperations
- java.lang.Object
-
- org.hibernate.persister.collection.mutation.RowMutationOperations
-
public class RowMutationOperations extends Object
Composition of theMutationOperation
references for a collection mapping.- Implementation Specification:
- All collection operations are achieved through
JdbcMutationOperation
which is exposed here
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RowMutationOperations.Restrictions
static interface
RowMutationOperations.Values
-
Field Summary
Fields Modifier and Type Field Description static ModelPart.JdbcValueBiConsumer<JdbcValueBindings,Object>
DEFAULT_RESTRICTOR
static ModelPart.JdbcValueBiConsumer<JdbcValueBindings,Object>
DEFAULT_VALUE_SETTER
-
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()
JdbcMutationOperation
getDeleteRowOperation(TableMapping tableMapping)
RowMutationOperations.Restrictions
getDeleteRowRestrictions()
JdbcMutationOperation
getInsertRowOperation()
JdbcMutationOperation
getInsertRowOperation(TableMapping tableMapping)
RowMutationOperations.Values
getInsertRowValues()
JdbcMutationOperation
getUpdateRowOperation()
RowMutationOperations.Restrictions
getUpdateRowRestrictions()
RowMutationOperations.Values
getUpdateRowValues()
boolean
hasDeleteRow()
boolean
hasInsertRow()
boolean
hasUpdateRow()
String
toString()
-
-
-
Field Detail
-
DEFAULT_RESTRICTOR
public static final ModelPart.JdbcValueBiConsumer<JdbcValueBindings,Object> DEFAULT_RESTRICTOR
-
DEFAULT_VALUE_SETTER
public static final ModelPart.JdbcValueBiConsumer<JdbcValueBindings,Object> DEFAULT_VALUE_SETTER
-
-
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()
-
getInsertRowOperation
public JdbcMutationOperation getInsertRowOperation(TableMapping tableMapping)
-
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()
-
getDeleteRowOperation
public JdbcMutationOperation getDeleteRowOperation(TableMapping tableMapping)
-
-