|
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.Allocation
Specifies the rules for allocating data to a measure for members of a hierarchy of a dimension. An Allocation
is a component of an
, which specifies a set of allocation instructions for a measure. An AllocationDefinition
AllocationDefinition
is implemented as an aggmap object of type ALLOCMAP in the OLAP DML. Each of the Allocation
objects of an AllocationDefinition
is a RELATION statement in the aggmap.
Allocation
objects are ordered within an AllocationDefinition
. An Allocation
has an
and one or more AllocationOperator
objects. The concrete subclass of AllocationArgument
Allocation
is AllocationHierarchySpecification
.
For more information on OLAP allocation, see the OLAP DML Reference.
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
Allocation(BaseObject input) Creates an Allocation for the specified AllocationDefinition . |
Method Summary | |
java.lang.String |
Create(AWConnection connection) Creates the Allocation in the current analytic workspace of the specified database connection. |
AllocationArgument |
createAllocationArgument() Creates an AllocationArgument and makes it the AllocationArgument for the Allocation . |
AllocationOperator |
createAllocationOperator() Creates an AllocationOperator and specifies it as the AllocationOperator for the Allocation . |
AllocationArgument |
getAllocationArguments() Gets the AllocationArgument for the Allocation . |
AllocationOperator |
getAllocationOperator() Gets the AllocationOperator for the Allocation . |
int |
getCalculationOrder() Gets the position of the Allocation in the calculation list of the AllocationDefinition that owns it. |
java.lang.String |
getNaOperator() Gets the operator that the allocation operation uses when it encounters an NA or lock-based deadlock. |
java.lang.String |
getRemOperator() Gets the operator that the specifies where the allocation operation stores any remainder value. |
void |
setAllocationArgument(AllocationArgument input) Specifies an AllocationArgument for the Allocation ; the AllocationArgument has one or more Parameter objects that specify additional parameters for the allocation operation. |
void |
setAllocationOperator(AllocationOperator input) Specifies an AllocationOperator for the Allocation ; the AllocationOperator has an OperatorType that specifies the method of allocating data to the measure for the dimension members. |
void |
setCalculationOrder(int input) Specifies the position of the Allocation in the calculation list of the AllocationDefinition that owns it. |
void |
setCalculationOrder(java.lang.String input) Specifies the position of the Allocation in the calculation list of the AllocationDefinition that owns it. |
void |
setNaOperator(java.lang.String input) Specifies the operator that the allocation operation uses when it encounters an NA or lock-based deadlock. |
void |
setRemOperator(java.lang.String input) Specifies the operator that the allocation operation uses when it stores a remainder. |
java.lang.String |
WriteToXML() Gets an XML representation of the Allocation . |
Methods inherited from class oracle.AWXML.BaseObject |
Alter, CreateAfter, CreateBefore, CreateFirst, DataRead, Delete, 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 Allocation(BaseObject input)
Allocation
for the specified AllocationDefinition
.input
- The AllocationDefinition
that owns the Allocation
.Method Detail |
public java.lang.String WriteToXML()
Allocation
.String
that represents the Allocation
.public AllocationOperator getAllocationOperator()
AllocationOperator
for the Allocation
.AllocationOperator
specified by this Allocation
.public void setAllocationOperator(AllocationOperator input)
AllocationOperator
for the Allocation
; the AllocationOperator
has an OperatorType
that specifies the method of allocating data to the measure for the dimension members. For a list of allocation operators, see AllocationOperator
.input
- The AllocationOperator
that you want this Allocation
to have.public void setAllocationArgument(AllocationArgument input)
AllocationArgument
for the Allocation
; the AllocationArgument
has one or more Parameter
objects that specify additional parameters for the allocation operation. Each Parameter
has a keyword and a value. For a list of allocation arguments keywords, see Parameter
.input
- The AllocationArgument
that you want this Allocation
to have.public AllocationArgument getAllocationArguments()
AllocationArgument
for the Allocation
.AllocationArgument
specified by this Allocation
.public AllocationOperator createAllocationOperator()
AllocationOperator
and specifies it as the AllocationOperator
for the Allocation
.AllocationOperator
.public AllocationArgument createAllocationArgument()
AllocationArgument
and makes it the AllocationArgument
for the Allocation
.AllocationArgument
.public java.lang.String getNaOperator()
HFIRST
, HLAST
,and HEVEN
.String
that contains the operator specified for an NA or lock-based deadlock condition.public void setNaOperator(java.lang.String input)
HFIRST
, HLAST
,and HEVEN
.input
- A String
that contains the operator that you want to use for an NA or lock-based deadlock condition.public java.lang.String getRemOperator()
MIN
, MAX
, FIRST
, LAST
, HFIRST
, and HLAST
.String
that contains the operator specified for storing a remainder.public void setRemOperator(java.lang.String input)
MIN
, MAX
, FIRST
, LAST
, HFIRST
, and HLAST
.input
- A String
that contains the operator that you want to use for an NA or lock-based deadlock condition.public java.lang.String Create(AWConnection connection)
Allocation
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that specifies the database connection.String
that contains success
if the method creates the Allocation
.public void setCalculationOrder(int input)
Allocation
in the calculation list of the AllocationDefinition
that owns it. The analytic workspace performs the allocations in the order in which they appear in the list.input
- An integer that specifies the position that you want the Allocation
to have in the calculation list.public void setCalculationOrder(java.lang.String input)
Allocation
in the calculation list of the AllocationDefinition
that owns it. The analytic workspace performs the allocations in the order in which they appear in the list.input
- A String
that specifies the position that you want the Allocation
to have in the calculation list.public int getCalculationOrder()
Allocation
in the calculation list of the AllocationDefinition
that owns it.Allocation
in the calculation list.
|
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 |