Modifier | Constructor and Description |
---|---|
protected |
DataSource(org.jdbdt.CallInfo callInfo,
DB db,
String sql,
Object... queryArgs)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Get column count.
|
String |
getColumnName(int index)
Get column name.
|
List<String> |
getColumns()
Get columns.
|
DB |
getDB()
Get database instance.
|
String |
getSQLForQuery()
Get SQL code for query.
|
public final DB getDB()
public final List<String> getColumns()
Note: the returned list is unmodifiable.
public final int getColumnCount()
public final String getColumnName(int index)
index
- Column index between 0
and getColumnCount() - 1
public final String getSQLForQuery()
Copyright © 2016–2021 JDBDT. All rights reserved.