DataTableReader
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.assembly.system.data.common.DbDataReader
public class DataTableReader extends DbDataReader
| Constructor | Description |
|---|---|
| DataTableReader(DataTable dataTable) | |
| DataTableReader(DataTable[] dataTables) |
public DataTableReader(DataTable dataTable)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| dataTable | DataTable |
public DataTableReader(DataTable[] dataTables)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| dataTables | DataTable[] |
public int getFieldCount()
Returns: int
public boolean isClosed()
Returns: boolean
public Object get(int ordinal)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ordinal | int |
Returns: java.lang.Object
public String getName(int ordinal)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ordinal | int |
Returns: java.lang.String
public Class getFieldType(int ordinal)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ordinal | int |
Returns: java.lang.Class
public Object getValue(int ordinal)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ordinal | int |
Returns: java.lang.Object
public boolean read()
Returns: boolean
public int getDepth()
Returns: int
public int getRecordsAffected()
Returns: int
public void close()
public DataTable getSchemaTable()
Returns: DataTable
public boolean nextResult()
Returns: boolean
public boolean hasRows()
Returns: boolean
public Iterator iterator()
Returns: java.util.Iterator
public Object get(String columnName)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| columnName | java.lang.String |
Returns: java.lang.Object
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.