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.IOExceptionpublic StreamResultSet(java.io.InputStream in,
java.lang.String encoding)
throws java.io.IOException
java.io.IOExceptionpublic boolean next()
throws java.io.IOException
IResultSetnext in interface IResultSetjava.io.IOExceptionpublic void close()
throws java.io.IOException
IResultSetclose in interface IResultSetjava.io.IOExceptionpublic java.lang.Object getObject(int colNo)
IRowpublic IRSMetaData getMetaData()
IResultSetgetMetaData in interface IResultSetpublic int getColumnCount()
IRSMetaDatagetColumnCount in interface IRSMetaDatapublic java.lang.String getColumnName(int col)
IRSMetaDatagetColumnName in interface IRSMetaDatapublic java.lang.String getTableName(int col)
getTableName in interface IRSMetaDatapublic int getColumnType(int col)
IRSMetaDatagetColumnType in interface IRSMetaDatacol - 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.IOExceptionpublic static java.lang.Object createObject(int dtype,
java.lang.Object elem,
java.io.StreamTokenizer st)
throws java.io.IOException
java.io.IOException