R
- The row type this table usespublic interface Table<R extends Table.Row>
Modifier and Type | Interface and Description |
---|---|
static interface |
Table.Row |
Modifier and Type | Method and Description |
---|---|
R |
createRow(Context context,
ResultBatch resultBatch,
int rowIdx)
Creates and instance of the row type of this table.
|
static <T> T |
getFieldOfRow(ResultBatch resultBatch,
int rowIdx,
int fieldIdx,
Context context,
Class<T> targetType) |
String |
getSQL(Version currentVersion)
Returns the SQL that is needed to load all rows of this table.
|
default List<R> |
query(BasicContext context,
String queryTxt,
long timeout,
Object... params) |
String getSQL(Version currentVersion)
currentVersion
- Current version of the server that will execute itR createRow(Context context, ResultBatch resultBatch, int rowIdx) throws IOException
IOException
default List<R> query(BasicContext context, String queryTxt, long timeout, Object... params) throws IOException
IOException
static <T> T getFieldOfRow(ResultBatch resultBatch, int rowIdx, int fieldIdx, Context context, Class<T> targetType) throws IOException
IOException