|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.util.Map |
getVariables()
|
java.lang.String |
getXQuery()
|
int |
hashCode()
Get hashcode for query. |
void |
setVariables(java.util.Map variables)
|
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 void setVariables(java.util.Map variables)
public java.util.Map getVariables()
public java.lang.String getXQuery()
public XQueryExpression getCompiledXQuery()
public int getType()
Command
getType in class CommandCommand.getType()public java.util.List getProjectedSymbols()
Command
getProjectedSymbols in class CommandCommand.getProjectedSymbols()public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Other object
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
clone in interface LanguageObjectclone in class Commandpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObject
visitor - Visitor being usedpublic java.lang.String toString()
toString in class Commandpublic boolean areResultsCachable()
Command
areResultsCachable in class CommandCommand.areResultsCachable()
public int updatingModelCount(QueryMetadataInterface metadata)
throws MetaMatrixComponentException
Command
updatingModelCount in class Commandmetadata - QueryMetadataInterface
MetaMatrixComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||