Examples of selectValues()


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

    MdmPrimaryDimension mdmProdDim = getMdmPrimaryDimension("PRODUCT_AW");
    MdmHierarchy mdmProdHier = mdmProdDim.getDefaultHierarchy();
    StringSource prodHier = (StringSource) mdmProdHier.getSource();
                
    // Selecting values using the selectValues shortcut.
    Source prodSel = prodHier.selectValues(myList);
    if (prodSel.isSubtypeOf(prodHier))
      println("prodSel is a subtype of prodHier.");
    else
      println("prodSel is not a subtype of prodHier.");
                
View Full Code Here

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

    StringSource calendar = (StringSource) mdmCalendar.getSource();
    StringSource prodHier = (StringSource) mdmProdHier.getSource();
    Source timeSel = calendar.selectValues(new String[]
                                            {"CALENDAR_YEAR_AW::MONTH_AW::47",
                                             "CALENDAR_YEAR_AW::MONTH_AW::59"});
    Source prodSel = prodHier.selectValues(new String[]
                                            {"PRODUCT_PRIMARY_AW::ITEM_AW::13",
                                             "PRODUCT_PRIMARY_AW::ITEM_AW::14",
                                             "PRODUCT_PRIMARY_AW::ITEM_AW::15"});
    Source unitCostSel = unitCost.join(timeSel)
                                 .join(prodSel);
View Full Code Here

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

    ArrayList<Source> HierarchySelectedList = new ArrayList<Source>();
    for(String dimensionName:dimensionNames){
      MdmPrimaryDimension mdmDim = context.getMdmPrimaryDimension(dimensionName);
      MdmHierarchy mdmHier = mdmDim.getDefaultHierarchy();
      StringSource hier = (StringSource)mdmHier.getSource();
      Source selected = hier.selectValues(dimensionList.get(dimensionName));
      Source depShortLabel = mdmDim.getShortValueDescriptionAttribute().getSource();
      Source deptShortDescr = depShortLabel.join(selected);
      HierarchySelectedList.add(deptShortDescr);
    }
    for(int i=HierarchySelectedList.size()-1;i>=0;i--){
View Full Code Here

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

                                             {"SHIPMENTS_AW::SHIP_TO_AW::60",
                                              "SHIPMENTS_AW::SHIP_TO_AW::61",
                                              "SHIPMENTS_AW::SHIP_TO_AW::62",
                                              "SHIPMENTS_AW::SHIP_TO_AW::63"});
    // Select a subset of the selection.
    Source custSel2 = custSel.selectValues(new String[]
                                             {"SHIPMENTS_AW::SHIP_TO_AW::60",
                                              "SHIPMENTS_AW::SHIP_TO_AW::62"});

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

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

    mdmMarkup.setShortDescription("UNIT_PRICE_AW MINUS UNIT_COST_AW");
    mdmMarkup.setDescription("Unit price minus unit cost.");
       
    // Produce a Source that specifies the values of the members of the
    // measure dimension.
    Source measDimSel = measDim.selectValues(new String[]
                                            {mdmMarkup.getValue(),
                                             mdmUnitCost.getValue(),
                                             mdmUnitPrice.getValue()});
                
    // Get the Source objects for the short value description attributes
View Full Code Here

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

      Source prodSel = prodHier.selectValues(new String[]
                                          {"PRODUCT_PRIMARY_AW::ITEM_AW::13",
                                           "PRODUCT_PRIMARY_AW::ITEM_AW::14",
                                           "PRODUCT_PRIMARY_AW::ITEM_AW::15"});

      Source timeSel = timeHier.selectValues(new String[]
                                          {"CALENDAR_YEAR_AW::MONTH_AW::55",
                                           "CALENDAR_YEAR_AW::MONTH_AW::58",
                                           "CALENDAR_YEAR_AW::MONTH_AW::61",
                                           "CALENDAR_YEAR_AW::MONTH_AW::64"});
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.