Interface AResult
-
- All Known Implementing Classes:
RichAResult
public interface AResult extends Iterable<ARecord>
The result of aASelectQuery. GroupsARecords.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetLimit()Return the set's size limit.longgetOffset()Return the offset within the total result set.StringgetQuery()Return a string representation of the query.com.entwinemedia.fn.Stream<ARecord>getRecords()Return the found records.longgetSearchTime()Return the search time of the query.longgetSize()Return the size of the retrievedslice.longgetTotalSize()Return the number of items the query could potentially yield.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
getRecords
com.entwinemedia.fn.Stream<ARecord> getRecords()
Return the found records.
-
getSize
long getSize()
Return the size of the retrievedslice. This value is <=getLimit().- See Also:
getLimit()
-
getQuery
String getQuery()
Return a string representation of the query.
-
getTotalSize
long getTotalSize()
Return the number of items the query could potentially yield.- Returns:
- the total value or -1 to indicate that the value has not been calculated
-
getLimit
long getLimit()
Return the set's size limit. It reflects the requested page size if specified in the query. This value is >=getSize().- Returns:
- the requested size limit or -1 if none has been specified
- See Also:
getSize()
-
getOffset
long getOffset()
Return the offset within the total result set.
-
getSearchTime
long getSearchTime()
Return the search time of the query.- Returns:
- the search time or -1 to indicate that it has not been measured
-
-