railo.runtime.type.sql
Class BlobImpl
java.lang.Object
railo.runtime.type.sql.BlobImpl
- All Implemented Interfaces:
- Serializable, Blob
public final class BlobImpl
- extends Object
- implements Blob, Serializable
Implementation of the Interface java.sql.Blob
- See Also:
- Serialized Form
length
public long length()
throws SQLException
- Specified by:
length
in interface Blob
- Throws:
SQLException
- See Also:
Blob.length()
getBytes
public byte[] getBytes(long pos,
int length)
throws SQLException
- Specified by:
getBytes
in interface Blob
- Throws:
SQLException
- See Also:
Blob.getBytes(long, int)
getBinaryStream
public InputStream getBinaryStream()
throws SQLException
- Specified by:
getBinaryStream
in interface Blob
- Throws:
SQLException
- See Also:
Blob.getBinaryStream()
getBinaryStream
public InputStream getBinaryStream(long pos,
long length)
- Specified by:
getBinaryStream
in interface Blob
- See Also:
Blob.getBinaryStream(long, long)
position
public long position(byte[] pattern,
long start)
throws SQLException
- Specified by:
position
in interface Blob
- Throws:
SQLException
- See Also:
Blob.position(byte[], long)
position
public long position(Blob pattern,
long start)
throws SQLException
- Specified by:
position
in interface Blob
- Throws:
SQLException
- See Also:
Blob.position(java.sql.Blob, long)
setBytes
public int setBytes(long pos,
byte[] bytes)
throws SQLException
- Specified by:
setBytes
in interface Blob
- Throws:
SQLException
- See Also:
Blob.setBytes(long, byte[])
setBytes
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws SQLException
- Specified by:
setBytes
in interface Blob
- Throws:
SQLException
- See Also:
Blob.setBytes(long, byte[], int, int)
setBinaryStream
public OutputStream setBinaryStream(long pos)
throws SQLException
- Specified by:
setBinaryStream
in interface Blob
- Throws:
SQLException
- See Also:
Blob.setBinaryStream(long)
truncate
public void truncate(long len)
throws SQLException
- Specified by:
truncate
in interface Blob
- Throws:
SQLException
- See Also:
Blob.truncate(long)
toBlob
public static Blob toBlob(Object value)
throws PageException
- Throws:
PageException
free
public void free()
- Specified by:
free
in interface Blob
Copyright © 2012 Railo