public class AtomicRowRead extends AbstractAtomicRowReadOrWrite
Schemaand primary key.
filter, fromTime, primaryKey, schema, toTime
|Constructor and Description|
Constructor for an atomic read operation.
|Modifier and Type||Method and Description|
atomicRead, atomicRead, getCurrentValue, readExternal, writeExternal
public AtomicRowRead(Schema schema, Object primaryKey, long fromTime, long toTime, INameFilter filter)
schema- The schema governing the property set.
primaryKey- The value of the primary key (identifies the logical row to be read).
fromTime- During pre-condition and post-condition reads, the first timestamp for which timestamped property values will be accepted.
toTime- During pre-condition and post-condition reads, the first timestamp for which timestamped property values will NOT be accepted -or-
IRowStoreConstants.CURRENT_ROWto accept only the most current binding whose timestamp is GTE fromTime.
filter- An optional filter used to restrict the property values that will be returned.
public final boolean isReadOnly()
trueiff the procedure asserts that it will not write on the index. When
true, the procedure may be run against a view of the index that is read-only or which allows concurrent processes to read on the same index object. When
falsethe procedure will be run against a mutable view of the index (assuming that the procedure is executed in a context that has access to a mutable index view).
ndx- The index.
TPSinstance containing the selected data from the logical row identified by the
nulliff the primary key was NOT FOUND in the index. I.e., iff there are NO entries for that primary key regardless of whether or not they were selected.
Copyright © 2006–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.