public interface ITPS
timestamp property values
representing data for a specific
Schema
.Modifier and Type | Method and Description |
---|---|
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 . |
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
.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.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.