Oracle OLAP Analytic Workspace Java API Reference
10g Release 1 (10.1)

B12180-01

oracle.AWAction
Class BuildDatabase

java.lang.Object
  |
  +--oracle.AWAction.AWAction
        |
        +--oracle.AWAction.BuildDatabase

public class BuildDatabase
extends AWAction

Builds an analytic workspace and loads data from the mapped data source.

See Also:
oracle.AWAction.AWAction

Field Summary
static int m_threadThreshold
           

 

Fields inherited from class oracle.AWAction.AWAction
m_activeObject, m_Id, m_owner, s_actionCounter, s_EndElementTag, s_EndEndTag, s_EndStartTag, s_EndTag, s_Indent, s_JAVA_LINEEND, s_NEWLINE, s_StartEndTag, s_StartStartTag

 

Constructor Summary
BuildDatabase()
          Constructor for a BuildDatabase action.
BuildDatabase(Interaction input)
          Constructor for a BuildDatabase action.

 

Method Summary
 void addBuildList(BaseObject input)
          Adds a cube, dimension, or measure to the list of objects to be built in the analytic workspace.
 void Execute()
          Executes the action.
 void Execute(AWConnection connection)
          Executes the action in the specified Database connection.
 java.lang.String getAWName()
          Returns the name of the analytic workspace.
 java.util.Vector getBuildList()
          Returns the list of objects to be built in the analytic workspace.
 java.lang.String getBuildType()
          Returns the build type, either EXECUTE for a serial build, or PARALLEL for a parallel build
 boolean getCleanAttrs()
          Return true or false, whether or not to delete the attributes in the analytic workspace before loading new attributes.
 boolean getCleanDim()
          Return true or false, whether or not to delete the dimension members in the analytic workspace before loading new members.
 boolean getCleanMeasures()
          Return true or false, whether or not to delete the measures in the analytic workspace before loading new measures.
 boolean getRunSolve()
          Return true or false, whether or not to run solves when building the analytic workspace.
 boolean getTrackStatus()
          Return true or false, whether or not to track the status of the data load.
 void removeBuildList(BaseObject input)
          Removes a cube, dimension, or measure from the list of objects to be built in the analytic workspace.
 void setActiveObject(BaseObject input)
          Makes an analytic workspace the active object.
 void setAWName(java.lang.String input)
          Sets the name of the analytic workspace.
 void setBuildType(java.lang.String input)
          Specifies the type of build: either EXECUTE for a serial build, or PARALLEL for a parallel build
 void setCleanAttrs(boolean input)
          Whether or not to delete the attributes in the analytic workspace before loading new attributes
 void setCleanAttrs(java.lang.Boolean input)
          Whether or not to delete the attributes in the analytic workspace before loading new attributes
 void setCleanDim(boolean input)
          Whether or not to delete the dimension members before loading new members
 void setCleanDim(java.lang.Boolean input)
          Whether or not to delete the dimension members in the analytic workspace before loading new members
 void setCleanMeasures(boolean input)
          Whether or not to delete the measures in the analytic workspace before loading new measures
 void setCleanMeasures(java.lang.Boolean input)
          Whether or not to delete the measures in the analytic workspace before loading new measures
 void setRunSolve(boolean input)
          Whether or not to run solves when building the analytic workspace.
 void setRunSolve(java.lang.Boolean input)
          Whether or not to run solves when building the analytic workspace.
 void setTrackStatus(boolean input)
          Whether or not to track the status of the data load.
 void setTrackStatus(java.lang.Boolean input)
          Whether or not to track the status of the data load.
 java.lang.String WriteToXML()
          Returns the object as an XML string.

 

Methods inherited from class oracle.AWAction.AWAction
getActiveObject, getOwner, setOwner

 

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

 

Field Detail

m_threadThreshold

public static int m_threadThreshold
Constructor Detail

BuildDatabase

public BuildDatabase()
Constructor for a BuildDatabase action.

BuildDatabase

public BuildDatabase(Interaction input)
Constructor for a BuildDatabase action. Builds the objects in the analytic workspace as specified in the Interaction.
Parameters:
input - Interaction specifies a series of actions
Method Detail

setActiveObject

public void setActiveObject(BaseObject input)
Makes an analytic workspace the active object. You can specify the analytic workspace to be built by making it the active object or by providing its name to the SetAWName method. An active object takes precedence over an object that you specify by name.
Overrides:
setActiveObject in class AWAction
Parameters:
input - BaseObject that is an AW object

