com.bigdata.sparse
Class TPS.TPV

java.lang.Object
  extended by com.bigdata.sparse.TPS.TPV
All Implemented Interfaces:
ITPV
Enclosing class:
TPS

public static class TPS.TPV
extends Object
implements ITPV

Helper class models a single property value as of a given timestamp.

Version:
$Id: TPS.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Constructor Summary
TPS.TPV(Schema schema, String name, long timestamp, Object value)
           
 
Method Summary
 String getName()
          The property name.
 Schema getSchema()
          The Schema.
 long getTimestamp()
          The timestamp.
 Object getValue()
          The property value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TPS.TPV

public TPS.TPV(Schema schema,
               String name,
               long timestamp,
               Object value)
Parameters:
schema - The schema.
name - The property name.
timestamp - The timestamp.
value - The property value -or- null if the property was deleted as of the given timestamp.
Method Detail

getSchema

public Schema getSchema()
Description copied from interface: ITPV
The Schema.

Specified by:
getSchema in interface ITPV

getName

public String getName()
Description copied from interface: ITPV
The property name.

Specified by:
getName in interface ITPV

getTimestamp

public long getTimestamp()
Description copied from interface: ITPV
The timestamp.

Specified by:
getTimestamp in interface ITPV

getValue

public Object getValue()
Description copied from interface: ITPV
The property value.

Specified by:
getValue in interface ITPV
Returns:
The value of the property as of the indicated timestamp -or- null iff the property was NOT bound as of that timestamp (i.e., either a deleted property value or a property that was never bound).

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.