Class DataSourceTableInfo

java.lang.Object
tech.oxfordsemantic.jrdfox.client.DataSourceTableInfo

public class DataSourceTableInfo extends Object
Encapsulates information about a data source table.
  • Constructor Details

    • DataSourceTableInfo

      public DataSourceTableInfo(String name, String[] columnNames, Datatype[] columnDatatypes)
  • Method Details

    • getName

      public String getName()
      Returns the name of a data source table.
      Returns:
      the name of a data source table
    • getNumberOfColumns

      public int getNumberOfColumns()
      Returns the number of columns in a data source table.
      Returns:
      the number of columns in a data source table
    • getColumnName

      public String getColumnName(int columnIndex)
      Returns the name of the column with the given index.
      Parameters:
      columnIndex - the index of the column whose name is to be returned
      Returns:
      the name of the column with the given index
    • getColumnDatatype

      public Datatype getColumnDatatype(int columnIndex)
      Returns the datatype of the column with the given index.
      Parameters:
      columnIndex - the index of the column whose datatype is to be returned
      Returns:
      the datatype of the column with the given index
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object