org.axiondb.jdbc

Interface AxionBlob

public interface AxionBlob extends Blob

The JDBC Blob interface, including the JDBC 2 writing methods.

Version: $Revision: 1.4 $ $Date: 2002/12/16 23:34:55 $

Author: Rodney Waldhoff

Method Summary
InputStreamgetBinaryStream()
byte[]getBytes(long pos, int length)
longlength()
longposition(Blob pattern, long start)
longposition(byte[] pattern, long start)
OutputStreamsetBinaryStream(long pos)
intsetBytes(long pos, byte[] bytes)
intsetBytes(long pos, byte[] bytes, int offset, int len)
voidtruncate(long len)

Method Detail

getBinaryStream

public InputStream getBinaryStream()

getBytes

public byte[] getBytes(long pos, int length)

length

public long length()

position

public long position(Blob pattern, long start)

position

public long position(byte[] pattern, long start)

setBinaryStream

public OutputStream setBinaryStream(long pos)

setBytes

public int setBytes(long pos, byte[] bytes)

setBytes

public int setBytes(long pos, byte[] bytes, int offset, int len)

truncate

public void truncate(long len)