| java.lang.Object java.io.InputStream org.apache.derby.impl.drda.EXTDTAInputStream
EXTDTAInputStream | class EXTDTAInputStream extends InputStream (Code) | | author: marsden author: EXTDTAObjectHolder provides Externalized Large Object representation that author: does not hold locks until the end of the transaction (DERBY-255) author: It serves as a holder for lob data and is only valid as long as the original author: result set from which it came is on the same row. |
getEXTDTAStream | public static EXTDTAInputStream getEXTDTAStream(ResultSet rs, int column, int drdaType) throws SQLException(Code) | | Retrieve stream from the ResultSet and column specified. Create an
input stream for the large object being retrieved. Do not hold
locks until end of transaction. DERBY-255.
See DDMWriter.writeScalarStream
Parameters: rs - result set from which to retrieve the lob Parameters: column - column number Parameters: drdaType - FD:OCA type of object one ofDRDAConstants.DRDA_TYPE_NLOBBYTESDRDAConstants.DRDA_TYPE_LOBBYTESDRDAConstants.DRDA_TYPE_NLOBCMIXEDDRDAConstants.DRDA_TYPE_LOBCMIXED null if the value is null or a new EXTDTAInputStream corresponding to rs.getBinaryStream(column) value and associated length throws: SQLException - |
isEmptyStream | protected boolean isEmptyStream()(Code) | | |
|
|