|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRowStoreConstants
Various constants that may be used with the SparseRowStore.
| Field Summary | |
|---|---|
static long |
AUTO_TIMESTAMP
A value which indicates that the timestamp will be assigned by the server - unique timestamps are NOT guarenteed with this constant. |
static long |
AUTO_TIMESTAMP_UNIQUE
A value which indicates that a unique timestamp will be assigned by the server. |
static long |
CURRENT_ROW
A special value that may be used as the toTime to read only the current values for a given logical row. |
static long |
MAX_TIMESTAMP
The maximum value for a timestamp. |
static long |
MIN_TIMESTAMP
The minimum value for a timestamp. |
| Field Detail |
|---|
static final long MIN_TIMESTAMP
TPS.TPVs beginning with the earliest values on record in
the store.
static final long MAX_TIMESTAMP
TPS.TPVs up to the most current on record in the store.
static final long CURRENT_ROW
Note: This value MAY NOT be specified for the fromTime. The fromTime is always the first timestamp that will be accepted by a read.
Normally you will specify MIN_TIMESTAMP as the fromTime
when you specify CURRENT_ROW as the toTime. This has the
effect of returning the most current bindings for all properties in the
logical row.
If you specify a different fromTime timestamp then any property not bound since the given fromTime WILL NOT have a binding in the returned property set. This is useful when you are storing timeseries data as you can efficiently select a range of the timeseries.
static final long AUTO_TIMESTAMP
AUTO_TIMESTAMP_UNIQUE unless you have a compelling reason and a
robust design that is safe in the face of such possible overwrites.
AUTO_TIMESTAMP_UNIQUE,
Constant Field Valuesstatic final long AUTO_TIMESTAMP_UNIQUE
AUTO_TIMESTAMP
unless you have a compelling design that is robust in the face of
possible overwrite by other callers resulting in the assignment of
the same timestamp to two different writes.
AUTO_TIMESTAMP,
Constant Field Values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||