Class SubTable


  • public class SubTable
    extends java.lang.Object
    A class that represents a table nested within a cell in another table.
    Author:
    Alex Kalderimis
    • Constructor Detail

      • SubTable

        public SubTable​(Path outerJoinGroup,
                        java.util.List<Path> columns,
                        java.util.List<java.util.List<Either<ResultCell,​SubTable>>> rows)
        Construct a sub table.
        Parameters:
        outerJoinGroup - The outer join group this table is located at.
        columns - The columns in this sub table.
        rows - The data within the table.
    • Method Detail

      • getRows

        public java.util.List<java.util.List<Either<ResultCell,​SubTable>>> getRows()
        Returns:
        The rows that make up this sub table.
      • getColumns

        public java.util.List<Path> getColumns()
        Returns:
        the columns of this sub-table
      • getJoinPath

        public Path getJoinPath()
        Returns:
        the path below which all the columns are nested.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object