|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.sql.lang.Option
public class Option
Represents MetaMatrix extension options to normal SQL. Options are declared in a list after the OPTION keyword, such as: "OPTION SHOWPLAN DEBUG".
| Field Summary | |
|---|---|
static java.lang.String |
MAKEDEP
|
static java.lang.String |
MAKENOTDEP
|
static java.lang.String |
OPTIONAL
|
| Constructor Summary | |
|---|---|
Option()
Construct a default instance of the Option clause. |
|
| Method Summary | |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor. |
void |
addDependentGroup(java.lang.String group)
Add group to make dependent |
void |
addNoCacheGroup(java.lang.String group)
Add group that overrides the default behavior of Materialized View feautre to route the query to the primary virtual group transformation instead of the Materialized View transformation. |
void |
addNotDependentGroup(java.lang.String group)
Add group to make dependent |
java.lang.Object |
clone()
Return deep copy of this option object |
boolean |
equals(java.lang.Object obj)
Compare two Option clauses for equality. |
boolean |
getDebug()
Get flag for whether to dump debug info on the server |
java.util.List |
getDependentGroups()
Get all groups to make dependent |
java.util.List |
getNoCacheGroups()
Get all groups that override the default behavior of Materialized View feautre to route the query to the primary virtual group transformation instead of the Materialized View transformation. |
java.util.List |
getNotDependentGroups()
Get all groups to make dependent |
boolean |
getPlanOnly()
Get flag for whether to return the query plan without the results |
boolean |
getShowPlan()
Get flag for whether to return the query plan with the results |
int |
hashCode()
Get hash code for Option. |
boolean |
isNoCache()
|
void |
setDebug(boolean flag)
Set flag to dump debug info on the server |
void |
setNoCache(boolean noCache)
|
void |
setPlanOnly(boolean planOnly)
Set flag for returning only the query plan without executing the query |
void |
setShowPlan(boolean flag)
Set flag for returning the query plan with the results |
java.lang.String |
toString()
Returns a string representation of an instance of this class. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MAKEDEP
public static final java.lang.String MAKENOTDEP
public static final java.lang.String OPTIONAL
| Constructor Detail |
|---|
public Option()
| Method Detail |
|---|
public void setShowPlan(boolean flag)
flag - True to return the query plan with the results, false otherwisepublic boolean getShowPlan()
public void setPlanOnly(boolean planOnly)
flag - True to return the query plan without the results, false otherwisepublic boolean getPlanOnly()
public void setDebug(boolean flag)
flag - True to dump debug info for this query, false otherwisepublic boolean getDebug()
public void addDependentGroup(java.lang.String group)
group - Group to make dependentpublic java.util.List getDependentGroups()
public void addNotDependentGroup(java.lang.String group)
group - Group to make dependentpublic java.util.List getNotDependentGroups()
public void addNoCacheGroup(java.lang.String group)
group - Group that overrides the default behavior of Materialized Viewpublic java.util.List getNoCacheGroups()
public boolean isNoCache()
public void setNoCache(boolean noCache)
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor in interface LanguageObjectvisitor - Visitor being usedpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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 java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||