Package org.eclipse.emf.cdo.common.lob
Interface CDOLobHandler
-
- All Known Subinterfaces:
CDOServerImporter.Handler,CDOServerImporter.Handler2
public interface CDOLobHandlerA callback interface for handling large objects.- Since:
- 4.0
- Author:
- Eike Stepper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.OutputStreamhandleBlob(byte[] id, long size)A callback method for handling abinary large object.java.io.WriterhandleClob(byte[] id, long size)A callback method for handling acharacter large object.
-
-
-
Method Detail
-
handleBlob
java.io.OutputStream handleBlob(byte[] id, long size) throws java.io.IOExceptionA callback method for handling abinary large object. TheIDandsizeof the blob are passed by the caller. The implementor may return astreamthat the blob content will be written to by the caller of this method, ornullto indicate that the content is not needed.- Throws:
java.io.IOException
-
handleClob
java.io.Writer handleClob(byte[] id, long size) throws java.io.IOExceptionA callback method for handling acharacter large object. TheIDandsizeof the blob are passed by the caller. The implementor may return awriterthat the blob content will be written to by the caller of this method, ornullto indicate that the content is not needed.- Throws:
java.io.IOException
-
-