Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-01


oracle.olapi.syntax
Class ClearCommand

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.BuildCommand
          extended by oracle.olapi.syntax.SimpleCommand
              extended by oracle.olapi.syntax.ClearCommand


public final class ClearCommand
extends SimpleCommand

A SimpleCommand that deletes the specified data during a build process. You specify the data to delete by using one of the static constants of this class.


Field Summary
static ClearCommand CLEAR
          A constant that represents a command to clear either leaves or all values depending on the refresh method of the build.
static ClearCommand CLEAR_AGGREGATES
          A constant that represents a command to clear the aggregate values of the measures specified in a BuildSpecification.
static ClearCommand CLEAR_LEAVES
          A constant that represents a command to clear the leaf values of the measures specified in a BuildSpecification.
static ClearCommand CLEAR_VALUES
          A constant that represents a command to clear all of the values of the measures specified in a BuildSpecification.

 

Method Summary
 java.lang.String getClearTarget()
          Gets the value of one of the static constants of this class.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitClearCommand method of the SyntaxObjectVisitor and passes that method this ClearCommand and an Object.

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

CLEAR

public static final ClearCommand CLEAR
A constant that represents a command to clear either leaves or all values depending on the refresh method of the build.

CLEAR_VALUES

public static final ClearCommand CLEAR_VALUES
A constant that represents a command to clear all of the values of the measures specified in a BuildSpecification.

CLEAR_AGGREGATES

public static final ClearCommand CLEAR_AGGREGATES
A constant that represents a command to clear the aggregate values of the measures specified in a BuildSpecification.

CLEAR_LEAVES

public static final ClearCommand CLEAR_LEAVES
A constant that represents a command to clear the leaf values of the measures specified in a BuildSpecification.

Method Detail

visit

public java.lang.Object visit(SyntaxObjectVisitor visitor,
                              java.lang.Object context)
Calls the visitClearCommand method of the SyntaxObjectVisitor and passes that method this ClearCommand and an Object.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitClearCommand method.

getClearTarget

public java.lang.String getClearTarget()
Gets the value of one of the static constants of this class. The value indicates the measure values to clear.
Returns:
A String that contains the value of one of the static constants of this class.

Skip navigation links

Copyright © 2002, 2007, Oracle. All rights reserved.