Class DataSourceTableInfo
java.lang.Object
tech.oxfordsemantic.jrdfox.client.DataSourceTableInfo
Encapsulates information about a data source table.
-
Constructor Summary
ConstructorsConstructorDescriptionDataSourceTableInfo(String name, String[] columnNames, Datatype[] columnDatatypes) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetColumnDatatype(int columnIndex) Returns the datatype of the column with the given index.getColumnName(int columnIndex) Returns the name of the column with the given index.getName()Returns the name of a data source table.intReturns the number of columns in a data source table.inthashCode()
-
Constructor Details
-
DataSourceTableInfo
-
-
Method Details
-
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
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
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
-
equals
-