org.seasar.extension.jdbc.dialect
クラス PostgreDialect.BlobImpl
java.lang.Object
org.seasar.extension.jdbc.dialect.PostgreDialect.BlobImpl
- すべての実装されたインタフェース:
- Blob
- 含まれているクラス:
- PostgreDialect
public static class PostgreDialect.BlobImpl
- extends Object
- implements Blob
Blob
の簡易実装クラスです。
- 作成者:
- koichik
フィールドの概要 |
protected byte[] |
bytes
バイト列 |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bytes
protected byte[] bytes
- バイト列
PostgreDialect.BlobImpl
public PostgreDialect.BlobImpl(byte[] bytes)
- インスタンスを構築します。
- パラメータ:
bytes
- バイト列
getBinaryStream
public InputStream getBinaryStream()
throws SQLException
- 定義:
- インタフェース
Blob
内の getBinaryStream
- 例外:
SQLException
getBytes
public byte[] getBytes(long pos,
int length)
throws SQLException
- 定義:
- インタフェース
Blob
内の getBytes
- 例外:
SQLException
length
public long length()
throws SQLException
- 定義:
- インタフェース
Blob
内の length
- 例外:
SQLException
position
public long position(Blob pattern,
long start)
throws SQLException
- 定義:
- インタフェース
Blob
内の position
- 例外:
SQLException
position
public long position(byte[] pattern,
long start)
throws SQLException
- 定義:
- インタフェース
Blob
内の position
- 例外:
SQLException
setBinaryStream
public OutputStream setBinaryStream(long pos)
throws SQLException
- 定義:
- インタフェース
Blob
内の setBinaryStream
- 例外:
SQLException
setBytes
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws SQLException
- 定義:
- インタフェース
Blob
内の setBytes
- 例外:
SQLException
setBytes
public int setBytes(long pos,
byte[] bytes)
throws SQLException
- 定義:
- インタフェース
Blob
内の setBytes
- 例外:
SQLException
truncate
public void truncate(long len)
throws SQLException
- 定義:
- インタフェース
Blob
内の truncate
- 例外:
SQLException
Copyright ? 2004-2007 The Seasar Foundation. All Rights Reserved.