Interface PreparedStatementGroup
- All Known Implementing Classes:
AbstractPreparedStatementGroup,PreparedStatementGroupNone,PreparedStatementGroupSingleTable,PreparedStatementGroupStandard
Grouping of
PreparedStatement references.-
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.
-
Method Details
-
getNumberOfStatements
int getNumberOfStatements()The number of statements in this group -
getNumberOfActiveStatements
int getNumberOfActiveStatements() -
getSingleStatementDetails
PreparedStatementDetails getSingleStatementDetails()Get the single statement details.- Throws:
IllegalStateException- if there is more than one statement associated with this group.
-
forEachStatement
Visit the details for each table mutation -
resolvePreparedStatementDetails
Get the PreparedStatement in this group related to the given table-name. If the descriptor does not already exist, this method will create it.- See Also:
-
getPreparedStatementDetails
Get the PreparedStatement in this group related to the given table-name. Will return null if no descriptor (yet) exists -
release
void release()Release resources held by this group. -
hasMatching
-