com.bigdata.sparse
Class TPS.TP

java.lang.Object
  extended by com.bigdata.sparse.TPS.TP
All Implemented Interfaces:
Comparable<TPS.TP>
Enclosing class:
TPS

protected static class TPS.TP
extends Object
implements Comparable<TPS.TP>

A {property, timestamp} tuple.

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

Field Summary
 String name
           
 long timestamp
           
 
Constructor Summary
TPS.TP(String name, long timestamp)
           
 
Method Summary
 int compareTo(TPS.TP o)
          Note: The order is imposed by timestamp (ascending) then property name (ascending).
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public final String name

timestamp

public final long timestamp
Constructor Detail

TPS.TP

public TPS.TP(String name,
              long timestamp)
Method Detail

compareTo

public int compareTo(TPS.TP o)
Note: The order is imposed by timestamp (ascending) then property name (ascending). This means that a scan may abort once it reads a timestamp greater than the largest timestamp of interest.

Specified by:
compareTo in interface Comparable<TPS.TP>

toString

public String toString()
Overrides:
toString in class Object


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