Package oracle.olapi.data.source

Examples of oracle.olapi.data.source.ValueCursorSpecification


    // 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 =
                (ValueCursorSpecification) outputSpecs.get(2);
    ValueCursorSpecification custSelValCSpec =
                (ValueCursorSpecification) outputSpecs.get(3);

    return cursorMngrSpec;
  }
View Full Code Here


    // 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())
      {
        isCalcSet(isSet, 2)
      }
      if (valCursorSpec.isParentEndCalculationSpecified())
      {
        isCalcSet(isSet, 3)
      }
     
     
View Full Code Here

    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.
         
    // Specify the calculation of the starting and ending positions.
    timeSelValCSpec.setParentStartCalculationSpecified(true);
    timeSelValCSpec.setParentEndCalculationSpecified(true);
    prodSelValCSpec.setParentStartCalculationSpecified(true);
    prodSelValCSpec.setParentEndCalculationSpecified(true);

    // Create the CursorManager and the Cursor.
    SpecifiedCursorManager cursorMngr = dp.createCursorManager(cursorMngrSpec);
    CompoundCursor rootCursor = (CompoundCursor) cursorMngr.createCursor();
View Full Code Here

    // 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 =
                (ValueCursorSpecification) outputSpecs.get(2);
    ValueCursorSpecification custSelValCSpec =
                (ValueCursorSpecification) outputSpecs.get(3);

    return cursorMngrSpec;
  }
View Full Code Here

    // 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())
      {
        isCalcSet(isSet, 2)
      }
      if (valCursorSpec.isParentEndCalculationSpecified())
      {
        isCalcSet(isSet, 3)
      }
     
     
View Full Code Here

    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.
         
    // Specify the calculation of the starting and ending positions.
    timeSelValCSpec.setParentStartCalculationSpecified(true);
    timeSelValCSpec.setParentEndCalculationSpecified(true);
    prodSelValCSpec.setParentStartCalculationSpecified(true);
    prodSelValCSpec.setParentEndCalculationSpecified(true);

    // Create the CursorManager and the Cursor.
    SpecifiedCursorManager cursorMngr = dp.createCursorManager(cursorMngrSpec);
    CompoundCursor rootCursor = (CompoundCursor) cursorMngr.createCursor();
View Full Code Here

    // 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 =
                (ValueCursorSpecification) outputSpecs.get(2);
    ValueCursorSpecification custSelValCSpec =
                (ValueCursorSpecification) outputSpecs.get(3);

    return cursorMngrSpec;
  }
View Full Code Here

    // 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())
      {
        isCalcSet(isSet, 2)
      }
      if (valCursorSpec.isParentEndCalculationSpecified())
      {
        isCalcSet(isSet, 3)
      }
     
     
View Full Code Here

    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.
         
    // Specify the calculation of the starting and ending positions.
    timeSelValCSpec.setParentStartCalculationSpecified(true);
    timeSelValCSpec.setParentEndCalculationSpecified(true);
    prodSelValCSpec.setParentStartCalculationSpecified(true);
    prodSelValCSpec.setParentEndCalculationSpecified(true);

    // Create the CursorManager and the Cursor.
    SpecifiedCursorManager cursorMngr = dp.createCursorManager(cursorMngrSpec);
    CompoundCursor rootCursor = (CompoundCursor) cursorMngr.createCursor();
View Full Code Here

TOP

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

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.