|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xindice.core.indexer.IndexMatch
IndexMatch is used for representing match information. IndexMatches are the basic unit of information between Indexers and the IndexManager for performing queries and query optimization.
Constructor Summary | |
IndexMatch()
|
|
IndexMatch(Key key,
IndexPattern pattern)
|
|
IndexMatch(Key key,
int pos,
int len)
|
|
IndexMatch(Key key,
int pos,
int len,
short elem,
short attr)
|
|
IndexMatch(Key key,
short elem,
short attr)
|
Method Summary | |
int |
compareTo(Object obj)
|
short |
getAttribute()
getAttribute returns the Attribute symbol ID for the Match. |
short |
getElement()
getElement returns the Element symbol ID for the Match. |
Key |
getKey()
getKey returns the Document Key for the IndexMatch. |
int |
getLength()
getLength returns the Node length for the Match. |
int |
getPosition()
getPosition returns the Document position for the Match. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IndexMatch()
public IndexMatch(Key key, int pos, int len, short elem, short attr)
public IndexMatch(Key key, int pos, int len)
public IndexMatch(Key key, IndexPattern pattern)
public IndexMatch(Key key, short elem, short attr)
Method Detail |
public final Key getKey()
public final int getPosition()
public final int getLength()
public final short getElement()
public final short getAttribute()
public int compareTo(Object obj)
compareTo
in interface Comparable
public String toString()
|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |