org.axiondb.types
Class FileOffsetLobSource
java.lang.Object
org.axiondb.types.FileOffsetLobSource
- All Implemented Interfaces:
- LobSource
public class FileOffsetLobSource
- extends java.lang.Object
- implements LobSource
A LobSource
that's backed by a single file, storing
each LOB as an offset and length.
- Version:
- $Revision: 1.4 $ $Date: 2005/04/13 00:42:58 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileOffsetLobSource
public FileOffsetLobSource(BufferedDataInputStream in,
long offset,
int length)
length
public long length()
throws AxionException
- Specified by:
length
in interface LobSource
- Throws:
AxionException
truncate
public void truncate(long length)
throws AxionException
- Specified by:
truncate
in interface LobSource
- Throws:
AxionException
getInputStream
public java.io.InputStream getInputStream()
throws AxionException
- Specified by:
getInputStream
in interface LobSource
- Throws:
AxionException
setOutputStream
public java.io.OutputStream setOutputStream(long pos)
throws AxionException
- Specified by:
setOutputStream
in interface LobSource
- Throws:
AxionException