Package org.terrier.querying.parser
Class SegmentQuery
- java.lang.Object
-
- org.terrier.querying.parser.Query
-
- org.terrier.querying.parser.MultiTermQuery
-
- org.terrier.querying.parser.SegmentQuery
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class SegmentQuery extends MultiTermQuery
Used to represent a particular segement of the query terms- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.terrier.querying.parser.Query
Query.ForEachQueryNode, Query.QTPBuilder, Query.QueryTermsParameter
-
-
Constructor Summary
Constructors Constructor Description SegmentQuery()
Constructs an instance of the SegmentQuery.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Query
get(int index)
get Queryvoid
replace(int index, Query replacement)
Replace current query-
Methods inherited from class org.terrier.querying.parser.MultiTermQuery
add, add, apply, applyTermPipeline, clone, getNumberOfTerms, getTerms, getTermsOf, obtainAllOf, obtainControls, obtainQueryTerms, obtainQueryTerms, parseTree, replace, setWeight, toString
-
-