public interface DataRecord
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(int columnIndex)
Gets a boolean value for the specified column.
|
int |
getColumnCount()
Gets the number of columns (fields) in the data.
|
int |
getColumnIndex(String columnName)
Gets the zero based column index for a column name.
|
String |
getColumnName(int columnIndex)
Gets the name of the column at the specified index.
|
Class<?> |
getColumnType(int columnIndex)
Get the data type for the specified column.
|
double |
getDouble(int columnIndex)
Gets a double value for the specified column.
|
float |
getFloat(int columnIndex)
Gets a float value for the specified column.
|
int |
getInt(int columnIndex)
Gets an integer value for the specified column.
|
long |
getLong(int columnIndex)
Gets a long value for the specified column.
|
Object |
getObject(int columnIndex)
Gets an Object representation for the value at the specified column.
|
String |
getString(int columnIndex)
Gets a string value for the specified column.
|
boolean |
isNull(int columnIndex)
Determines whether the value is null (missing) for the specified column.
|
int getColumnIndex(String columnName)
columnName - The name of the column.String getColumnName(int columnIndex)
columnIndex - The zero based index of the column.Class<?> getColumnType(int columnIndex)
int getColumnCount()
boolean isNull(int columnIndex)
columnIndex - true if the value is null (missing), false otherwise.Object getObject(int columnIndex)
columnIndex - String getString(int columnIndex)
columnIndex - boolean getBoolean(int columnIndex)
columnIndex - The zero based column index.int getInt(int columnIndex)
columnIndex - The zero based column index.long getLong(int columnIndex)
columnIndex - The zero based column index.double getDouble(int columnIndex)
columnIndex - The zero based column index.float getFloat(int columnIndex)
columnIndex - The zero based column index.Copyright © 2021. All rights reserved.