ch.ethz.mxquery.datamodel
Class LongDblIdentifier
java.lang.Object
ch.ethz.mxquery.datamodel.LongDblIdentifier
- All Implemented Interfaces:
- Identifier
public class LongDblIdentifier
- extends java.lang.Object
- implements Identifier
Double implementation that is based on one long.
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
idDecimalPlaces
public static final int idDecimalPlaces
- See Also:
- Constant Field Values
compare
public int compare(Identifier toCompare)
- Description copied from interface:
Identifier
- Compares this token identifier with an other one.
- Specified by:
compare
in interface Identifier
- Returns:
- 0 if equal, -1 if
identifier
is smaller, 1 if
identifier
is bigger, and -2 if the two Identifier
do not belong to the same data source.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getStore
public Source getStore()
- Description copied from interface:
Identifier
- Returns the DataSource to which the Identifier belongs to.
- Specified by:
getStore
in interface Identifier
- Returns:
- the Source/Store for this identifier
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
createIdentifier
public static Identifier createIdentifier(int newId,
Source store)
createInsertIdentifiers
public static Identifier[] createInsertIdentifiers(Identifier leftBoundId,
Identifier rightBoundId,
int number,
Source source)
throws MXQueryException
- Throws:
MXQueryException
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich