public class StreamResultSet extends java.lang.Object implements IResultSet, IRSMetaData
Constructor and Description |
---|
StreamResultSet(java.io.InputStream in)
Create a new StreamResult Object using the specified InputStream
|
StreamResultSet(java.io.InputStream in,
java.lang.String encoding)
Create a new StreamResult Object using the specified InputStream
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the cursor
|
static java.lang.Object |
createObject(int dtype,
java.lang.Object elem,
java.io.StreamTokenizer st) |
int |
getColumnCount()
Gets the number of columns in the result set.
|
java.lang.String |
getColumnName(int col)
Gets the name of a column in the result set.
|
int |
getColumnType(int col)
Gets the data type of a column in the result set.
|
IRSMetaData |
getMetaData()
Gets the meta data object
|
java.lang.Object |
getObject(int colNo)
Returns the data value stored in the specified column of this row.
|
java.lang.String |
getTableName(int col) |
boolean |
next()
Advances cursor to next row
|
static int |
readLine(java.io.StreamTokenizer st,
java.util.Vector vec,
boolean acceptNo) |
public StreamResultSet(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public StreamResultSet(java.io.InputStream in, java.lang.String encoding) throws java.io.IOException
java.io.IOException
public boolean next() throws java.io.IOException
IResultSet
next
in interface IResultSet
java.io.IOException
public void close() throws java.io.IOException
IResultSet
close
in interface IResultSet
java.io.IOException
public java.lang.Object getObject(int colNo)
IRow
public IRSMetaData getMetaData()
IResultSet
getMetaData
in interface IResultSet
public int getColumnCount()
IRSMetaData
getColumnCount
in interface IRSMetaData
public java.lang.String getColumnName(int col)
IRSMetaData
getColumnName
in interface IRSMetaData
public java.lang.String getTableName(int col)
getTableName
in interface IRSMetaData
public int getColumnType(int col)
IRSMetaData
getColumnType
in interface IRSMetaData
col
- the column index (beginning at 1)public static int readLine(java.io.StreamTokenizer st, java.util.Vector vec, boolean acceptNo) throws java.io.IOException
java.io.IOException
public static java.lang.Object createObject(int dtype, java.lang.Object elem, java.io.StreamTokenizer st) throws java.io.IOException
java.io.IOException