Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-06


oracle.olapi.syntax
Class CompileCommand

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.CompileCommand


public final class CompileCommand
extends SimpleCommand

A SimpleCommand that causes the build process to determine and validate relationships, such as the attributes of a dimension, and to store information about the relationships. You can use a CompileCommand after a LoadCommand in a BuildSpecification. An application gets a CompileCommand by using the INSTANCE static field constant.


Field Summary
static CompileCommand DEFAULT
          Produces a CompileCommand that executes a default load.
static java.lang.String DEFAULT_OPTION
          A constant that represents a default load.
static CompileCommand INSTANCE
          Produces a CompileCommand that executes a default load.
static CompileCommand NO_SORT
          Produces a CompileCommand that has the NO SORT option.
static java.lang.String NO_SORT_OPTION
          A constant that represents a NO SORT compile
static CompileCommand SORT
          Produces a CompileCommand that has the SORT option.
static CompileCommand SORT_ONLY
          Produces a CompileCommand that has the SORT ONLY option.
static java.lang.String SORT_ONLY_OPTION
          A constant that represents a SORT ONLY compile
static java.lang.String SORT_OPTION
          A constant that represents a SORT compile

 

Constructor Summary
CompileCommand(java.lang.String option)
          Creates a CompileCommand with the specified load command option

 

Method Summary
 java.lang.String getCompileOption()
          Gets the compile command option of this CompileCommand.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitCompileCommand method of the SyntaxObjectVisitor and passes that method this CompileCommand 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

 

Field Detail

DEFAULT_OPTION

public static final java.lang.String DEFAULT_OPTION
A constant that represents a default load.
See Also:
Constant Field Values

SORT_OPTION

public static final java.lang.String SORT_OPTION
A constant that represents a SORT compile
See Also:
Constant Field Values

NO_SORT_OPTION

public static final java.lang.String NO_SORT_OPTION
A constant that represents a NO SORT compile
See Also:
Constant Field Values

SORT_ONLY_OPTION

public static final java.lang.String SORT_ONLY_OPTION
A constant that represents a SORT ONLY compile
See Also:
Constant Field Values

DEFAULT

public static final CompileCommand DEFAULT
Produces a CompileCommand that executes a default load.

INSTANCE

public static final CompileCommand INSTANCE
Produces a CompileCommand that executes a default load.

SORT

public static final CompileCommand SORT
Produces a CompileCommand that has the SORT option.

NO_SORT

public static final CompileCommand NO_SORT
Produces a CompileCommand that has the NO SORT option.

SORT_ONLY

public static final CompileCommand SORT_ONLY
Produces a CompileCommand that has the SORT ONLY option.

Constructor Detail

CompileCommand

public CompileCommand(java.lang.String option)
Creates a CompileCommand with the specified load command option
Parameters:
option - A String that contains a compile command option.

Method Detail

visit

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

getCompileOption

public java.lang.String getCompileOption()
Gets the compile command option of this CompileCommand. For the default option, this method returns an empty string.
Returns:
A String that contains the compile command option of this CompileCommand.

Skip navigation links

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