|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.search.impl.lucene.query.AbstractStructuredFieldPosition
public abstract class AbstractStructuredFieldPosition
| Constructor Summary | |
|---|---|
AbstractStructuredFieldPosition(java.lang.String termText,
boolean isTerminal,
boolean isAbsolute)
|
|
| Method Summary | |
|---|---|
boolean |
allowslinkingByParent()
|
boolean |
allowsLinkingBySelf()
|
boolean |
equals(java.lang.Object obj)
|
CachingTermPositions |
getCachingTermPositions()
|
abstract java.lang.String |
getDescription()
|
int |
getPosition()
If absolute return the position. |
java.lang.String |
getTermText()
Get the test to search for in the term query. |
int |
hashCode()
|
boolean |
isAbsolute()
Is this an absolute element; that is, it knows its exact position. |
boolean |
isDescendant()
|
boolean |
isRelative()
This element only knows its position relative to the previous element. |
boolean |
isTerminal()
If this position is last in the chain and it is terminal it will ensure it is an exact match for the length of the chain found. |
boolean |
linkParent()
|
boolean |
linkSelf()
Normally paths would require onlt parent chaining. |
boolean |
matchesAll()
|
void |
setCachingTermPositions(CachingTermPositions tps)
A reference to the caching term positions this element uses. |
protected void |
setTerminal(boolean isTerminal)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.alfresco.repo.search.impl.lucene.query.StructuredFieldPosition |
|---|
matches |
| Constructor Detail |
|---|
public AbstractStructuredFieldPosition(java.lang.String termText,
boolean isTerminal,
boolean isAbsolute)
| Method Detail |
|---|
public boolean isTerminal()
StructuredFieldPosition
isTerminal in interface StructuredFieldPositionprotected void setTerminal(boolean isTerminal)
public boolean isAbsolute()
StructuredFieldPosition
isAbsolute in interface StructuredFieldPositionpublic boolean isRelative()
StructuredFieldPosition
isRelative in interface StructuredFieldPositionpublic java.lang.String getTermText()
StructuredFieldPosition
getTermText in interface StructuredFieldPositionpublic int getPosition()
StructuredFieldPosition
getPosition in interface StructuredFieldPositionpublic void setCachingTermPositions(CachingTermPositions tps)
StructuredFieldPosition
setCachingTermPositions in interface StructuredFieldPositionpublic CachingTermPositions getCachingTermPositions()
getCachingTermPositions in interface StructuredFieldPositionpublic boolean allowsLinkingBySelf()
allowsLinkingBySelf in interface StructuredFieldPositionpublic boolean allowslinkingByParent()
allowslinkingByParent in interface StructuredFieldPositionpublic boolean linkParent()
linkParent in interface StructuredFieldPositionpublic boolean linkSelf()
StructuredFieldPosition
linkSelf in interface StructuredFieldPositionpublic java.lang.String toString()
toString in class java.lang.Objectpublic abstract java.lang.String getDescription()
public boolean isDescendant()
isDescendant in interface StructuredFieldPositionpublic boolean matchesAll()
matchesAll in interface StructuredFieldPositionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||