public interface Result
Modifier and Type | Interface and Description |
---|---|
static class |
Result.SizePrecision |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getColumnNames()
Get the list of column names.
|
java.lang.String[] |
getColumnSelectorNames()
Get the distinct selector names of all columns.
|
java.lang.Iterable<? extends ResultRow> |
getRows()
Get the rows.
|
java.lang.String[] |
getSelectorNames()
Get the list of selector names.
|
long |
getSize()
Get the number of rows, if known.
|
long |
getSize(Result.SizePrecision precision,
long max)
Get the number of rows, if known.
|
java.lang.String[] getColumnNames()
java.lang.String[] getColumnSelectorNames()
java.lang.String[] getSelectorNames()
java.lang.Iterable<? extends ResultRow> getRows()
long getSize()
long getSize(Result.SizePrecision precision, long max)
precision
- the required precisionmax
- the maximum number that should be returned (Long.MAX_VALUE for
unlimited). For EXACT, the cost of the operation is at most
O(max). For approximations, the cost of the operation should
be at most O(log max).Copyright © 2010 - 2020 Adobe. All Rights Reserved