|
|||||||||
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 StructuredFieldPosition
protected void setTerminal(boolean isTerminal)
public boolean isAbsolute()
StructuredFieldPosition
isAbsolute
in interface StructuredFieldPosition
public boolean isRelative()
StructuredFieldPosition
isRelative
in interface StructuredFieldPosition
public java.lang.String getTermText()
StructuredFieldPosition
getTermText
in interface StructuredFieldPosition
public int getPosition()
StructuredFieldPosition
getPosition
in interface StructuredFieldPosition
public void setCachingTermPositions(CachingTermPositions tps)
StructuredFieldPosition
setCachingTermPositions
in interface StructuredFieldPosition
public CachingTermPositions getCachingTermPositions()
getCachingTermPositions
in interface StructuredFieldPosition
public boolean allowsLinkingBySelf()
allowsLinkingBySelf
in interface StructuredFieldPosition
public boolean allowslinkingByParent()
allowslinkingByParent
in interface StructuredFieldPosition
public boolean linkParent()
linkParent
in interface StructuredFieldPosition
public boolean linkSelf()
StructuredFieldPosition
linkSelf
in interface StructuredFieldPosition
public java.lang.String toString()
toString
in class java.lang.Object
public abstract java.lang.String getDescription()
public boolean isDescendant()
isDescendant
in interface StructuredFieldPosition
public boolean matchesAll()
matchesAll
in interface StructuredFieldPosition
public int hashCode()
hashCode
in class java.lang.Object
public 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 |