Package oracle.olapi.data.source

Examples of oracle.olapi.data.source.CompoundCursorSpecification


    // Create a Cursor for unitsForSelections.
    CursorManagerSpecification cursorMngrSpec =
                dp.createCursorManagerSpecification(unitsForSelections);

    // Get the root CursorSpecification of the CursorManagerSpecification.
    CompoundCursorSpecification rootCursorSpec =
      (CompoundCursorSpecification) cursorMngrSpec.getRootCursorSpecification();

    // Get the CursorSpecification for the base values.
    ValueCursorSpecification baseValueSpec =
                rootCursorSpec.getValueCursorSpecification();

    // Get the CursorSpecification objects for the outputs.
    List outputSpecs = rootCursorSpec.getOutputs();
    ValueCursorSpecification chanSelValCSpec =
                (ValueCursorSpecification) outputSpecs.get(0);
    ValueCursorSpecification timeSelValCSpec =
                (ValueCursorSpecification) outputSpecs.get(1);
    ValueCursorSpecification prodSelValCSpec =
View Full Code Here


  private void specifyingCalcExtent(CursorManagerSpecification cursorMngrSpec)
  {
    println("\nSpecifying the Calculation of the Extent of a Cursor");

    CompoundCursorSpecification rootCursorSpec =
      (CompoundCursorSpecification) cursorMngrSpec.getRootCursorSpecification();
    rootCursorSpec.setExtentCalculationSpecified(true);

    boolean isSet = rootCursorSpec.isExtentCalculationSpecified();
    isCalcSet(isSet, 1);
  }
