|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.query.sql.lang.Command com.metamatrix.query.sql.lang.XQuery
public class XQuery
An XQuery command object
Field Summary |
---|
Fields inherited from class com.metamatrix.query.sql.lang.Command |
---|
tempGroupIDs, TYPE_BATCHED_UPDATE, TYPE_CREATE, TYPE_DELETE, TYPE_DROP, TYPE_DYNAMIC, TYPE_INSERT, TYPE_QUERY, TYPE_SQL, TYPE_STORED_PROCEDURE, TYPE_UNKNOWN, TYPE_UPDATE, TYPE_UPDATE_PROCEDURE, TYPE_XQUERY |
Constructor Summary | |
---|---|
XQuery()
|
|
XQuery(java.lang.String xQuery,
XQueryExpression compiledXQuery)
|
Method Summary | |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor. |
boolean |
areResultsCachable()
Whether the results are cachable. |
java.lang.Object |
clone()
Return a copy of this SQLQuery. |
boolean |
equals(java.lang.Object obj)
Compare two queries for equality. |
XQueryExpression |
getCompiledXQuery()
|
java.util.List |
getProjectedSymbols()
Get the ordered list of all elements returned by this query. |
int |
getType()
Return type of command to make it easier to build switch statements by command type. |
java.lang.String |
getXQuery()
|
int |
hashCode()
Get hashcode for query. |
java.lang.String |
toString()
Returns a string representation of an instance of this class. |
int |
updatingModelCount(QueryMetadataInterface metadata)
Return the number of updates on physical sources by this command. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XQuery()
public XQuery(java.lang.String xQuery, XQueryExpression compiledXQuery)
Method Detail |
---|
public java.lang.String getXQuery()
public XQueryExpression getCompiledXQuery()
public int getType()
Command
getType
in class Command
Command.getType()
public java.util.List getProjectedSymbols()
Command
getProjectedSymbols
in class Command
Command.getProjectedSymbols()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Other object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in interface LanguageObject
clone
in class Command
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
visitor
- Visitor being usedpublic java.lang.String toString()
toString
in class Command
public boolean areResultsCachable()
Command
areResultsCachable
in class Command
Command.areResultsCachable()
public int updatingModelCount(QueryMetadataInterface metadata) throws MetaMatrixComponentException
Command
updatingModelCount
in class Command
metadata
- QueryMetadataInterface
MetaMatrixComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |