Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-01

oracle.AWXML
Class BaseOperator

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.AggregationOperator
              |
              +--oracle.AWXML.BaseOperator

public class BaseOperator
extends AggregationOperator

An aggregation operator.

The BaseOperator class provides the valid values that can be specified for an AggregationOperator. Any of the aggregation operators supported by the OLAP DML RELATION command can be specified. The default operator is SUM.

The aggregation operators are:

   AVERAGE
   FIRST
   HAVERAGE
   HFIRST
   HLAST
   HWAVERAGE
   HWFIRST
   HWLAST
   LAST
   MIN
   MAX
   NOAGG
   SSUM
   SUM
   WAVERAGE
   WFIRST
   WLAST
   WSUM

For more information about aggregation operators in analytic workspaces, see "RELATION (for aggregation)" in the OLAP DML Reference.

See Also:
Aggregation

Fields inherited from class oracle.AWXML.BaseObject
DATABASENULL

Constructor Summary
BaseOperator(BaseObject input)
Creates a BaseOperator for the specified Aggregation.

Method Summary
java.lang.String getOpcode()
Returns the name of the aggregation operator.
OperatorType getOperatorType()
Returns the OperatorType of the aggregation operator.
static boolean isBaseOperator(java.lang.String input)
Indicates if the specified name is a valid aggregation operator.
void setOpcode(java.lang.String input)
Sets the aggregation operator to the specified name.
void setOperatorType(OperatorType input)
Sets the aggregation operator to the specified OperatorType.
java.lang.String WriteToXML()
Returns the BaseOperator as an XML string.

Methods inherited from class oracle.AWXML.BaseObject
Alter, Create, 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

BaseOperator

public BaseOperator(BaseObject input)
Creates a BaseOperator for the specified Aggregation.

The value of the OperatorType is "SUM".

Parameters:
input - The Aggregation that owns the new BaseOperator.

Method Detail

WriteToXML

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

setOperatorType

public void setOperatorType(OperatorType input)
Sets the aggregation operator to the specified OperatorType.

The value of the OperatorType is the name of the operator.

Parameters:
input - The OperatorType of the aggregation operator.

getOperatorType

public OperatorType getOperatorType()
Returns the OperatorType of the aggregation operator.

The value of the OperatorType is the name of the operator.

Returns:
The OperatorType of the aggregation operator.

getOpcode

public java.lang.String getOpcode()
Returns the name of the aggregation operator.
Overrides:
getOpcode in class AggregationOperator
Returns:
The aggregation operator as a String.

setOpcode

public void setOpcode(java.lang.String input)
Sets the aggregation operator to the specified name.
Parameters:
input - The aggregation operator as a String.

isBaseOperator

public static boolean isBaseOperator(java.lang.String input)
Indicates if the specified name is a valid aggregation operator.
Parameters:
input - The aggregation operator as a String.
Returns:
True if the String is a valid aggregation operator, False if not.

Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.