Class DataSourceTableInfo

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

public class DataSourceTableInfo
extends java.lang.Object
Encapsulates information about a data source table.
  • Constructor Summary

    Constructors 
    Constructor Description
    DataSourceTableInfo​(java.lang.String name, java.lang.String[] columnNames, Datatype[] columnDatatypes)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object that)  
    Datatype getColumnDatatype​(int columnIndex)
    Returns the datatype of the column with the given index.
    java.lang.String getColumnName​(int columnIndex)
    Returns the name of the column with the given index.
    java.lang.String getName()
    Returns the name of a data source table.
    int getNumberOfColumns()
    Returns the number of columns in a data source table.
    int hashCode()  

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DataSourceTableInfo

      public DataSourceTableInfo​(java.lang.String name, java.lang.String[] columnNames, Datatype[] columnDatatypes)
  • Method Details

    • getName

      public java.lang.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 java.lang.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 java.lang.Object
    • equals

      public boolean equals​(java.lang.Object that)
      Overrides:
      equals in class java.lang.Object