|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.AWXML.BaseObject | +--oracle.AWXML.SolveGroup
A collection of Solve
objects. A Solve
is a calculation that can be performed on data in an analytic workspace. A Solve
can specify how to aggregate or allocate the data or generate a forecast based on the data.
Solves are ordered within a SolveGroup
. The order determines when the calculations will be performed during an analytic workspace build. The AWAction.BuildDatabase
class builds an analytic workspace.
A SolveGroup
is a top-level object in the hierarchy of model objects. Top-level objects are logically owned by an AW
object, and they exist within the name space of the schema.
The SolveGroup
class supports methods for building the logical object in memory and action methods for physically creating it or deleting it within the Oracle Database. The action methods take an AWConnection
argument that specifies a JDBC connection to the Database.
BuildDatabase
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
SolveGroup() Creates a SolveGroup . |
Method Summary | |
void |
addSolve(Solve input) Adds the specified Solve to the SolveGroup . |
void |
addSolveAfter(Solve input, BaseObject reference) Adds the specified Solve after the referenced Solve in the SolveGroup . |
void |
addSolveBefore(Solve input, BaseObject reference) Adds the specified Solve before the referenced Solve in the SolveGroup . |
void |
addSolveFirst(Solve input) Adds the specified Solve to the beginning of the list of solves in the SolveGroup . |
java.lang.String |
Alter(AWConnection connection) Alters the class attributes of the object in the current analytic workspace of the specified database connection. |
java.lang.String |
Create(AWConnection connection) Creates the SolveGroup in the current analytic workspace of the specified database connection. |
AggregationSolve |
createAggregationSolve() Creates an AggregationSolve in the SolveGroup . |
AggregationSolve |
createAggregationSolveAfter(Solve input) Creates an AggregationSolve after the referenced Solve in the SolveGroup . |
AggregationSolve |
createAggregationSolveBefore(Solve input) Creates an AggregationSolve before the referenced Solve in the SolveGroup . |
AggregationSolve |
createAggregationSolveFirst() Creates an AggregationSolve and adds it to the beginning of the list of solves in the SolveGroup . |
AllocationSolve |
createAllocationSolve() Creates an AllocationSolve in the SolveGroup . |
AllocationSolve |
createAllocationSolveAfter(Solve input) Creates an AllocationSolve after the referenced Solve in the SolveGroup . |
AllocationSolve |
createAllocationSolveBefore(Solve input) Creates an AllocationSolve before the referenced Solve in the SolveGroup . |
AllocationSolve |
createAllocationSolveFirst() Creates an AllocaationSolve and adds it to the beginning of the list of solves in the SolveGroup . |
ForecastSolve |
createForecastSolve() Creates a ForecastSolve in the SolveGroup . |
ForecastSolve |
createForecastSolveAfter(Solve input) Creates a ForecastSolve after the referenced Solve in the SolveGroup . |
ForecastSolve |
createForecastSolveBefore(Solve input) Creates a ForecastSolve before the referenced Solve in the SolveGroup . |
ForecastSolve |
createForecastSolveFirst() Creates a ForecastSolve and adds it to the beginning of the list of solves in the SolveGroup . |
java.lang.String |
Delete(AWConnection connection) Deletes the SolveGroup in the current analytic workspace of the specified database connection. |
java.lang.String |
getId() Returns the full name of the SolveGroup . |
java.util.Vector |
getSolves() Returns the solves in the SolveGroup . |
void |
readAWDefinitions(AWConnection connection, AW curAW) Reads into memory all the objects owned by the SolveGroup within the specified analytic workspace of the specified database connection. |
void |
removeSolve(Solve input) Removes the specified Solve from the SolveGroup . |
java.lang.String |
WriteToXML() Returns the SolveGroup as an XML string. |
Methods inherited from class oracle.AWXML.BaseObject |
CreateAfter, CreateBefore, CreateFirst, DataRead, getColumnName, getLongName, getLongName, getName, getOwner, getPluralName, getPluralName, getSchema, getShortName, getShortName, setColumnName, setLongName, setLongName, setName, setPluralName, setPluralName, setSchema, setShortName, setShortName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SolveGroup()
SolveGroup
.Method Detail |
public java.lang.String getId()
SolveGroup
.
The full name includes the simple logical name, the name space to which the object belongs (its lineage in the object model hierarchy, and the object type.
lineage.name.type
Since SolveGroup
is at the top of the object hierarchy, its full name is simply:
SolveGroup_name.SolveGroup
SolveGroup
.public java.lang.String WriteToXML()
SolveGroup
as an XML string.String
containing the XML that represents the SolveGroup
.public java.lang.String Create(AWConnection connection)
SolveGroup
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that specifies the database connection.success
" if successful.public java.lang.String Delete(AWConnection connection)
SolveGroup
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that specifies the database connection.success
" if successful.public void readAWDefinitions(AWConnection connection, AW curAW)
SolveGroup
within the specified analytic workspace of the specified database connection.connection
- The AWConnection
that specifies the database connection.curAW
- The AW
that contains the SolveGroup
.public AggregationSolve createAggregationSolve()
AggregationSolve
in the SolveGroup
.AggregationSolve
.public AggregationSolve createAggregationSolveAfter(Solve input)
AggregationSolve
after the referenced Solve
in the SolveGroup
.input
- The referenced Solve
.AggregationSolve
.public AggregationSolve createAggregationSolveBefore(Solve input)
AggregationSolve
before the referenced Solve
in the SolveGroup
.input
- The referenced Solve
.AggregationSolve
.public AggregationSolve createAggregationSolveFirst()
AggregationSolve
and adds it to the beginning of the list of solves in the SolveGroup
.AggregationSolve
.public AllocationSolve createAllocationSolve()
AllocationSolve
in the SolveGroup
.AllocationSolve
.public AllocationSolve createAllocationSolveAfter(Solve input)
AllocationSolve
after the referenced Solve
in the SolveGroup
.input
- The referenced Solve
.AllocationSolve
.public AllocationSolve createAllocationSolveBefore(Solve input)
AllocationSolve
before the referenced Solve
in the SolveGroup
.input
- The referenced Solve
.AllocationSolve
.public AllocationSolve createAllocationSolveFirst()
AllocaationSolve
and adds it to the beginning of the list of solves in the SolveGroup
.AllocationSolve
.public ForecastSolve createForecastSolve()
ForecastSolve
in the SolveGroup
.ForecastSolve
.public ForecastSolve createForecastSolveAfter(Solve input)
ForecastSolve
after the referenced Solve
in the SolveGroup
.input
- The referenced Solve
.ForecastSolve
.public ForecastSolve createForecastSolveBefore(Solve input)
ForecastSolve
before the referenced Solve
in the SolveGroup
.input
- The referenced Solve
.ForecastSolve
.public ForecastSolve createForecastSolveFirst()
ForecastSolve
and adds it to the beginning of the list of solves in the SolveGroup
.ForecastSolve
.public void addSolve(Solve input)
Solve
to the SolveGroup
. If other solves exist in the group, adds the new one to the end of the list.input
- The Solve
to add.public void addSolveBefore(Solve input, BaseObject reference)
Solve
before the referenced Solve
in the SolveGroup
.input
- The Solve
to add.reference
- The referenced Solve
.public void addSolveAfter(Solve input, BaseObject reference)
Solve
after the referenced Solve
in the SolveGroup
.input
- The Solve
to add.reference
- The referenced Solve
.public void addSolveFirst(Solve input)
Solve
to the beginning of the list of solves in the SolveGroup
.input
- The Solve
to add.public void removeSolve(Solve input)
Solve
from the SolveGroup
.input
- The Solve
to remove.public java.util.Vector getSolves()
SolveGroup
.Vector
of Solve
objects.public java.lang.String Alter(AWConnection connection)
Alter
method to change descriptive names of the object or to reset the schema of a top-level object. To alter the structural definition of a BaseObject
, you must create, modify, or remove its owned objects.connection
- The AWConnection
that represents the database connection.String
that contains success
.
|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |