|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.orindasoft.pub.ReadOnlyRowSet
A class for representing a ResultSet or set of stored procedure parameters.
Detailed information on this class is available Orinda Software
| Constructor Summary | |
ReadOnlyRowSet(java.lang.Object[] theData,
java.lang.String[] columnNames,
java.lang.String[] columnOracleDatatypeNames,
int[] underlyingOracleDatatypes,
int[] columnJavaDatatypes,
long[] columnLengths,
int[] columnDecimalPlaces,
LogInterface theLog,
java.io.File downloadedFileDir,
boolean keepFiles)
Create a ReadOnlyRowSet that is based on user defined data rather than a ResultSet. |
|
ReadOnlyRowSet(java.sql.ResultSet theResultSet,
java.lang.String theQuery,
int maxRows,
LogInterface theLog)
Create a ReadOnlyRowSet that is based on a ResultSet. |
|
ReadOnlyRowSet(java.sql.ResultSet theResultSet,
java.lang.String theQuery,
int maxRows,
LogInterface theLog,
java.io.File downloadedFileDir,
boolean keepFiles,
java.lang.String tempFilePrefix,
java.lang.String tempFileSuffix)
Create a ReadOnlyRowSet that is based on a ResultSet. |
|
ReadOnlyRowSet(java.sql.ResultSet theResultSet,
java.lang.String theQuery,
int maxRows,
LogInterface theLog,
java.io.File downloadedFileDir,
boolean keepFiles,
java.lang.String tempFilePrefix,
java.lang.String tempFileSuffix,
boolean keepLobs)
Create a ReadOnlyRowSet that is based on a ResultSet. |
|
ReadOnlyRowSet(java.sql.ResultSet theResultSet,
java.lang.String theQuery,
int maxRows,
LogInterface theLog,
java.io.File downloadedFileDir,
boolean keepFiles,
java.lang.String tempFilePrefix,
java.lang.String tempFileSuffix,
boolean keepLobs,
boolean useByteArraysForLongsAndLOBS)
Create a ReadOnlyRowSet that is based on a ResultSet. |
|
| Method Summary | |
boolean |
checkColumnName(java.lang.String theColumnName)
Make sure that theColumnName is a valid column. |
int |
deleteGeneratedFiles()
Delete all files in this ReadOnlyRowSet This is a cleanup method that you can use when the underlying cursor contained one or more LOB columns and you need to explicitly remove the resulting files. |
boolean |
first()
Move to first row of the RowSet. |
oracle.sql.BFILE |
getBFILE(int columnId)
Get column columnId as a oracle.sql.BFILE Object This method will only work if 'keepLobs' was set to true. |
oracle.sql.BFILE |
getBFILE(java.lang.String theColumnName)
Get column columnId as a oracle.sql.BFILE Object This method will only work if 'keepLobs' was set to true. |
java.math.BigDecimal |
getBigDecimal(int columnId)
Get column columnId as a java.math.BigDecimal Object |
java.math.BigDecimal |
getBigDecimal(java.lang.String theColumnName)
Get column columnId as a java.math.BigDecimal Object |
oracle.sql.BLOB |
getBLOB(int columnId)
Get column columnId as a oracle.sql.BLOB Object This method will only work if 'keepLobs' was set to true. |
oracle.sql.BLOB |
getBLOB(java.lang.String theColumnName)
Get column columnId as a oracle.sql.BLOB Object This method will only work if 'keepLobs' was set to true. |
boolean |
getBoolean(int columnId)
Get column columnId as a boolean. |
boolean |
getBoolean(java.lang.String theColumnName)
Get column columnId as a boolean. |
java.lang.Boolean |
getBooleanObj(int columnId)
Get column columnId as a Boolean Object |
java.lang.Boolean |
getBooleanObj(java.lang.String theColumnName)
Get column columnId as a Boolean Object |
byte |
getByte(int columnId)
Get column columnId as a byte. |
byte |
getByte(java.lang.String theColumnName)
Get column columnId as a byte. |
byte[] |
getByteArray(int columnId)
Get column columnId as a byte[] Object |
byte[] |
getByteArray(java.lang.String theColumnName)
Get column columnId as a byte[] Object |
java.lang.Byte |
getByteObj(int columnId)
Get column columnId as a Byte Object |
java.lang.Byte |
getByteObj(java.lang.String theColumnName)
Get column columnId as a Byte Object |
char[] |
getCharArray(int columnId)
Get column columnId as a char[] Object |
char[] |
getCharArray(java.lang.String theColumnName)
Get column columnId as a char[] Object |
oracle.sql.CLOB |
getCLOB(int columnId)
Get column columnId as a oracle.sql.CLOB Object This method will only work if 'keepLobs' was set to true. |
oracle.sql.CLOB |
getCLOB(java.lang.String theColumnName)
Get column columnId as a oracle.sql.CLOB Object This method will only work if 'keepLobs' was set to true. |
int |
getColumnId(java.lang.String theColumnName)
Get the position of a named column in rows of the underlying result set. |
java.lang.String |
getColumnName(int theColumnId)
Get the name of a column. |
java.lang.String |
getColumnNamesAsString(java.lang.String delimiter)
Return the row's column names in the form of a delimited string |
java.lang.String[] |
getColumnNamesAsStringArray()
Return the row's column names in the form of a string Array |
java.lang.String[] |
getColumnOracleDatatypeNames()
Return the Oracle data types of the the columns as an array of String |
java.lang.Object[] |
getCurrentRow()
Return current row as an array of Object |
int |
getCurrentRowNumber()
Return the current row number |
java.sql.Date |
getDate(int columnId)
Get column columnId as a java.sql.Date |
java.sql.Date |
getDate(java.lang.String theColumnName)
Get column columnId as a java.sql.Date |
double |
getDouble(int columnId)
Get column columnId as a double. |
double |
getDouble(java.lang.String theColumnName)
Get column columnId as a double. |
java.lang.Double |
getDoubleObj(int columnId)
Get column columnId as a Double Object |
java.lang.Double |
getDoubleObj(java.lang.String theColumnName)
Get column columnId as a Double Object |
java.util.Date |
getExpireDate()
Set how long the result will remain up to date. |
java.io.File |
getFile(int columnId,
java.io.File outputFile)
Get a long text or binary column columnId as a File BLOBS, CLOBS and LONGS are downloaded to File's if in a ResultSet used to create a ReadOnlyRowSet. |
java.io.File |
getFile(java.lang.String theColumnName,
java.io.File outputFile)
Get a long text or binary column columnId as a File BLOBS, CLOBS and LONGS are downloaded to File's if in a ResultSet used to create a ReadOnlyRowSet. |
float |
getFloat(int columnId)
Get column columnId as a float. |
float |
getFloat(java.lang.String theColumnName)
Get column columnId as a float. |
java.lang.Float |
getFloatObj(int columnId)
Get column columnId as a Float Object |
java.lang.Float |
getFloatObj(java.lang.String theColumnName)
Get column columnId as a Float Object |
int |
getInt(int columnId)
Get column columnId as an int. |
int |
getInt(java.lang.String theColumnName)
Get column columnId as an int. |
java.lang.Integer |
getIntegerObj(int columnId)
Get column columnId as a Integer Object |
java.lang.Integer |
getIntegerObj(java.lang.String theColumnName)
Get column columnId as a Integer Object |
long |
getLong(int columnId)
Get column columnId as a long. |
long |
getLong(java.lang.String theColumnName)
Get column columnId as a long. |
java.lang.Long |
getLongObj(int columnId)
Get column columnId as a Long Object |
java.lang.Long |
getLongObj(java.lang.String theColumnName)
Get column columnId as a Long Object |
java.lang.Object |
getObject(int columnId)
Get column columnId as an Object. |
java.lang.Object |
getObject(java.lang.String theColumnName)
Get column columnId as an Object. |
oracle.sql.OPAQUE |
getOpaque(int columnId)
Get column columnId as an oracle.sql.OPAQUE. |
oracle.sql.OPAQUE |
getOpaque(java.lang.String theColumnName)
Get column columnId as an oracle.sql.OPAQUE. |
java.lang.String |
getRowAsString(java.lang.String delimiter,
java.lang.String unprintableFieldMessage)
Return the entire row in the form of a delimited string |
short |
getShort(int columnId)
Get column columnId as a short. |
short |
getShort(java.lang.String theColumnName)
Get column columnId as a short. |
java.lang.Short |
getShortObj(int columnId)
Get column columnId as a Short Object |
java.lang.Short |
getShortObj(java.lang.String theColumnName)
Get column columnId as a Short Object |
java.lang.String |
getString(int columnId)
Get column columnId as a String. |
java.lang.String |
getString(java.lang.String theColumnName)
Get column columnId as a String. |
java.lang.String |
getTempFileSuffix()
Get the prefix used for generating temporary files |
java.sql.Timestamp |
getTimestamp(int columnId)
Get column columnId as a java.sql.Timestamp |
oracle.sql.TIMESTAMP |
getTIMESTAMP(int columnId)
Get column columnId as a TIMESTAMP Object |
java.sql.Timestamp |
getTimestamp(java.lang.String theColumnName)
Get column columnId as a java.sql.Timestamp |
oracle.sql.TIMESTAMP |
getTIMESTAMP(java.lang.String theColumnName)
Get column columnId as a oracle.sql.TIMESTAMP Object |
oracle.sql.TIMESTAMPLTZ |
getTIMESTAMPLTZ(int columnId)
Get column columnId as a TIMESTAMPLTZ Object |
oracle.sql.TIMESTAMPLTZ |
getTIMESTAMPLTZ(java.lang.String theColumnName)
Get column columnId as a oracle.sql.TIMESTAMPLTZ Object |
oracle.sql.TIMESTAMPTZ |
getTIMESTAMPTZ(int columnId)
Get column columnId as a TIMESTAMPTZ Object |
oracle.sql.TIMESTAMPTZ |
getTIMESTAMPTZ(java.lang.String theColumnName)
Get column columnId as a oracle.sql.TIMESTAMPTZ Object |
WriteableRowSet |
getWriteableRowSet()
|
boolean |
hasExpired()
Set how long the result will remain up to date. |
boolean |
hitMemLimit()
Identify when we had to stop adding rows to the ResultSet because we ran out of memory. |
boolean |
hitRowLimit()
Identify when we had to stop adding rows to the ResultSet because we reached the limit on the number of rows that are to be stored. |
boolean |
isNull(int columnId)
Return true if the column is null. |
boolean |
isNull(java.lang.String theColumnName)
Return true if the column is null. |
boolean |
last()
Move to last row of the RowSet. |
boolean |
nextRow()
Move to next row of the RowSet. |
boolean |
prevRow()
Move to previous row of the RowSet. |
boolean |
setCurrentRowNumber(int newCurrentRowNumber)
Move to a specific row of the RowSet. |
void |
setExpireDate(long theExpireDate)
Set how long the result will remain up to date. |
void |
setNumberFormat(java.text.NumberFormat newNumberFormat)
Change the way Numbers are converted to Strings |
void |
setTempFileSuffix(java.lang.String tempFileSuffix)
Set the suffix used for generating temporary files |
void |
setTimestampFormat(java.lang.String newTimestampFormat)
Change the way Timestamps are converted to Strings |
int |
size()
Return the number of rows |
java.lang.String |
toString()
Return a String representation of the start of the row set |
int |
width()
Return the number of columns |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public ReadOnlyRowSet(java.lang.Object[] theData,
java.lang.String[] columnNames,
java.lang.String[] columnOracleDatatypeNames,
int[] underlyingOracleDatatypes,
int[] columnJavaDatatypes,
long[] columnLengths,
int[] columnDecimalPlaces,
LogInterface theLog,
java.io.File downloadedFileDir,
boolean keepFiles)
Object[] - theData An array of Object that contains another array of
Object. The inner arrays are all of the the same length and map to a row of
columns.String[] - columnNamesString[] - columnOracleDatatypesint[] - underlyingOracleDatatypesint[] - columnJavaDatatypesLogInterface - theLogFile - downloadedFileDir A directory to keep files containing clobs
and blobs
public ReadOnlyRowSet(java.sql.ResultSet theResultSet,
java.lang.String theQuery,
int maxRows,
LogInterface theLog)
throws CSException
ResultSet - theResultSetString - theQueryint - maxRowsLogInterface - theLog
public ReadOnlyRowSet(java.sql.ResultSet theResultSet,
java.lang.String theQuery,
int maxRows,
LogInterface theLog,
java.io.File downloadedFileDir,
boolean keepFiles,
java.lang.String tempFilePrefix,
java.lang.String tempFileSuffix)
throws CSException
ResultSet - theResultSetString - theQueryint - maxRows Maximum number of rows that will be retrieved. The JDBC driver will
stop returning rows after about 30,000.LogInterface - theLogFile - A directory where downloaded CLOBS and BLOBS will be stored.boolean - keepFiles Whether generated files are kept or deleted when the JVM exitsString - tempFilePrefix Prefix for generated temporary files.String - tempFileSuffix Suffix for generated temporary files.
public ReadOnlyRowSet(java.sql.ResultSet theResultSet,
java.lang.String theQuery,
int maxRows,
LogInterface theLog,
java.io.File downloadedFileDir,
boolean keepFiles,
java.lang.String tempFilePrefix,
java.lang.String tempFileSuffix,
boolean keepLobs)
throws CSException
ResultSet - theResultSetString - theQueryint - maxRows Maximum number of rows that will be retrieved. The JDBC driver will
stop returning rows after about 30,000.LogInterface - theLogFile - A directory where downloaded CLOBS and BLOBS will be stored.boolean - keepFiles Whether generated files are kept or deleted when the JVM exitsString - tempFilePrefix Prefix for generated temporary files.String - tempFileSuffix Suffix for generated temporary files.boolean - keepLobs Whether lobs suchs as CLOBS and BLOBS are turned into Files on retrieval
public ReadOnlyRowSet(java.sql.ResultSet theResultSet,
java.lang.String theQuery,
int maxRows,
LogInterface theLog,
java.io.File downloadedFileDir,
boolean keepFiles,
java.lang.String tempFilePrefix,
java.lang.String tempFileSuffix,
boolean keepLobs,
boolean useByteArraysForLongsAndLOBS)
throws CSException
ResultSet - theResultSetString - theQueryint - maxRows Maximum number of rows that will be retrieved. The JDBC driver will
stop returning rows after about 30,000.LogInterface - theLogFile - A directory where downloaded CLOBS and BLOBS will be stored.boolean - keepFiles Whether generated files are kept or deleted when the JVM exitsString - tempFilePrefix Prefix for generated temporary files.String - tempFileSuffix Suffix for generated temporary files.boolean - keepLobs Whether lobs suchs as CLOBS and BLOBS are turned into Files on retrieval| Method Detail |
public int getColumnId(java.lang.String theColumnName)
String - theColumnName The name of the column whose id you are looking for.
public java.lang.String getColumnName(int theColumnId)
throws CSInvalidColumnIdException
int - theColumnId The id of the column whose name you are looking for.public int getCurrentRowNumber()
public int size()
public int width()
public boolean hitRowLimit()
public boolean hitMemLimit()
public boolean setCurrentRowNumber(int newCurrentRowNumber)
int - newCurrentRowNumber the new row number.public boolean nextRow()
public boolean prevRow()
public boolean first()
public boolean last()
public java.sql.Date getDate(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public java.sql.Date getDate(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId the ID of the column
public java.sql.Timestamp getTimestamp(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public java.sql.Timestamp getTimestamp(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - theColumnId The id of the column
public boolean isNull(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException
String - theColumnName The name of the column
public boolean isNull(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException
int - columnId The column Id
public java.lang.Boolean getBooleanObj(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public java.lang.Boolean getBooleanObj(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public oracle.sql.TIMESTAMP getTIMESTAMP(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public oracle.sql.TIMESTAMP getTIMESTAMP(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public oracle.sql.TIMESTAMPTZ getTIMESTAMPTZ(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public oracle.sql.TIMESTAMPTZ getTIMESTAMPTZ(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public oracle.sql.TIMESTAMPLTZ getTIMESTAMPLTZ(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public oracle.sql.TIMESTAMPLTZ getTIMESTAMPLTZ(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public boolean getBoolean(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
String - theColumnName The name of the column
public boolean getBoolean(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
int - columnId The number of the column.
public java.lang.Byte getByteObj(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public java.lang.Byte getByteObj(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public byte getByte(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
String - theColumnName The name of the column
public byte getByte(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
int - columnId The number of the column.
public java.lang.Short getShortObj(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public java.lang.Short getShortObj(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public short getShort(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
String - theColumnName The name of the column
public short getShort(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
int - columnId The number of the column.
public java.lang.Integer getIntegerObj(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public java.lang.Integer getIntegerObj(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public int getInt(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
String - theColumnName The name of the column
public int getInt(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
int - columnId The number of the column.
public java.lang.Long getLongObj(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public java.lang.Long getLongObj(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public long getLong(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
String - theColumnName The name of the column
public long getLong(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
int - columnId The number of the column.
public java.lang.Float getFloatObj(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public java.lang.Float getFloatObj(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public float getFloat(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
String - theColumnName The name of the column
public float getFloat(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
int - columnId The number of the column.
public java.lang.Double getDoubleObj(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public java.lang.Double getDoubleObj(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public double getDouble(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
String - theColumnName The name of the column
public double getDouble(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSAttemptToGetNullException
int - columnId The number of the column.
public java.math.BigDecimal getBigDecimal(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public java.math.BigDecimal getBigDecimal(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public java.lang.String getString(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSUnsupportedDatatypeException
String - theColumnName The name of the column
public java.lang.String getString(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSUnsupportedDatatypeException
int - columnId The number of the column.
public char[] getCharArray(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSUnsupportedDatatypeException
String - theColumnName The name of the column
public char[] getCharArray(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSUnsupportedDatatypeException
int - columnId The number of the column.
public byte[] getByteArray(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSUnsupportedDatatypeException
String - theColumnName The name of the column
public byte[] getByteArray(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSUnsupportedDatatypeException
int - columnId The number of the column.
public java.lang.Object getObject(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSUnsupportedDatatypeException
String - the name of the column.
public java.lang.Object getObject(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSUnsupportedDatatypeException
int - columnId The number of the column.
public oracle.sql.OPAQUE getOpaque(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSUnsupportedDatatypeException
String - the name of the column.
public oracle.sql.OPAQUE getOpaque(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException,
CSUnsupportedDatatypeException
int - columnId The number of the column.
public java.lang.String getRowAsString(java.lang.String delimiter,
java.lang.String unprintableFieldMessage)
throws CSNoDataInRowSetException
String - delimiter a delimiter such as ":"String - unprintableFieldMessage a label such as "unprintable"public java.lang.String getColumnNamesAsString(java.lang.String delimiter)
String - delimiter a delimiter such as ":"public java.lang.String[] getColumnNamesAsStringArray()
public java.lang.String[] getColumnOracleDatatypeNames()
public boolean checkColumnName(java.lang.String theColumnName)
String - theColumnName The name of a supposedly valid columnpublic void setTimestampFormat(java.lang.String newTimestampFormat)
String - newTimestampFormatpublic void setNumberFormat(java.text.NumberFormat newNumberFormat)
NumberFormat - newNumberFormat
public java.lang.Object[] getCurrentRow()
throws CSNoDataInRowSetException
public oracle.sql.BFILE getBFILE(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public oracle.sql.BFILE getBFILE(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public oracle.sql.BLOB getBLOB(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public oracle.sql.BLOB getBLOB(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public oracle.sql.CLOB getCLOB(java.lang.String theColumnName)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the column
public oracle.sql.CLOB getCLOB(int columnId)
throws CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.
public java.io.File getFile(java.lang.String theColumnName,
java.io.File outputFile)
throws CSException,
CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
String - theColumnName The name of the columnFile - tempFile The File you want the data stored in. If this parameter is null you get the
temporary file that was created when we unloaded the result set.Object[] - tempRow The current Row.
public java.io.File getFile(int columnId,
java.io.File outputFile)
throws CSException,
CSInvalidColumnIdException,
CSNoDataInRowSetException,
CSDBInvalidDatatypeCastException
int - columnId The number of the column.File - tempFile The File you want the data stored in. If this parameter is null you get the
temporary file that was created when we unloaded the result set.Object[] - tempRow The current Row.public void setExpireDate(long theExpireDate)
long - theExpireDate An arbitrary expiration date expressed in 1000'ths of a second from nowpublic java.util.Date getExpireDate()
java.util.Date - theExpireDate An arbitrary expiration datepublic boolean hasExpired()
java.util.Date - theExpireDate An arbitrary expiration datepublic void setTempFileSuffix(java.lang.String tempFileSuffix)
public java.lang.String getTempFileSuffix()
public WriteableRowSet getWriteableRowSet()
public java.lang.String toString()
public int deleteGeneratedFiles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||