|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.querying.parser.Query org.terrier.querying.parser.MultiTermQuery org.terrier.querying.parser.SegmentQuery
public class SegmentQuery
Used to represent a particular segement of the query terms
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.terrier.querying.parser.Query |
---|
Query.ForEachQueryNode |
Field Summary |
---|
Fields inherited from class org.terrier.querying.parser.MultiTermQuery |
---|
prefix, suffix, v |
Fields inherited from class org.terrier.querying.parser.Query |
---|
child, tmpSTQ |
Constructor Summary | |
---|---|
SegmentQuery()
Constructs an instance of the SegmentQuery. |
Method Summary | |
---|---|
Query |
get(int index)
get Query |
void |
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, toString |
Methods inherited from class org.terrier.querying.parser.Query |
---|
setChild |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SegmentQuery()
Method Detail |
---|
public Query get(int index)
index
-
public void replace(int index, Query replacement)
index
- replacement
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |