Package oracle.AWXML

Examples of oracle.AWXML.AggregationDefinition


   * analytic workspace.
   */
  public void precomputeNA(Cube _cube, String _aggdef_name)
  {
    // Rename the default aggregation definition that was implicitly created.
    AggregationDefinition _aggdef =_cube.getDefaultAggregationDefinition();
    _aggdef.setName(_aggdef_name);

    // Remove the default calculation specification.
    _aggdef.getCalculationSpecification().clear();

    Vector _dimrefs = _cube.getCubeDimRefs();

    for (Iterator _d = _dimrefs.iterator(); _d.hasNext();)
    {
      AggregationHierarchySpecification _aggHierSpec =
                             _aggdef.createAggregationHierarchySpecification();
      CubeDimRef _dimref = (CubeDimRef)_d.next();
      Dimension _dim = _dimref.getDimension();
      _aggHierSpec.setDimension(_dim);
      PreComputeClause _precompute_clause =
                                         _aggHierSpec.createPreComputeClause();
View Full Code Here


   * analytic workspace.
   */
  public void precomputeNA(Cube _cube, String _aggdef_name)
  {
    // Rename the default aggregation definition that was implicitly created.
    AggregationDefinition _aggdef =_cube.getDefaultAggregationDefinition();
    _aggdef.setName(_aggdef_name);

    // Remove the default calculation specification.
    _aggdef.getCalculationSpecification().clear();

    Vector _dimrefs = _cube.getCubeDimRefs();

    for (Iterator _d = _dimrefs.iterator(); _d.hasNext();)
    {
      AggregationHierarchySpecification _aggHierSpec =
                             _aggdef.createAggregationHierarchySpecification();
      CubeDimRef _dimref = (CubeDimRef)_d.next();
      Dimension _dim = _dimref.getDimension();
      _aggHierSpec.setDimension(_dim);
      PreComputeClause _precompute_clause =
                                         _aggHierSpec.createPreComputeClause();
View Full Code Here

TOP

Related Classes of oracle.AWXML.AggregationDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.