|
Oracle® OLAP Java API Reference 12c Release 1 (12.1) E17708-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.BuildCommand
oracle.olapi.syntax.GroupCommand
public final class GroupCommand
A BuildCommand that represents a group of SimpleCommand objects that operate on the specified MdmBaseMeasure objects when the condition specified by a SymmetricCondition is true.
| Constructor Summary | |
|---|---|
GroupCommand(java.util.List<SimpleCommand> commands, SymmetricCondition whereCondition, java.util.List<MdmBaseMeasure> measures)Creates a GroupCommand that has the specified lists of SimpleCommand and MdmBaseMeasure objects, and the specified SymmetricCondition. |
|
GroupCommand(SimpleCommand[] commands, MdmBaseMeasure[] measures)Creates a GroupCommand that has the specified arrays of SimpleCommand and MdmBaseMeasure objects. |
|
GroupCommand(SimpleCommand[] commands, SymmetricCondition whereCondition)Creates a GroupCommand that has the specified arrays of SimpleCommand objects and the specified SymmetricCondition. |
|
GroupCommand(SimpleCommand[] commands, SymmetricCondition whereCondition, MdmBaseMeasure[] measures)Creates a GroupCommand that has the specified arrays of SimpleCommand and MdmBaseMeasure objects, and the specified SymmetricCondition. |
|
| Method Summary | |
|---|---|
SimpleCommand[] |
getCommands()Gets the SimpleCommand objects that are associated this GroupCommand. |
java.lang.String[] |
getMeasureIDs()Gets the IDs of the MdmBaseMeasure objects that are associated with this GroupCommand. |
MdmBaseMeasure[] |
getMeasures()Gets the MdmBaseMeasure objects that are associated with this GroupCommand. |
SymmetricCondition |
getWhereCondition()Gets the SymmetricCondition that is associated with this GroupCommand. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)Calls the visitGroupCommand method of the SyntaxObjectVisitor and passes that method this GroupCommand 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 GroupCommand(SimpleCommand[] commands,
SymmetricCondition whereCondition)
GroupCommand that has the specified arrays of SimpleCommand objects and the specified SymmetricCondition.
commands - An array of SimpleCommand objects.whereCondition - A SymmetricCondition that specifies the condition upon which the commands execute.
public GroupCommand(SimpleCommand[] commands,
MdmBaseMeasure[] measures)
GroupCommand that has the specified arrays of SimpleCommand and MdmBaseMeasure objects.
commands - An array of SimpleCommand objects.measures - An array of MdmBaseMeasure objects.
public GroupCommand(SimpleCommand[] commands,
SymmetricCondition whereCondition,
MdmBaseMeasure[] measures)
GroupCommand that has the specified arrays of SimpleCommand and MdmBaseMeasure objects, and the specified SymmetricCondition.
commands - An array of SimpleCommand objects.whereCondition - A SymmetricCondition that specifies the condition upon which the commands execute.measures - An array of MdmBaseMeasure objects.
public GroupCommand(java.util.List<SimpleCommand> commands,
SymmetricCondition whereCondition,
java.util.List<MdmBaseMeasure> measures)
GroupCommand that has the specified lists of SimpleCommand and MdmBaseMeasure objects, and the specified SymmetricCondition.
commands - A List of SimpleCommand objects.whereCondition - A SymmetricCondition that specifies the condition upon which the commands execute.measures - A List of MdmBaseMeasure objects.| Method Detail |
|---|
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
visitGroupCommand method of the SyntaxObjectVisitor and passes that method this GroupCommand and an Object.visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.Object returned by the visitGroupCommand method.public MdmBaseMeasure[] getMeasures()
MdmBaseMeasure objects that are associated with this GroupCommand.MdmBaseMeasure objects associated with this GroupCommand.public java.lang.String[] getMeasureIDs()
MdmBaseMeasure objects that are associated with this GroupCommand.String objects that contain the IDs of the MdmBaseMeasure objects associated with this GroupCommand.public SymmetricCondition getWhereCondition()
SymmetricCondition that is associated with this GroupCommand.SymmetricCondition associated with this GroupCommand.public SimpleCommand[] getCommands()
SimpleCommand objects that are associated this GroupCommand.SimpleCommand objects associated with this GroupCommand.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||