Package org.eclipse.emf.cdo.common.lob
Interface CDOLobHandler
- All Known Subinterfaces:
CDOServerImporter.Handler
,CDOServerImporter.Handler2
public interface CDOLobHandler
A callback interface for handling large objects.
- Since:
- 4.0
- Author:
- Eike Stepper
-
Method Summary
Modifier and TypeMethodDescriptionhandleBlob
(byte[] id, long size) A callback method for handling abinary large object
.handleClob
(byte[] id, long size) A callback method for handling acharacter large object
.
-
Method Details
-
handleBlob
A callback method for handling abinary large object
. TheID
andsize
of the blob are passed by the caller. The implementor may return astream
that the blob content will be written to by the caller of this method, ornull
to indicate that the content is not needed.- Throws:
IOException
-
handleClob
A callback method for handling acharacter large object
. TheID
andsize
of the blob are passed by the caller. The implementor may return awriter
that the blob content will be written to by the caller of this method, ornull
to indicate that the content is not needed.- Throws:
IOException
-