Package org.olap4j

Class Axis.Factory

  • Enclosing interface:
    Axis

    public static class Axis.Factory
    extends java.lang.Object
    Container class for various Axis factory methods.
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Axis forOrdinal​(int ordinal)
      Returns the axis with a given ordinal.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • forOrdinal

        public static Axis forOrdinal​(int ordinal)
        Returns the axis with a given ordinal.

        For example, forOrdinal(0) returns the COLUMNS axis; forOrdinal(-1) returns the SLICER axis; forOrdinal(100) returns AXIS(100).

        Parameters:
        ordinal - Axis ordinal
        Returns:
        Axis whose ordinal is as given