Class ColumnName

    • Method Detail

      • of

        public static ColumnName of​(String name)
        Obtains an instance from the specified name.

        Column names may contain any character, but must not be empty.

        Parameters:
        name - the name of the column
        Returns:
        a column with the specified name
      • of

        public static ColumnName of​(Measure measure)
        Obtains an instance from the specified measure.

        The column name will be the same as the name of the measure.

        Parameters:
        measure - the measure to extract the name from
        Returns:
        a column with the same name as the measure