Class PathQueryNode.QueryText
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode.QueryText
-
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- PathQueryNode
public static class PathQueryNode.QueryText extends Object implements Cloneable
Term text with a beginning and end position
-
-
Constructor Summary
Constructors Constructor Description QueryText(CharSequence value, int begin, int end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathQueryNode.QueryText
clone()
int
getBegin()
int
getEnd()
CharSequence
getValue()
String
toString()
-
-
-
Constructor Detail
-
QueryText
public QueryText(CharSequence value, int begin, int end)
- Parameters:
value
- - text valuebegin
- - position in the query stringend
- - position in the query string
-
-
Method Detail
-
clone
public PathQueryNode.QueryText clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
getValue
public CharSequence getValue()
- Returns:
- the value
-
getBegin
public int getBegin()
- Returns:
- the begin
-
getEnd
public int getEnd()
- Returns:
- the end
-
-