Package org.h2.result
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 TypeMethodDescriptionvoid
Add the row to the result set.long
Get the number of rows.void
A hint that sorting, offset and limit may be ignored by this result because they were applied during the query.
-
Method Details
-
addRow
Add the row to the result set.- Parameters:
values
- the values
-
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.
-