Class PathQueryNode.QueryText
java.lang.Object
org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode.QueryText
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- PathQueryNode
Term text with a beginning and end position
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
!= null The term's begin position.(package private) int
The term's end position.(package private) CharSequence
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
CharSequence value -
begin
int begin!= null The term's begin position. -
end
int endThe term's end position.
-
-
Constructor Details
-
QueryText
- Parameters:
value
- - text valuebegin
- - position in the query stringend
- - position in the query string
-
-
Method Details
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
getValue
- Returns:
- the value
-
getBegin
public int getBegin()- Returns:
- the begin
-
getEnd
public int getEnd()- Returns:
- the end
-
toString
-