com.bigdata.util
Class NT

java.lang.Object
  extended by com.bigdata.util.NT
All Implemented Interfaces:
Serializable

public class NT
extends Object
implements Serializable

The name of an IIndex or an IRelation and a timestamp. This is used as a key for a WeakValueCache to provide a canonicalizing mapping for index views or relation views.

Version:
$Id: NT.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
NT(String name, long timestamp)
           
 
Method Summary
 boolean equals(NT o)
           
 boolean equals(Object o)
           
 String getName()
           
 long getTimestamp()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NT

public NT(String name,
          long timestamp)
Parameters:
name - The name of an IIndex or an IRelation.
timestamp - The timestamp associated with the view.
Method Detail

getName

public String getName()

getTimestamp

public long getTimestamp()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

equals

public boolean equals(NT o)

toString

public String toString()
Overrides:
toString in class Object


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