public interface IDataTableSchema
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Returns the number of columns a row contains.
|
int |
getColumnIndex(String columnName)
Returns the index of a columnName.
|
IDataColumnSchema |
getColumnSchema(int columnIndex)
Returns the schema of the column with the specified index.
|
IDataColumnSchema |
getColumnSchema(String columnName)
Returns the schema of the column with the specified name.
|
List<? extends IDataColumnSchema> |
getColumnSchemas()
Returns the schemas of all columns.
|
String |
getName()
Returns the name of the entity of the data in the datatable.
|
IDataColumnSchema |
getPrimaryKey()
Only for internal use.
|
boolean |
hasColumn(String columnName)
Returns whether the column name is defined in the schema or not.
|
boolean hasColumn(String columnName)
columnName
- int getColumnCount()
IDataColumnSchema getPrimaryKey()
int getColumnIndex(String columnName)
columnName
- ConnectionBusException
- if the columnName does not existString getName()
IDataColumnSchema getColumnSchema(int columnIndex)
columnIndex
- the index the columnIDataColumnSchema getColumnSchema(String columnName)
columnName
- the name the columnList<? extends IDataColumnSchema> getColumnSchemas()