|
Xindice API version 1.1b4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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)
|
|
| Method Summary | |
int |
compareTo(java.lang.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. |
java.lang.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)
| 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(java.lang.Object obj)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
|
Xindice API version 1.1b4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||