Package oracle.olapi.data.source

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


     getContext().displayResult(parentsAndChildrenShortcutWithDescr);   
    
     // Example 4: selectDescendants(Source comparison, Source parent)
     // Select the parent value and its descendants.
     Source parentAndChildrenShortcut2 =
             shipments.selectDescendants(
                      getExpressDataProvider()
                      .createConstantSource("SHIPMENTS_AW::WAREHOUSE_AW::17"),
                      shipmentsParentAttr);
     // Add the value descriptions to the selections.
     Source parentAndChildrenShortcut2WithDescr =
View Full Code Here


     // Example 5: sortDescendingHierarchically(Source joined, Source parent,
     //                                         boolean parentsFirst,
     //                                         boolean parentsRestrictedToBase)
     // Select the descendants of a REGION value, which is the level above the
     // WAREHOUSE level.
     Source custSel = shipments.selectDescendants(
                        getExpressDataProvider()
                        .createConstantSource("SHIPMENTS_AW::REGION_AW::8"),
                        shipmentsParentAttr);
     // Sort the selection hierarchically in descending order, with the parent
     // values appearing after their children.
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.