Package oms3.io

Interface CSTable

  • All Known Implementing Classes:
    MemoryTable

    public interface CSTable
    Comma separated table.
    Author:
    Olaf David
    • Method Detail

      • getName

        String getName()
        Get the name of the table
        Returns:
        the name
      • getInfo

        Map<String,​String> getInfo()
        Get the annotations for the table
        Returns:
        the annotations for the propertyset.
      • getColumnInfo

        Map<String,​String> getColumnInfo​(int column)
        Get the info for a column.
        Parameters:
        column -
        Returns:
        a map with KVP for column meta data.
      • getColumnName

        String getColumnName​(int column)
        Get the column name.
        Parameters:
        column -
        Returns:
        the column name.
      • getColumnCount

        int getColumnCount()
        get the number of columns in the table
        Returns:
        the number of columns.
      • rows

        Iterable<String[]> rows()
        get the row iterator.
        Returns:
        row iterator
      • rows

        Iterable<String[]> rows​(int skipRow)
        get the row iterator and skip the first rows.
        Parameters:
        skipRow - the # rows to skip
        Returns:
        row iterator