|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.buffer.TupleSourceID
public class TupleSourceID
Identifier for a tuple source. The tuple source ID contains two
pieces of information: a unique ID (unique across locations) and
a location. Both must be represented by a string but different
systems may use different location descriptions. The
com.metamatrix.common.buffer.BufferManagerLookup
is the only party responsible for providing and decoding the location string.
| Constructor Summary | |
|---|---|
TupleSourceID(java.lang.String stringID)
Creates a tuple source ID given a string version of the ID - the location should be encoded within the stringID, in the form |
|
TupleSourceID(java.lang.String idValue,
java.lang.String location)
Creates a tuple source ID given a string version of the ID and the location. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares two TupleSourceIDs for equality. |
java.lang.String |
getIDValue()
Get unique ID value, does not contain location |
java.lang.String |
getLocation()
Get location string |
java.lang.String |
getStringID()
Get string combining the unique ID and location in the form |
int |
hashCode()
Get hash code |
java.lang.String |
toString()
Get combined string representation of TupleSourceID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TupleSourceID(java.lang.String stringID)
stringID - the String ID; may not be null (zero-length is tolerated)
public TupleSourceID(java.lang.String idValue,
java.lang.String location)
idValue - Unique ID; may not be null (zero-length is tolerated)location - Location string| Method Detail |
|---|
public java.lang.String getLocation()
public java.lang.String getIDValue()
public java.lang.String getStringID()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Other object
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||