org.hsqldb.result
Class ResultLob
- java.lang.Object
-
- org.hsqldb.result.Result
-
- org.hsqldb.result.ResultLob
-
public final class ResultLob extends Result
Sub-class of Result for communicating Blob and Clob operations.- Since:
- 1.9.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static interfaceResultLob.LobResultTypes
-
Field Summary
-
Fields inherited from class org.hsqldb.result.Result
emptyGeneratedResult, generatedMetaData, metaData, mode, navigator, parameterMetaData, queryTimeout, rsProperties, sessionAttributesMetaData, statement, updateCount, updateOneResult, updateZeroResult, valueData
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description longgetBlockLength()byte[]getByteArray()char[]getCharArray()java.io.InputStreamgetInputStream()longgetLobID()longgetOffset()java.io.ReadergetReader()intgetSubType()static ResultLobnewLob(java.io.DataInput dataInput, boolean readTerminate)static ResultLobnewLobCreateBlobRequest(long sessionID, long lobID, java.io.InputStream stream, long length)static ResultLobnewLobCreateBlobResponse(long id)static ResultLobnewLobCreateClobRequest(long sessionID, long lobID, java.io.Reader reader, long length)static ResultLobnewLobCreateClobResponse(long id)static ResultLobnewLobDuplicateRequest(long id)static ResultLobnewLobGetBytePatternPositionRequest(long id, byte[] pattern, long offset)static ResultLobnewLobGetBytePatternPositionRequest(long id, long otherId, long offset)static ResultLobnewLobGetBytesRequest(long id, long offset, int length)static ResultLobnewLobGetBytesResponse(long id, long offset, byte[] block)static ResultLobnewLobGetCharPatternPositionRequest(long id, char[] pattern, long offset)static ResultLobnewLobGetCharPatternPositionRequest(long id, long otherId, long offset)static ResultLobnewLobGetCharsRequest(long id, long offset, int length)static ResultLobnewLobGetCharsResponse(long id, long offset, char[] chars)static ResultLobnewLobGetLengthRequest(long id)static ResultLobnewLobGetRequest(long id, long offset, long length)static ResultLobnewLobGetTruncateLength(long id)static ResultLobnewLobSetBytesRequest(long id, long offset, byte[] block)static ResultLobnewLobSetCharsRequest(long id, long offset, char[] chars)static ResultLobnewLobSetResponse(long id, long length)static ResultLobnewLobTruncateRequest(long id, long offset)static ResultLobnewLobTruncateResponse(long id, long length)voidwrite(SessionInterface session, DataOutputStream dataOut, RowOutputInterface rowOut)voidwriteBody(SessionInterface session, DataOutputStream dataOut)-
Methods inherited from class org.hsqldb.result.Result
addBatchedPreparedExecuteRequest, addChainedResult, addLobResult, addWarnings, clearLobResults, getActionType, getChainedResult, getConnectionAttrType, getDatabaseId, getDatabaseName, getErrorCode, getException, getExecuteProperties, getFetchSize, getGeneratedResultMetaData, getGeneratedResultType, getLobCount, getLOBResult, getMainString, getNavigator, getParameterData, getResultId, getSessionAttributes, getSessionId, getSingleRowData, getStatement, getStatementID, getStatementType, getSubString, getType, getUnlinkChainedResult, getUpdateCount, getValueObject, getZoneString, hasGeneratedKeys, initialiseNavigator, isData, isError, isSimpleValue, isUpdateCount, isWarning, newBatchedExecuteRequest, newBatchedExecuteResponse, newCallResponse, newConnectionAcknowledgeResponse, newConnectionAttemptRequest, newDataHeadResult, newDataResult, newDataRowsResult, newDataRowsResult, newErrorResult, newErrorResult, newExecuteDirectRequest, newFreeStmtRequest, newGeneratedDataResult, newPreparedExecuteRequest, newPrepareResponse, newPrepareStatementRequest, newPSMResult, newPSMResult, newRequestDataResult, newResetSessionRequest, newResult, newResult, newResult, newResult, newSessionAttributesResult, newSetSavepointRequest, newSingleColumnResult, newSingleColumnResult, newSingleColumnStringResult, newUpdateCountResult, newUpdateCountResult, newUpdateResultRequest, newUpdateZeroResult, newWarningResult, readAdditionalResults, readLobResults, setActionType, setAsTransactionEndRequest, setBatchedPreparedExecuteRequest, setConnectionAttrType, setDatabaseId, setFetchSize, setMainString, setMaxRows, setNavigator, setPreparedExecuteProperties, setPreparedResultUpdateProperties, setPrepareOrExecuteProperties, setResultId, setResultType, setSession, setSessionId, setStatement, setStatementID, setStatementType, setUpdateCount, setValueObject
-
-
-
-
Method Detail
-
newLobGetLengthRequest
public static ResultLob newLobGetLengthRequest(long id)
-
newLobGetBytesRequest
public static ResultLob newLobGetBytesRequest(long id, long offset, int length)
-
newLobGetCharsRequest
public static ResultLob newLobGetCharsRequest(long id, long offset, int length)
-
newLobSetBytesRequest
public static ResultLob newLobSetBytesRequest(long id, long offset, byte[] block)
-
newLobSetCharsRequest
public static ResultLob newLobSetCharsRequest(long id, long offset, char[] chars)
-
newLobTruncateRequest
public static ResultLob newLobTruncateRequest(long id, long offset)
-
newLobGetBytesResponse
public static ResultLob newLobGetBytesResponse(long id, long offset, byte[] block)
-
newLobGetCharsResponse
public static ResultLob newLobGetCharsResponse(long id, long offset, char[] chars)
-
newLobSetResponse
public static ResultLob newLobSetResponse(long id, long length)
-
newLobGetBytePatternPositionRequest
public static ResultLob newLobGetBytePatternPositionRequest(long id, byte[] pattern, long offset)
-
newLobGetBytePatternPositionRequest
public static ResultLob newLobGetBytePatternPositionRequest(long id, long otherId, long offset)
-
newLobGetCharPatternPositionRequest
public static ResultLob newLobGetCharPatternPositionRequest(long id, char[] pattern, long offset)
-
newLobGetCharPatternPositionRequest
public static ResultLob newLobGetCharPatternPositionRequest(long id, long otherId, long offset)
-
newLobCreateBlobRequest
public static ResultLob newLobCreateBlobRequest(long sessionID, long lobID, java.io.InputStream stream, long length)
-
newLobCreateClobRequest
public static ResultLob newLobCreateClobRequest(long sessionID, long lobID, java.io.Reader reader, long length)
-
newLobGetTruncateLength
public static ResultLob newLobGetTruncateLength(long id)
-
newLobCreateBlobResponse
public static ResultLob newLobCreateBlobResponse(long id)
-
newLobCreateClobResponse
public static ResultLob newLobCreateClobResponse(long id)
-
newLobTruncateResponse
public static ResultLob newLobTruncateResponse(long id, long length)
-
newLobGetRequest
public static ResultLob newLobGetRequest(long id, long offset, long length)
-
newLobDuplicateRequest
public static ResultLob newLobDuplicateRequest(long id)
-
newLob
public static ResultLob newLob(java.io.DataInput dataInput, boolean readTerminate) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public void write(SessionInterface session, DataOutputStream dataOut, RowOutputInterface rowOut) throws java.io.IOException
-
writeBody
public void writeBody(SessionInterface session, DataOutputStream dataOut) throws java.io.IOException
- Throws:
java.io.IOException
-
getLobID
public long getLobID()
-
getSubType
public int getSubType()
-
getOffset
public long getOffset()
-
getBlockLength
public long getBlockLength()
-
getByteArray
public byte[] getByteArray()
-
getCharArray
public char[] getCharArray()
-
getInputStream
public java.io.InputStream getInputStream()
-
getReader
public java.io.Reader getReader()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG