|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.SymmetricCondition
public final class SymmetricCondition
A SyntaxObject that specifies a collection of the members one
or more dimensions.
You use a SymmetricCondition as the parameter for the
method of an setPrecomputeCondition(SymmetricCondition cond)AWCubeOrganization.
When you create a SymmetricCondition, you specify a collection
of one or more SymmetricConditionElement objects.
Each SymmetricConditionElement limits the selection of
dimension members to all or none of the members of a dimension, or all of
the members of one or more levels of the dimension.
A SymmetricCondition is similar to a SQL WHERE
clause.
For compatibility with the SymmetricCondition class in the
11.1 release of the Oracle OLAP Java API, you can also specify a collection
of Condition objects when creating a
SymmetricCondition.
Each Condition is an Expression that specifies
dimension members.
For an 11.2 application, use a constructor that takes
SymmetricConditionElement objects.
| Constructor Summary | |
|---|---|
SymmetricCondition(java.util.List<MdmPrimaryDimension> dimensions,
java.util.List<Condition> conditions)
For compatibility with the 11.1 Oracle OLAP Java API, creates a SymmetricCondition with the specified dimensions
and Condition objects. |
|
SymmetricCondition(java.util.List<SymmetricConditionElement> elements)
Creates a SymmetricCondition with the specified elements. |
|
SymmetricCondition(MdmPrimaryDimension[] dimensions,
Condition[] conditions)
For compatibility with the 11.1 Oracle OLAP Java API, creates a SymmetricCondition with the specified dimensions
and Condition objects. |
|
SymmetricCondition(SymmetricConditionElement[] elements)
Creates a SymmetricCondition with the specified elements. |
|
| Method Summary | |
|---|---|
Condition[] |
getConditions()
Gets the Condition objects that are associated with
this SymmetricCondition. |
MdmPrimaryDimension[] |
getDimensions()
Gets the MdmPrimaryDimension objects that are associated with
this SymmetricCondition. |
SymmetricConditionElement[] |
getElements()
Gets the SymmetricConditionElement objects that are
associated with this SymmetricCondition. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
Calls the visitSymmetricCondition method of the
SyntaxObjectVisitor and passes that method this
SymmetricCondition and an Object. |
| Methods inherited from class oracle.olapi.syntax.SyntaxObject |
|---|
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SymmetricCondition(MdmPrimaryDimension[] dimensions,
Condition[] conditions)
SymmetricCondition with the specified dimensions
and Condition objects.
Each dimension must have a corresponding Condition.
The order of the Condition objects must match the order
of the dimensions.
Each Condition is an Expression that
specifies all, some, or none of the members of a dimension.
For an 11.2 application, use a constructor that has a List
or an array of SymmetricConditionElement objects as a
parameter.
dimensions - An array of MdmPrimaryDimension objects.conditions - An array of Condition objects.
Each Condition evaluates to a selection
of dimension members.
The number of elements in this array must match the
number of elements in the dimensions array.
Each Condition element must specify members
of the corresponding MdmPrimaryDimension
element of the dimensions array.
public SymmetricCondition(java.util.List<MdmPrimaryDimension> dimensions,
java.util.List<Condition> conditions)
SymmetricCondition with the specified dimensions
and Condition objects.
Each dimension must have a corresponding Condition.
The order of the Condition objects must match the order
of the dimensions.
Each Condition is an Expression that
specifies all, some, or none of the members of a dimension.
For an 11.2 application, use a constructor that has a List
or an array of SymmetricConditionElement objects as a
parameter.
dimensions - A List of MdmPrimaryDimension
objects.conditions - A List of Condition objects.
Each Condition evaluates to a selection
of dimension members.
The number of elements in this list must match the
number of elements in the dimensions list.
Each Condition element must specify members
of the corresponding MdmPrimaryDimension
element of the dimensions list.public SymmetricCondition(SymmetricConditionElement[] elements)
SymmetricCondition with the specified elements.
Each SymmetricConditionElement specifies an
MdmPrimaryDimension and a selection of members of the
dimension.
elements - An array of SymmetricConditionElement objects.public SymmetricCondition(java.util.List<SymmetricConditionElement> elements)
SymmetricCondition with the specified elements.
Each SymmetricConditionElement specifies an
MdmPrimaryDimension and a selection of members of the
dimension.
elements - A List of
SymmetricConditionElement objects.| Method Detail |
|---|
public MdmPrimaryDimension[] getDimensions()
MdmPrimaryDimension objects that are associated with
this SymmetricCondition.
MdmPrimaryDimension objects of this
SymmetricCondition.public Condition[] getConditions()
Condition objects that are associated with
this SymmetricCondition.
Condition objects of this
SymmetricCondition. If there is no
Condition corresponding to an associated
MdmPrimaryDimension, then returns null for that array
element.public SymmetricConditionElement[] getElements()
SymmetricConditionElement objects that are
associated with this SymmetricCondition.
SymmetricConditionElement objects of
this SymmetricCondition.
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
visitSymmetricCondition method of the
SyntaxObjectVisitor and passes that method this
SymmetricCondition and an Object.
visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.
Object returned by the
visitSymmetricCondition method.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||