|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITPS
A Timestamp Property Set is a property set with
timestamp property values representing data for a specific
Schema.
| Method Summary | |
|---|---|
Map<String,Object> |
asMap()
Return a copy of the tuples showing only the most recent value for each property. |
Map<String,Object> |
asMap(long timestamp)
Return a copy of the tuples showing only the most recent value for each property whose timestamp is not greater than the given timestamp. |
Map<String,Object> |
asMap(long timestamp,
INameFilter filter)
Return a copy of the tuples showing only the most recent value for each property whose timestamp is not greater than the given timestamp. |
ITPV |
get(String name)
Return the most recent value for the named property. |
ITPV |
get(String name,
long timestamp)
Return the most recent value for the named property whose timestamp is not greater than the specified timestamp. |
Object |
getPrimaryKey()
The value of the primary key. |
Schema |
getSchema()
The Schema name. |
long |
getWriteTimestamp()
The timestamp assigned by an atomic write operation (for atomic readback only). |
Iterator<ITPV> |
iterator()
Visits all tuples in order by ascending timestamp. |
int |
size()
The #of tuples - each tuple is an ITPV. |
| Method Detail |
|---|
Schema getSchema()
Schema name.
Object getPrimaryKey()
null if there is
no property value bound for the property named by
Schema.getName().long getWriteTimestamp()
IllegalStateException - if no timestamp has been assigned.int size()
ITPV.
ITPV get(String name,
long timestamp)
name - The property name.timestamp - The timestamp.
null.ITPV get(String name)
name - The propery name.
null. If no value was found
for the named property, then ITPV.getValue() will return
null and ITPV.getTimestamp() will return
0L.Iterator<ITPV> iterator()
Map<String,Object> asMap()
Map<String,Object> asMap(long timestamp)
timestamp - The timestamp (use Long.MAX_VALUE to read the most
recent value for each property).
Map<String,Object> asMap(long timestamp,
INameFilter filter)
timestamp - The timestamp (use Long.MAX_VALUE to read the most
recent value for each property).filter - An optional filter that may be used to select only specific
property names.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||