Package org.h2.expression.condition
Class UniquePredicate.Target
java.lang.Object
org.h2.expression.condition.UniquePredicate.Target
- All Implemented Interfaces:
ResultTarget
- Enclosing class:
UniquePredicate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
(package private) boolean
private final LocalResult
-
Constructor Summary
Constructors -
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.
-
Field Details
-
columnCount
private final int columnCount -
result
-
hasDuplicates
boolean hasDuplicates
-
-
Constructor Details
-
Target
Target(int columnCount, LocalResult result)
-
-
Method Details
-
limitsWereApplied
public void limitsWereApplied()Description copied from interface:ResultTarget
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.- Specified by:
limitsWereApplied
in interfaceResultTarget
-
getRowCount
public long getRowCount()Description copied from interface:ResultTarget
Get the number of rows.- Specified by:
getRowCount
in interfaceResultTarget
- Returns:
- the number of rows
-
addRow
Description copied from interface:ResultTarget
Add the row to the result set.- Specified by:
addRow
in interfaceResultTarget
- Parameters:
values
- the values
-