|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.timeindexing.time.TimestampMapping
A TimestampMapping is an object that holds the mapping of a Timestamp to a Position in an index. The Timestamp to Position is looked up at runtime. These objects are used to cache the found Position.
Field Summary |
Fields inherited from interface com.timeindexing.basic.Position |
END_OF_INDEX, TOO_HIGH, TOO_LOW |
Constructor Summary | |
TimestampMapping(Timestamp t,
Position p)
Construct a TimestampMapping |
Method Summary | |
java.lang.Object |
clone()
Clone me. |
Position |
position()
Get the position |
Timestamp |
timestamp()
Get the Timestamp |
java.lang.String |
toString()
The toString method shows the Position. |
long |
value()
Get the value |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TimestampMapping(Timestamp t, Position p)
Method Detail |
public long value()
value
in interface Value
public Position position()
position
in interface Position
public Timestamp timestamp()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface Position
java.lang.CloneNotSupportedException
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |