|Modifier and Type||Field and Description|
Used to submit delete requests to the scale-out index in a robust manner.
dataService, ERR_NO_KEYS, ERR_NO_VALS, name
|Constructor and Description|
|Modifier and Type||Method and Description|
Batch delete the index entries identified by keys and clear the list.
Delete the index entry identified by key.
This method (and no other method on this class) will throw a (possibly wrapped)
getReadConsistent, getResultSet, getTimestamp, readBlock
continuationQuery, deleteBehind, flush, getCommitTime, getDefaultCapacity, getQueryCount, getReadTime, getVisitedCount, next, rangeQuery, remove
protected final IScaleOutClientIndex ndx
public DataServiceTupleIterator(IScaleOutClientIndex ndx, IDataService dataService, String name, long timestamp, byte fromKey, byte toKey, int capacity, int flags, IFilter filter)
ndx- The scale-out index view.
dataService- The data service to be queried.
name- The name of an index partition of that scale-out index on the data service.
timestamp- The timestamp used for the reads. If
ITx.READ_COMMITTED, then each read will be against the most recent commit point on the database. If you want read-consistent, then use
public boolean hasNext()
StaleLocatorExceptionif an index partition is split, joined or moved during traversal.
The caller MUST test any thrown exception. If the exception is, or wraps,
StaleLocatorException, then the caller MUST refresh its
locator for the key range of the index
partition that it thought it was traversing, and then continue traversal
based on the revised locators(s).
StaleLocatorException CAN NOT arise from any other
method since only
#getResultSet(byte, byte, int, int, IFilter)
actually reads from the
IDataService and ALL calls to that method
are driven by
protected void deleteBehind(int n, Iterator<byte> itr)
Copyright © 2006-2015 SYSTAP, LLC. All Rights Reserved.