Class ColumnList

    • Method Detail

      • getNames

        public List<String> getNames()
        Returns a list of column names.

        For example, it returns [a, b, c] for function calls like DESCRIPTOR(a INT, b STRING, c BOOLEAN) or DESCRIPTOR(a, b, c).

      • getDataTypes

        public List<DataType> getDataTypes()
        Returns a list of data types (if available).

        For example, it returns [INT, STRING, BOOLEAN] for function calls like DESCRIPTOR(a INT, b STRING, c BOOLEAN).

        Note: The list might be empty if only names were passed to the descriptor function like DESCRIPTOR(a, b, c). Thus, the list is either empty or has the same number of elements as getNames().