Package oracle.olapi.data.source

Examples of oracle.olapi.data.source.StringSource.join()


    MdmAttribute mdmTimeHierParentAttr = mdmTimeHier.getParentAttribute();
   
    Source prodHierParentAttr = mdmTimeHierParentAttr.getSource();
       
    // Reverse the parent relation to get a children relation.
    Source timeHierChildren = timeHier.join(prodHierParentAttr,
        timeHier.value());
       
    // Select the children of the specified level element.
    Source levelElementChildren = timeHierChildren.join(timeHier, levelElement);
       
View Full Code Here


       
    int pos = 1;
    Source levelElement = levelSrc.at(pos);
       
    // Use levelElement as the comparison to select a level value.
    Source levelSel = prodHier.join(prodHier.value(), levelElement);
       
       
    // Get the Source for the short label attribute of the dimension.
    Source prodShortLabel = mdmProdDim.getShortValueDescriptionAttribute()
                                      .getSource();
View Full Code Here

       
    // Get the parent of the level element.
    Source levelElementParent = prodHierParentAttr.join(prodHier, levelElement);
       
    // Reverse the parent relation to get a children relation.
    Source prodHierChildren = prodHier.join(prodHierParentAttr,
                                            prodHier.value());
       
    // Select the children of the specified level element.
    Source levelElementChildren = prodHierChildren.join(prodHier, levelElement);
       
View Full Code Here

        hierarchy.getAncestorsAttribute();
      Source mktSegmentAncestors = mdmMarketSegmentAncestorsAttr.getSource();

      // Reverse the ancestors relation to get the descendants relation.
      Source mktSegmentDescendants =
                mktSegment.join(mktSegmentAncestors, mktSegment.value());
     
      // Select an element of the hierarchy.
      Source selVal = mktSegment.selectValue(node);

      // Select the descendants of the specified element.
View Full Code Here

        hierarchy.getAncestorsAttribute();
      Source mktSegmentAncestors = mdmMarketSegmentAncestorsAttr.getSource();

      // Reverse the ancestors relation to get the descendants relation.
      Source mktSegmentDescendants =
                mktSegment.join(mktSegmentAncestors, mktSegment.value());
     
      // Select an element of the hierarchy.
      Source selVal = mktSegment.selectValue(node);

      Source result = null;
View Full Code Here

      Source prodShortLabel = mdmTimeDim.getShortValueDescriptionAttribute()
                                        .getSource();
      Source levelSrcWithShortDescr = prodShortLabel.join(levelSrc);
      MdmAttribute mdmTimeHierParentAttr = mdmTimeHier.getParentAttribute();
      Source prodHierParentAttr = mdmTimeHierParentAttr.getSource();
      Source timeHierChildren = timeHier.join(prodHierParentAttr,
          timeHier.value());
      Cursor queryCursor = getCursor(context,levelSrcWithShortDescr);
      List<LazyDynaBean> result = convertDimensionShortDescCursor2List(queryCursor);
     
     
View Full Code Here

    // Join the selection to itself, using the subset as the comparison.
    Source result1 = custSel.join(custSel, custSel2, true);

    // Join the selection to the result of the value method, using the subset
    // as the comparison.
    Source  result2 = custSel.join(custSel.value(), custSel2, true);

    // Prepare and commit the Transaction.
    prepareAndCommit();

    // Display the results.
View Full Code Here

                                    mdmMarketSegment.getAncestorsAttribute();
    Source mktSegmentAncestors = mdmMarketSegmentAncestorsAttr.getSource();

    // Reverse the ancestors relation to get the descendants relation.
    Source mktSegmentDescendants =
              mktSegment.join(mktSegmentAncestors, mktSegment.value());

    // Select an element of the hierarchy.
    Source selVal = mktSegment.selectValue("MARKET_SEGMENT_AW::ACCOUNT_AW::23");

    // Select the descendants of the specified element.
View Full Code Here

                                     mdmMarketSegment.getAncestorsAttribute();
    Source mktSegmentAncestors = mdmMarketSegmentAncestorsAttr.getSource();

    // Reverse the ancestors relation to get the descendants relation.
    Source mktSegmentDescendants =
              mktSegment.join(mktSegmentAncestors, mktSegment.value());

    // Select an element of the hierarchy.
    Source selVal = mktSegment.selectValue("MARKET_SEGMENT_AW::ACCOUNT_AW::23");

    // Create a descendants relation that removes the input value.
View Full Code Here

    // Create a list Source that has the levels as element values.
    Source levelList = dp.createListSource(levelSources);

    // Create a Source that selects the elements of a level and has
    // levelList as an input.
    Source levelMembers = timeHier.join(levelRel, levelList.value());

    // Create a range Source that specifies all elements after the first and
    // before the last.
    Source range = dp.createRangeSource(2, levelMembers.count().minus(1));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.