public class ResultSet extends Object implements Iterable<Record>
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
long |
getHitCount() |
Record |
getRecord(long index) |
List<Record> |
getRecords(long start,
int count)
Retrieve a collection of records at once.
|
Iterator<Record> |
iterator() |
String |
option(String name)
Read option by name.
|
ResultSet |
option(String name,
String value)
Write option with a given name.
|
ResultSet |
sort(String type,
String spec) |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public String option(String name)
name
- option namepublic ResultSet option(String name, String value)
name
- option namevalue
- option valuepublic Record getRecord(long index) throws ZoomException
ZoomException
public List<Record> getRecords(long start, int count) throws ZoomException
start
- start index within the result setcount
- number of records to retrieveZoomException
- raised in case of protocol errorspublic ResultSet sort(String type, String spec) throws ZoomException
type
- spec
- ZoomException
public long getHitCount()
Copyright © 2008–2015 Index Data. All rights reserved.