Class TableResultTable

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.TableResultTable
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class TableResultTable
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Full table object retrieved from Table Understanding Enrichment.
  • Constructor Details

    • TableResultTable

      public TableResultTable()
  • Method Details

    • getLocation

      public TableElementLocation getLocation()
      Gets the location.

      The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.

      Returns:
      the location
    • getText

      public String getText()
      Gets the text.

      The textual contents of the current table from the input document without associated markup content.

      Returns:
      the text
    • getSectionTitle

      public TableTextLocation getSectionTitle()
      Gets the sectionTitle.

      Text and associated location within a table.

      Returns:
      the sectionTitle
    • getTitle

      public TableTextLocation getTitle()
      Gets the title.

      Text and associated location within a table.

      Returns:
      the title
    • getTableHeaders

      public List<TableHeaders> getTableHeaders()
      Gets the tableHeaders.

      An array of table-level cells that apply as headers to all the other cells in the current table.

      Returns:
      the tableHeaders
    • getRowHeaders

      public List<TableRowHeaders> getRowHeaders()
      Gets the rowHeaders.

      An array of row-level cells, each applicable as a header to other cells in the same row as itself, of the current table.

      Returns:
      the rowHeaders
    • getColumnHeaders

      public List<TableColumnHeaders> getColumnHeaders()
      Gets the columnHeaders.

      An array of column-level cells, each applicable as a header to other cells in the same column as itself, of the current table.

      Returns:
      the columnHeaders
    • getKeyValuePairs

      public List<TableKeyValuePairs> getKeyValuePairs()
      Gets the keyValuePairs.

      An array of key-value pairs identified in the current table.

      Returns:
      the keyValuePairs
    • getBodyCells

      public List<TableBodyCells> getBodyCells()
      Gets the bodyCells.

      An array of cells that are neither table header nor column header nor row header cells, of the current table with corresponding row and column header associations.

      Returns:
      the bodyCells
    • getContexts

      public List<TableTextLocation> getContexts()
      Gets the contexts.

      An array of lists of textual entries across the document related to the current table being parsed.

      Returns:
      the contexts