Class Table.Builder

  • Enclosing class:
    Table

    public static class Table.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • rowCount

        public Table.Builder rowCount​(Integer rowCount)
        The number of rows.
        Parameters:
        rowCount - the value to set
        Returns:
        this builder
      • columnCount

        public Table.Builder columnCount​(Integer columnCount)
        The number of columns.
        Parameters:
        columnCount - the value to set
        Returns:
        this builder
      • headerRows

        public Table.Builder headerRows​(List<TableRow> headerRows)
        The header rows.
        Parameters:
        headerRows - the value to set
        Returns:
        this builder
      • bodyRows

        public Table.Builder bodyRows​(List<TableRow> bodyRows)
        The body rows.
        Parameters:
        bodyRows - the value to set
        Returns:
        this builder
      • footerRows

        public Table.Builder footerRows​(List<TableRow> footerRows)
        the footer rows.
        Parameters:
        footerRows - the value to set
        Returns:
        this builder
      • confidence

        public Table.Builder confidence​(Float confidence)
        The confidence score between 0 and 1.
        Parameters:
        confidence - the value to set
        Returns:
        this builder
      • build

        public Table build()