public class Responder extends Object implements StoreCursor.Responder
Modifier and Type | Method and Description |
---|---|
long |
count()
Returns the count of values that would satisfy the query.
|
int |
limit()
Returns a limit on the number of values allowed by the backend.
|
Optional<VersionedValue> |
next()
Returns the next point value.
|
void |
reset(Optional<StoreCursor> storeCursor)
Resets this responder.
|
public long count()
count
in interface StoreCursor.Responder
public int limit()
limit
in interface StoreCursor.Responder
public Optional<VersionedValue> next()
next
in interface StoreCursor.Responder
public void reset(Optional<StoreCursor> storeCursor)
The responder should free resources reserved by a previous store
query. If the store cursor parameter is not empty, it should prepare
for calls to its StoreCursor.Responder.next()
method.
reset
in interface StoreCursor.Responder
storeCursor
- The controlling store cursor (may be empty).Copyright © 2003-2019 Serge Brisson. All Rights Reserved.