Enum IDistributedActivePivot.DataReplication

  • All Implemented Interfaces:
    Serializable, Comparable<IDistributedActivePivot.DataReplication>
    Enclosing interface:
    IDistributedActivePivot

    public static enum IDistributedActivePivot.DataReplication
    extends Enum<IDistributedActivePivot.DataReplication>
    In different distributed applications, the data cubes are allowed to have different hierarchies and levels. The query cubes are the union of all hierarchies and levels of the data ones : it thus allows to build queries to retrieve some measures on locations that do not exist locally.

    As measures from different cubes are independent, we allow the measures to appear on these "unknown" locations. The data replication properties allows to configure how the measures should be replicated.

    • Enum Constant Detail

      • REPLICATE

        public static final IDistributedActivePivot.DataReplication REPLICATE
        REPLICATE will replicate the measures on every unknown levels and hierarchies.

        For instance, if a data cube does not have the Currency dimension, and a query tries to retrieve its measures and display them on the currency hierarchy, then the measures will be replicated on every level specified by the query (AllMember, EUR, USD,...).

      • REPLICATE_ON_SLICER

        public static final IDistributedActivePivot.DataReplication REPLICATE_ON_SLICER
        REPLICATE_ON_SLICER will replicate the measures on the first level of unknown hierarchies.

        This applies to AllMember for regular hierarchies, and all the first-level members for a slicing hierarchy.

      • NO_REPLICATION

        public static final IDistributedActivePivot.DataReplication NO_REPLICATION
        NO_REPLICATION will replicate the measures only on the default member of unknown hierarchies(AllMember for regular hierarchies, or the default member for slicing hierarchies).
    • Method Detail

      • values

        public static IDistributedActivePivot.DataReplication[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IDistributedActivePivot.DataReplication c : IDistributedActivePivot.DataReplication.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IDistributedActivePivot.DataReplication valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null