View Full Code Here

  {
     println("\nSpecifying the Calculation of Starting and Ending Positions " +
             "in a Parent");

    // Specifying the Calculation of Starting and Ending Positions in a Parent.
    CompoundCursorSpecification rootCursorSpec =
     (CompoundCursorSpecification) cursorMngrSpec.getRootCursorSpecification();

    // Get the List of CursorSpecification objects for the outputs.
    // Iterate through the list, specifying the calculation of the extent
    // for each output CursorSpecification.
    Iterator iterOutputSpecs = rootCursorSpec.getOutputs().iterator();

    while(iterOutputSpecs.hasNext())
    {
      ValueCursorSpecification valCursorSpec = (ValueCursorSpecification)
                                                iterOutputSpecs.next();
      valCursorSpec.setParentStartCalculationSpecified(true);
      valCursorSpec.setParentEndCalculationSpecified(true);
    }

    boolean isSet = true;
    Iterator outputSpecsItr = rootCursorSpec.getOutputs().iterator();
    while(outputSpecsItr.hasNext())
    {
      ValueCursorSpecification valCursorSpec = (ValueCursorSpecification)
                                                outputSpecsItr.next();
      if (valCursorSpec.isParentStartCalculationSpecified())
View Full Code Here

    // Create a Cursor for unitsForSelections.
    CursorManagerSpecification cursorMngrSpec =
                dp.createCursorManagerSpecification(unitsForSelections);

    // Get the root CursorSpecification of the CursorManagerSpecification.
    CompoundCursorSpecification rootCursorSpec =
      (CompoundCursorSpecification) cursorMngrSpec.getRootCursorSpecification();

    // Get the CursorSpecification objects for the outputs.
    List outputSpecs = rootCursorSpec.getOutputs();
    ValueCursorSpecification timeSelValCSpec =
          (ValueCursorSpecification) outputSpecs.get(1); // Output for time.
    ValueCursorSpecification prodSelValCSpec =
          (ValueCursorSpecification) outputSpecs.get(3)// Output for product.
         
View Full Code Here

    // Create a Cursor for unitsForSelections.
    CursorManagerSpecification cursorMngrSpec =
                dp.createCursorManagerSpecification(unitsForSelections);

    // Get the root CursorSpecification of the CursorManagerSpecification.
    CompoundCursorSpecification rootCursorSpec =
      (CompoundCursorSpecification) cursorMngrSpec.getRootCursorSpecification();

    // Get the CursorSpecification for the base values.
    ValueCursorSpecification baseValueSpec =
                rootCursorSpec.getValueCursorSpecification();

    // Get the CursorSpecification objects for the outputs.
    List outputSpecs = rootCursorSpec.getOutputs();
    ValueCursorSpecification chanSelValCSpec =
                (ValueCursorSpecification) outputSpecs.get(0);
    ValueCursorSpecification timeSelValCSpec =
                (ValueCursorSpecification) outputSpecs.get(1);
    ValueCursorSpecification prodSelValCSpec =
View Full Code Here

  private void specifyingCalcExtent(CursorManagerSpecification cursorMngrSpec)
  {
    println("\nSpecifying the Calculation of the Extent of a Cursor");

    CompoundCursorSpecification rootCursorSpec =
      (CompoundCursorSpecification) cursorMngrSpec.getRootCursorSpecification();
    rootCursorSpec.setExtentCalculationSpecified(true);

    boolean isSet = rootCursorSpec.isExtentCalculationSpecified();
    isCalcSet(isSet, 1);
  }
View Full Code Here

  {
     println("\nSpecifying the Calculation of Starting and Ending Positions " +
             "in a Parent");

    // Specifying the Calculation of Starting and Ending Positions in a Parent.
    CompoundCursorSpecification rootCursorSpec =
     (CompoundCursorSpecification) cursorMngrSpec.getRootCursorSpecification();

    // Get the List of CursorSpecification objects for the outputs.
    // Iterate through the list, specifying the calculation of the extent
    // for each output CursorSpecification.
    Iterator iterOutputSpecs = rootCursorSpec.getOutputs().iterator();

    while(iterOutputSpecs.hasNext())
    {
      ValueCursorSpecification valCursorSpec = (ValueCursorSpecification)
                                                iterOutputSpecs.next();
      valCursorSpec.setParentStartCalculationSpecified(true);
      valCursorSpec.setParentEndCalculationSpecified(true);
    }

    boolean isSet = true;
    Iterator outputSpecsItr = rootCursorSpec.getOutputs().iterator();
    while(outputSpecsItr.hasNext())
    {
      ValueCursorSpecification valCursorSpec = (ValueCursorSpecification)
                                                outputSpecsItr.next();
      if (valCursorSpec.isParentStartCalculationSpecified())
View Full Code Here

    // Create a Cursor for unitsForSelections.
    CursorManagerSpecification cursorMngrSpec =
                dp.createCursorManagerSpecification(unitsForSelections);

    // Get the root CursorSpecification of the CursorManagerSpecification.
    CompoundCursorSpecification rootCursorSpec =
      (CompoundCursorSpecification) cursorMngrSpec.getRootCursorSpecification();

    // Get the CursorSpecification for the base values.
    ValueCursorSpecification baseValueSpec =
                rootCursorSpec.getValueCursorSpecification();

    // Get the CursorSpecification objects for the outputs.
    List outputSpecs = rootCursorSpec.getOutputs();
    ValueCursorSpecification chanSelValCSpec =
                (ValueCursorSpecification) outputSpecs.get(0);
    ValueCursorSpecification timeSelValCSpec =
                (ValueCursorSpecification) outputSpecs.get(1);
    ValueCursorSpecification prodSelValCSpec =
View Full Code Here

  private void specifyingCalcExtent(CursorManagerSpecification cursorMngrSpec)
  {
    println("\nSpecifying the Calculation of the Extent of a Cursor");

    CompoundCursorSpecification rootCursorSpec =
      (CompoundCursorSpecification) cursorMngrSpec.getRootCursorSpecification();
    rootCursorSpec.setExtentCalculationSpecified(true);

    boolean isSet = rootCursorSpec.isExtentCalculationSpecified();
    isCalcSet(isSet, 1);
  }
View Full Code Here

  {
     println("\nSpecifying the Calculation of Starting and Ending Positions " +
             "in a Parent");

    // Specifying the Calculation of Starting and Ending Positions in a Parent.
    CompoundCursorSpecification rootCursorSpec =
     (CompoundCursorSpecification) cursorMngrSpec.getRootCursorSpecification();

    // Get the List of CursorSpecification objects for the outputs.
    // Iterate through the list, specifying the calculation of the extent
    // for each output CursorSpecification.
    Iterator iterOutputSpecs = rootCursorSpec.getOutputs().iterator();

    while(iterOutputSpecs.hasNext())
    {
      ValueCursorSpecification valCursorSpec = (ValueCursorSpecification)
                                                iterOutputSpecs.next();
      valCursorSpec.setParentStartCalculationSpecified(true);
      valCursorSpec.setParentEndCalculationSpecified(true);
    }

    boolean isSet = true;
    Iterator outputSpecsItr = rootCursorSpec.getOutputs().iterator();
    while(outputSpecsItr.hasNext())
    {
      ValueCursorSpecification valCursorSpec = (ValueCursorSpecification)
                                                outputSpecsItr.next();
      if (valCursorSpec.isParentStartCalculationSpecified())
View Full Code Here

TOP

Related Classes of oracle.olapi.data.source.CompoundCursorSpecification

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.