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 TypeMethodDescriptionvoid
Visit the details for each table mutationint
int
The 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.boolean
hasMatching
(Predicate<PreparedStatementDetails> filter) void
release()
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:PreparedStatementGroup
The number of statements in this group- Specified by:
getNumberOfStatements
in interfacePreparedStatementGroup
-
getNumberOfActiveStatements
public int getNumberOfActiveStatements()- Specified by:
getNumberOfActiveStatements
in interfacePreparedStatementGroup
-
getSingleStatementDetails
Description copied from interface:PreparedStatementGroup
Get the single statement details.- Specified by:
getSingleStatementDetails
in interfacePreparedStatementGroup
-
forEachStatement
Description copied from interface:PreparedStatementGroup
Visit the details for each table mutation- Specified by:
forEachStatement
in interfacePreparedStatementGroup
-
resolvePreparedStatementDetails
Description copied from interface:PreparedStatementGroup
Get 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:
resolvePreparedStatementDetails
in interfacePreparedStatementGroup
- See Also:
-
getPreparedStatementDetails
Description copied from interface:PreparedStatementGroup
Get the PreparedStatement in this group related to the given table-name. Will return null if no descriptor (yet) exists- Specified by:
getPreparedStatementDetails
in interfacePreparedStatementGroup
-
hasMatching
- Specified by:
hasMatching
in interfacePreparedStatementGroup
-
release
public void release()Description copied from interface:PreparedStatementGroup
Release resources held by this group.- Specified by:
release
in interfacePreparedStatementGroup
-