|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.query.CQLQuery
public class CQLQuery
This class wraps a CQL Query
Field Summary | |
---|---|
protected java.lang.String |
cql
Stores a reference to the base cql for the XCQL query root |
protected org.w3c.dom.Node |
queryRoot
Stores a reference to the root of the cql query |
Constructor Summary | |
---|---|
CQLQuery(JaferQuery jaferQuery)
constructor |
|
CQLQuery(org.w3c.dom.Node xcql)
constructor |
|
CQLQuery(java.lang.String cql)
constructor |
Method Summary | |
---|---|
java.lang.String |
getCQLQuery()
Get the constructed query object as CQL |
org.w3c.dom.Node |
getXCQLQuery()
Get the constructed query object as XCQL |
java.lang.String |
getXML()
This method returns a string representation of the XML for the current query |
CQLQuery |
toCQLQuery()
This method converts the current Query representation into a CQLQuery object |
JaferQuery |
toJaferQuery()
This method converts the current Query representation into a JaferQuery object |
RPNQuery |
toRPNQuery()
This method converts the current Query representation into a RPNQuery object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.w3c.dom.Node queryRoot
protected java.lang.String cql
Constructor Detail |
---|
public CQLQuery(JaferQuery jaferQuery) throws QueryException
jaferQuery
- the jafer query to construct from
QueryException
public CQLQuery(org.w3c.dom.Node xcql) throws QueryException
xcql
- the XCQL root node
QueryException
public CQLQuery(java.lang.String cql) throws QueryException
cql
- the cql as a string
QueryException
Method Detail |
---|
public org.w3c.dom.Node getXCQLQuery()
public java.lang.String getCQLQuery() throws QueryException
QueryException
public CQLQuery toCQLQuery()
toCQLQuery
in interface QueryConverter
public JaferQuery toJaferQuery() throws QueryException
toJaferQuery
in interface QueryConverter
QueryException
public RPNQuery toRPNQuery() throws QueryException
toRPNQuery
in interface QueryConverter
QueryException
public java.lang.String getXML() throws QueryException
getXML
in interface QueryConverter
QueryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |