|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface of IR Query
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Method Summary | |
IRQuery |
getChild(int index)
|
int |
getChildNum()
|
Operator |
getOperator()
|
int |
getQueryKey()
|
double |
getSelectivity()
|
boolean |
isCompoundQuery()
If the current query denotes a simple predicate, this method returns false, otherwise true. |
boolean |
isPredicate()
A predicate always begins with a ltter T (term predicate), R(relation predicate), or M(modifier predicate) |
boolean |
isRelBoolQuery()
|
boolean |
isRelSimpleQuery()
|
boolean |
parse(java.lang.String query)
|
void |
setQueryKey(int key)
|
java.lang.String |
toString()
|
| Method Detail |
public int getQueryKey()
public void setQueryKey(int key)
public boolean isPredicate()
public boolean isCompoundQuery()
public boolean isRelSimpleQuery()
public boolean isRelBoolQuery()
public IRQuery getChild(int index)
public int getChildNum()
public double getSelectivity()
public Operator getOperator()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean parse(java.lang.String query)
query - the query string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||