| 限定符和类型 | 字段和说明 |
|---|---|
protected static com.ds.common.logging.Log |
log
Commons Logging instance.
|
protected HashMap |
mapName |
| 构造器和说明 |
|---|
DBResult()
DBResult constructor.
|
DBResult(List v,
int row,
int column)
DBResult constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearResult()
Insert the method's description here.
|
Object |
clone()
Clone a DBResult.
|
byte[] |
getBlob(Blob b) |
String |
getClob(Clob c) |
int |
getColumns()
Get column of result
|
int |
getInt(int i)
Get result item
|
int |
getInt(int row,
int col)
Get result item
|
int |
getInt(int row,
String strCol)
Get result item
strCol为所需要的列的标题
|
int |
getInt(String strCol) |
Object |
getItem(int i)
Get result item
|
Object |
getItem(int row,
int col)
Get result item
|
Object |
getItem(int row,
String strCol)
Get result item
strCol为所需要的列的标题
|
Object |
getItem(String strCol) |
long |
getLong(int i)
Get result item
|
long |
getLong(int row,
int col)
Get result item
|
long |
getLong(int row,
String strCol)
Get result item
strCol为所需要的列的标题
|
long |
getLong(String strCol) |
List |
getResult()
Return a vector as result
|
int |
getRows()
Get row of result
|
int |
getSize()
Get number of items in the result
|
String |
getString(int i)
Get result item
|
String |
getString(int row,
int col)
Get result item
|
String |
getString(int row,
String strCol)
Get result item
strCol为所需要的列的标题
|
String |
getString(String strCol) |
static void |
main(String[] args)
Just for self test
|
void |
printResult()
Just for debug
Print data in result.
|
void |
setColumnName(int i,
String strName)
设置第i列的标题
|
void |
setColumns(int value)
Set column of result
|
void |
setResult(List value)
Set result
|
void |
setRows(int value)
Set row of result
|
void |
updateItem(Object value,
int row,
int column)
Update specified item in result.
|
protected static com.ds.common.logging.Log log
protected HashMap mapName
public DBResult()
public DBResult(List v, int row, int column)
public void setColumns(int value)
public void setResult(List value)
public void setRows(int value)
public void updateItem(Object value, int row, int column)
row - intcolumn - intpublic void clearResult()
public int getColumns()
public Object getItem(int row, int col)
public Object getItem(int i)
public String getString(int i)
public String getString(int row, int col)
public int getInt(int i)
public int getInt(int row,
int col)
public int getInt(int row,
String strCol)
public int getInt(String strCol)
public long getLong(int i)
public long getLong(int row,
int col)
public long getLong(int row,
String strCol)
public long getLong(String strCol)
public List getResult()
public int getRows()
public int getSize()
public void setColumnName(int i,
String strName)
public byte[] getBlob(Blob b)
public static void main(String[] args)
args - java.lang.String[]public void printResult()
Copyright © 2023 onecode. All rights reserved.