|
||||||||||
| 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.QueryCommand
public abstract class QueryCommand
This is a common super class for the two types of query commands: Query and SetQuery. This class provides some useful commonalities when the type of query command is not known.
| 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 | |
|---|---|
QueryCommand()
|
|
| Method Summary | |
|---|---|
Limit |
getLimit()
|
OrderBy |
getOrderBy()
Get the order by clause for the query. |
abstract Query |
getProjectedQuery()
|
void |
setLimit(Limit limit)
|
void |
setOrderBy(OrderBy orderBy)
Set the order by clause for the query. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.metamatrix.query.sql.LanguageObject |
|---|
acceptVisitor |
| Constructor Detail |
|---|
public QueryCommand()
| Method Detail |
|---|
public OrderBy getOrderBy()
public void setOrderBy(OrderBy orderBy)
orderBy - New order by clausepublic Limit getLimit()
public void setLimit(Limit limit)
public abstract Query getProjectedQuery()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||