Top Description Methods
org.h2.result

public Interface ResultTarget

Known Direct Implementers
org.h2.result.SimpleResult, org.h2.command.CommandContainer.GeneratedKeysCollector, org.h2.command.dml.Insert, org.h2.expression.condition.UniquePredicate.Target, org.h2.result.LocalResult
Imports
org.h2.value.Value

A object where rows are written to.

Method Summary

Modifier and TypeMethod and Description
public void
addRow(Value...
the values
values
)

Add the row to the result set.

public long

Returns:

the number of rows
getRowCount
()

Get the number of rows.

public void
limitsWereApplied()

A hint that sorting, offset and limit may be ignored by this result because they were applied during the query.

Method Detail

addRowback to summary
public void addRow(Value... values)

Add the row to the result set.

Parameters
values:Value[]

the values

getRowCountback to summary
public long getRowCount()

Get the number of rows.

Returns:long

the number of rows

limitsWereAppliedback to summary
public 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.