Package mondrian.olap

Class Id.Segment

    • Constructor Detail

      • Segment

        protected Segment​(Id.Quoting quoting)
    • Method Detail

      • toList

        public static List<Id.Segment> toList​(String... nameParts)
        Converts an array of names to a list of segments.
        Parameters:
        nameParts - Array of names
        Returns:
        List of segments
      • matches

        public abstract boolean matches​(String name)
        Returns whether this segment matches a given name according to the rules of case-sensitivity and quoting.
        Parameters:
        name - Name to match
        Returns:
        Whether matches
      • toString

        public abstract void toString​(StringBuilder buf)
        Appends this segment to a StringBuilder.
        Parameters:
        buf - String builder to write to