|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.lehigh.swat.hawk.storage.Query
edu.lehigh.swat.hawk.storage.simpledb.Query
public class Query
Constructor Summary | |
---|---|
Query()
Constructor |
Method Summary | |
---|---|
void |
addConjunct(Atom atom)
Adds an additional atom as a conjunct to the existing sentence where the input is the atom to be added. |
java.util.Vector |
getAtoms()
Returns the vector of atoms that are conjuncted together in the sentence. |
DocId |
getPerspective()
Get the id of the perspective ontology. |
void |
setPerspective(DocId pid)
Set the perspective ontology's id. |
static Query |
StringToQuery(java.lang.String s)
Parse a string to query. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Query()
Method Detail |
---|
public void addConjunct(Atom atom)
public java.util.Vector getAtoms()
public void setPerspective(DocId pid)
public DocId getPerspective()
public static Query StringToQuery(java.lang.String s)
s
-
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |