Interface ResultTarget
- All Known Implementing Classes:
CommandContainer.GeneratedKeysCollector, Insert, LocalResult, SimpleResult, UniquePredicate.Target
public interface ResultTarget
A object where rows are written to.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the row to the result set.longGet the number of rows.voidA hint that sorting, offset and limit may be ignored by this result because they were applied during the query.
-
Method Details
-
addRow
-
getRowCount
long getRowCount()Get the number of rows.- Returns:
- the number of rows
-
limitsWereApplied
void limitsWereApplied()A hint that sorting, offset and limit may be ignored by this result because they were applied during the query. This is useful for WITH TIES clause because result may contain tied rows above limit.
-