public class Option extends Object implements LanguageObject
Modifier and Type | Class and Description |
---|---|
static class |
Option.MakeDep |
LanguageObject.Util
Modifier and Type | Field and Description |
---|---|
static String |
MAKEDEP |
static String |
MAKENOTDEP |
static String |
OPTIONAL |
Constructor and Description |
---|
Option()
Construct a default instance of the Option clause.
|
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
void |
addDependentGroup(String group)
Add group to make dependent
|
void |
addDependentGroup(String group,
Option.MakeDep makedep) |
void |
addIndependentGroup(String group,
Option.MakeDep makedep) |
void |
addNoCacheGroup(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(String group)
Add group to make dependent
|
Object |
clone()
Return deep copy of this option object
|
boolean |
equals(Object obj)
Compare two Option clauses for equality.
|
List<String> |
getDependentGroups()
Get all groups to make dependent
|
List<Option.MakeDep> |
getMakeDepOptions() |
List<String> |
getMakeIndependentGroups() |
List<Option.MakeDep> |
getMakeIndependentOptions() |
List<String> |
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.
|
List<String> |
getNotDependentGroups()
Get all groups to make dependent
|
int |
hashCode()
Get hash code for Option.
|
boolean |
isNoCache() |
void |
setNoCache(boolean noCache) |
String |
toString()
Returns a string representation of an instance of this class.
|
public static final String MAKEDEP
public static final String MAKENOTDEP
public static final String OPTIONAL
public void addDependentGroup(String group)
group
- Group to make dependentpublic void addDependentGroup(String group, Option.MakeDep makedep)
public void addIndependentGroup(String group, Option.MakeDep makedep)
public List<String> getDependentGroups()
public List<Option.MakeDep> getMakeDepOptions()
public List<Option.MakeDep> getMakeIndependentOptions()
public void addNotDependentGroup(String group)
group
- Group to make dependentpublic List<String> getNotDependentGroups()
public void addNoCacheGroup(String group)
group
- Group that overrides the default behavior of Materialized Viewpublic List<String> getNoCacheGroups()
public boolean isNoCache()
public void setNoCache(boolean noCache)
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
visitor
- Visitor being usedpublic String toString()
public boolean equals(Object obj)
public int hashCode()
public Object clone()
clone
in interface LanguageObject
clone
in class Object
Copyright © 2019. All rights reserved.