|
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.SolveDefinition | +--oracle.AWXML.ForecastDefinition
A SolveDefinition
that specifies forecasting instructions for a ForecastSolve
. For a diagram of the class associations of ForecastSolve
, see ForecastDefinition Associations.
A ForecastDefinition
is owned by a Cube
. A ForecastDefinition
owns arguments that specify the forecasting method and other characteristics of the forecast. These arguments are implemented as keyword-value pairs by the OLAP DML FCSET
command.
The OLAP DML supports a number of forecasting methods, including linear and non-linear regressions, single and double exponential smoothing, and the Holt-Winters method. If you are unsure of which method to use, then specify AUTOMATIC
as the value for the METHOD
keyword in a ForecastArgument
.
The ForecastDefinition
class includes methods for identifying the time dimension and specifying seasonal and semi-seasonal targets (if they are used by the chosen forecasting method).
For more information on OLAP forecasting, see the OLAP DML Reference and the OLAP Application Developer's Guide.
ForecastSolve
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
ForecastDefinition(BaseObject input) Creates a ForecastDefinition for the specified Cube . |
Method Summary | |
void |
addForecastArgument(ForecastArgument input) Adds the specified argument to the ForecastDefinition . |
java.lang.String |
Create(AWConnection connection) Creates the ForecastDefinition in the current analytic workspace of the specified database connection. |
ForecastArgument |
createForecastArgument() Creates an argument for the ForecastDefinition . |
java.lang.String |
Delete(AWConnection connection) Deletes the ForecastDefinition in the current analytic workspace of the specified database connection. |
java.util.Vector |
getForecastArguments() Returns the arguments of the ForecastDefinition . |
Measure |
getSeasonalTarget() Returns the measure that holds the seasonal target of the forecast. |
Measure |
getSemiSeasonalTarget() Returns the measure that holds the semi-seasonal target of the forecast. |
Dimension |
getTimeDimension() Returns the time dimension of the source measure. |
void |
readAWDefinitions(AWConnection connection, boolean readType) Reads the objects owned by the ForecastDefinition into memory, making them available for processing within the current analytic workspace of the specified database connection. |
void |
removeForecastArgument(ForecastArgument input) Removes the specified argument from the ForecastDefinition . |
void |
setSeasonalTarget(Measure input) Sets the measure that holds the seasonal target of the forecast. |
void |
setSemiSeasonalTarget(Measure input) Sets the measure that holds the semi-seasonal target of the forecast. |
void |
setTimeDimension(Dimension input) Sets the time dimension of the source measure. |
java.lang.String |
WriteToXML() Returns the ForecastDefinition as an XML string. |
Methods inherited from class oracle.AWXML.BaseObject |
Alter, CreateAfter, CreateBefore, CreateFirst, DataRead, getColumnName, getId, 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 ForecastDefinition(BaseObject input)
ForecastDefinition
for the specified Cube
.input
- The Cube
that owns the ForecastDefinition
.Method Detail |
public java.lang.String Create(AWConnection connection)
ForecastDefinition
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)
ForecastDefinition
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 WriteToXML()
ForecastDefinition
as an XML string.String
containing the XML that represents the ForecastDefinition
.public Dimension getTimeDimension()
Dimension
that indexes the source data by time period.public void setTimeDimension(Dimension input)
input
- The Dimension
that indexes the source data by time period.public Measure getSeasonalTarget()
Measure
.public void setSeasonalTarget(Measure input)
input
- The seasonal target Measure
.public Measure getSemiSeasonalTarget()
Measure
.public void setSemiSeasonalTarget(Measure input)
input
- The Measure
to specify as the semi-seasonal target.public void addForecastArgument(ForecastArgument input)
ForecastDefinition
.
Forecast arguments specify the forecast method and other characteristics of the forecast.
input
- The ForecastArgument
to add.public void removeForecastArgument(ForecastArgument input)
ForecastDefinition
.input
- The ForecastArgument
to remove.public java.util.Vector getForecastArguments()
ForecastDefinition
.Vector
of ForecastArgument
objects.public ForecastArgument createForecastArgument()
ForecastDefinition
.
Forecast arguments specify the forecast method and other characteristics of the forecast.
ForecastArgument
.public void readAWDefinitions(AWConnection connection, boolean readType)
ForecastDefinition
into memory, making them available for processing within the current analytic workspace of the specified database connection.connection
- The AWConnection
that specifies the database connection.readType
- Specify True
to read the ForecastDefinition
and all its child objects. Specify False
to read the ForecastDefinition
but omit specific child objects.
|
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 |