Class RowMutationOperations
- java.lang.Object
-
- org.hibernate.persister.collection.mutation.RowMutationOperations
-
public class RowMutationOperations extends Object
Composition of theMutationOperationreferences for a collection mapping.- Implementation Specification:
- All collection operations are achieved through
JdbcMutationOperationwhich is exposed here
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRowMutationOperations.Restrictionsstatic interfaceRowMutationOperations.Values
-
Field Summary
Fields Modifier and Type Field Description static ModelPart.JdbcValueBiConsumer<JdbcValueBindings,Object>DEFAULT_RESTRICTORstatic 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 JdbcMutationOperationgetDeleteRowOperation()JdbcMutationOperationgetDeleteRowOperation(TableMapping tableMapping)RowMutationOperations.RestrictionsgetDeleteRowRestrictions()JdbcMutationOperationgetInsertRowOperation()JdbcMutationOperationgetInsertRowOperation(TableMapping tableMapping)RowMutationOperations.ValuesgetInsertRowValues()JdbcMutationOperationgetUpdateRowOperation()RowMutationOperations.RestrictionsgetUpdateRowRestrictions()RowMutationOperations.ValuesgetUpdateRowValues()booleanhasDeleteRow()booleanhasInsertRow()booleanhasUpdateRow()StringtoString()
-
-
-
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)
-
-