public interface StructuredFieldPosition
Modifier and Type | Method and Description |
---|---|
boolean |
allowslinkingByParent() |
boolean |
allowsLinkingBySelf() |
CachingTermPositions |
getCachingTermPositions() |
int |
getPosition()
If absolute return the position.
|
String |
getTermText()
Get the test to search for in the term query.
|
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.
|
int |
matches(int start,
int end,
int offset)
Does this element match
|
boolean |
matchesAll() |
void |
setCachingTermPositions(CachingTermPositions tps)
A reference to the caching term positions this element uses.
|
int matches(int start, int end, int offset) throws IOException
start
- -
the start postion of the paths termsend
- -
the end position of the paths termsoffset
- -
the current offset in the pathIOException
boolean isTerminal()
boolean isAbsolute()
boolean isRelative()
String getTermText()
int getPosition()
void setCachingTermPositions(CachingTermPositions tps)
tps
- CachingTermPositionsCachingTermPositions getCachingTermPositions()
boolean linkSelf()
boolean linkParent()
boolean allowslinkingByParent()
boolean allowsLinkingBySelf()
boolean isDescendant()
boolean matchesAll()
Copyright © 2005–2017 Alfresco Software. All rights reserved.