Class PreparedStatementGroupNone
java.lang.Object
org.hibernate.engine.jdbc.mutation.internal.PreparedStatementGroupNone
- All Implemented Interfaces:
PreparedStatementGroup
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidVisit the details for each table mutationintintThe number of statements in this groupgetPreparedStatementDetails(String tableName) Get the PreparedStatement in this group related to the given table-name.Get the single statement details.booleanhasMatching(Predicate<PreparedStatementDetails> filter) voidrelease()Release resources held by this group.resolvePreparedStatementDetails(String tableName) Get the PreparedStatement in this group related to the given table-name.
-
Field Details
-
GROUP_OF_NONE
Singleton access
-
-
Constructor Details
-
PreparedStatementGroupNone
public PreparedStatementGroupNone()
-
-
Method Details
-
getNumberOfStatements
public int getNumberOfStatements()Description copied from interface:PreparedStatementGroupThe number of statements in this group- Specified by:
getNumberOfStatementsin interfacePreparedStatementGroup
-
getNumberOfActiveStatements
public int getNumberOfActiveStatements()- Specified by:
getNumberOfActiveStatementsin interfacePreparedStatementGroup
-
getSingleStatementDetails
Description copied from interface:PreparedStatementGroupGet the single statement details.- Specified by:
getSingleStatementDetailsin interfacePreparedStatementGroup
-
forEachStatement
Description copied from interface:PreparedStatementGroupVisit the details for each table mutation- Specified by:
forEachStatementin interfacePreparedStatementGroup
-
resolvePreparedStatementDetails
Description copied from interface:PreparedStatementGroupGet the PreparedStatement in this group related to the given table-name. If the descriptor does not already exist, this method will create it.- Specified by:
resolvePreparedStatementDetailsin interfacePreparedStatementGroup- See Also:
-
getPreparedStatementDetails
Description copied from interface:PreparedStatementGroupGet the PreparedStatement in this group related to the given table-name. Will return null if no descriptor (yet) exists- Specified by:
getPreparedStatementDetailsin interfacePreparedStatementGroup
-
hasMatching
- Specified by:
hasMatchingin interfacePreparedStatementGroup
-
release
public void release()Description copied from interface:PreparedStatementGroupRelease resources held by this group.- Specified by:
releasein interfacePreparedStatementGroup
-