setAWName

public void setAWName(java.lang.String input)
Sets the name of the analytic workspace. You can specify the analytic workspace to be built by providing its name or by making it the active object with the SetActiveObject method. An active object takes precedence over an object that you specify by name.
Parameters:
input - String containing the name of the analytic workspace.

getAWName

public java.lang.String getAWName()
Returns the name of the analytic workspace.
Returns:
String containing the name of the analytic workspace.

setBuildType

public void setBuildType(java.lang.String input)
Specifies the type of build: either EXECUTE for a serial build, or PARALLEL for a parallel build
Parameters:
input - String containing either "EXECUTE" or "PARALLEL"

getBuildType

public java.lang.String getBuildType()
Returns the build type, either EXECUTE for a serial build, or PARALLEL for a parallel build
Returns:
String containing either "EXECUTE" or "PARALLEL"

addBuildList

public void addBuildList(BaseObject input)
Adds a cube, dimension, or measure to the list of objects to be built in the analytic workspace.
Parameters:
input - BaseObject that is a Cube, Dimension, or Measure

removeBuildList

public void removeBuildList(BaseObject input)
Removes a cube, dimension, or measure from the list of objects to be built in the analytic workspace.
Parameters:
input - BaseObject that is a Cube, Dimension, or Measure

getBuildList

public java.util.Vector getBuildList()
Returns the list of objects to be built in the analytic workspace.
Returns:
Vector containing a list of Cube, Dimension, and Measure objects

WriteToXML

public java.lang.String WriteToXML()
Returns the object as an XML string.
Overrides:
WriteToXML in class AWAction
Returns:
A String containing the XML that represents the object.

Execute

public void Execute()
Executes the action.
Overrides:
Execute in class AWAction

Execute

public void Execute(AWConnection connection)
Executes the action in the specified Database connection.
Parameters:
connection - AWConnection

setCleanDim

public void setCleanDim(boolean input)
Whether or not to delete the dimension members before loading new members
Parameters:
input - boolean

setCleanDim

public void setCleanDim(java.lang.Boolean input)
Whether or not to delete the dimension members in the analytic workspace before loading new members
Parameters:
input - Boolean

getCleanDim

public boolean getCleanDim()
Return true or false, whether or not to delete the dimension members in the analytic workspace before loading new members.
Returns:
boolean

setCleanAttrs

public void setCleanAttrs(boolean input)
Whether or not to delete the attributes in the analytic workspace before loading new attributes
Parameters:
input - boolean

setCleanAttrs

public void setCleanAttrs(java.lang.Boolean input)
Whether or not to delete the attributes in the analytic workspace before loading new attributes
Parameters:
input - Boolean

getCleanAttrs

public boolean getCleanAttrs()
Return true or false, whether or not to delete the attributes in the analytic workspace before loading new attributes.
Returns:
boolean

setCleanMeasures

public void setCleanMeasures(boolean input)
Whether or not to delete the measures in the analytic workspace before loading new measures
Parameters:
input - boolean

setCleanMeasures

public void setCleanMeasures(java.lang.Boolean input)
Whether or not to delete the measures in the analytic workspace before loading new measures
Parameters:
input - Boolean

getCleanMeasures

public boolean getCleanMeasures()
Return true or false, whether or not to delete the measures in the analytic workspace before loading new measures.
Returns:
boolean

setRunSolve

public void setRunSolve(boolean input)
Whether or not to run solves when building the analytic workspace.
Parameters:
input - boolean

setRunSolve

public void setRunSolve(java.lang.Boolean input)
Whether or not to run solves when building the analytic workspace.
Parameters:
input - Boolean

getRunSolve

public boolean getRunSolve()
Return true or false, whether or not to run solves when building the analytic workspace.
Returns:
boolean

setTrackStatus

public void setTrackStatus(boolean input)
Whether or not to track the status of the data load.
Parameters:
input - boolean

setTrackStatus

public void setTrackStatus(java.lang.Boolean input)
Whether or not to track the status of the data load.
Parameters:
input - Boolean

getTrackStatus

public boolean getTrackStatus()
Return true or false, whether or not to track the status of the data load.
Returns:
boolean

Oracle OLAP Analytic Workspace Java API Reference
10g Release 1 (10.1)

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.