|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.maachang.dbm.engine.MValue
public class MValue
Value管理オブジェクト.
コンストラクタの概要 | |
---|---|
MValue(MSctArray sectors)
コンストラクタ. |
メソッドの概要 | |
---|---|
void |
addLast(MKeyChild ch,
byte[] binary,
int off,
int length)
最後のセクタにデータを追加. |
void |
destroy()
オブジェクト破棄. |
void |
flush()
オブジェクト更新. |
byte[] |
get(int fileNo,
int filePos,
int length)
指定データを取得. |
MSctArray |
getArray()
セクター管理オブジェクトを取得. |
int |
getLength(int fileNo,
int filePos)
指定データ長を取得. |
boolean |
isUse()
このオブジェクトが有効かチェック. |
int[] |
put(byte[] binary)
新しいデータを追加. |
int |
read(MKeyChild ch,
byte[] binary,
int pos,
int off,
int length)
指定データを取得. |
void |
remove(int fileNo,
int filePos)
指定データを削除. |
int |
write(MKeyChild ch,
byte[] binary,
int pos,
int off,
int length)
指定データを書き込む. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public MValue(MSctArray sectors) throws java.lang.Exception
sectors
- 対象のセクターオブジェクトを設定します.
java.lang.Exception
- 例外.メソッドの詳細 |
---|
public void destroy()
public void flush() throws java.lang.Exception
java.lang.Exception
- 例外.public int[] put(byte[] binary) throws java.lang.Exception
binary
- 対象のバイナリを設定します.
java.lang.Exception
- 例外.public void remove(int fileNo, int filePos) throws java.lang.Exception
fileNo
- 対象のファイルNoを設定します.filePos
- 対象のファイル項番を設定します.
java.lang.Exception
- 例外.public byte[] get(int fileNo, int filePos, int length) throws java.lang.Exception
fileNo
- 対象のファイルNoを設定します.filePos
- 対象のファイル項番を設定します.length
- 対象のデータ長を設定します.
java.lang.Exception
- 例外.public int getLength(int fileNo, int filePos) throws java.lang.Exception
fileNo
- 対象のファイルNoを設定します.filePos
- 対象のファイル項番を設定します.
java.lang.Exception
- 例外.public void addLast(MKeyChild ch, byte[] binary, int off, int length) throws java.lang.Exception
ch
- 対象のキー子要素を設定します.binary
- 対象のバイナリを設定します.off
- 対象のオフセット値を設定します.length
- 対象のデータ長を設定します.
java.lang.Exception
- 例外.public int write(MKeyChild ch, byte[] binary, int pos, int off, int length) throws java.lang.Exception
ch
- 対象のキー子要素を設定します.binary
- 対象のバイナリを設定します.pos
- 対象のポジションを設定します.off
- 対象のオフセット値を設定します.length
- 対象のデータ長を設定します.
java.lang.Exception
- 例外.public int read(MKeyChild ch, byte[] binary, int pos, int off, int length) throws java.lang.Exception
ch
- 対象のキー子要素を設定します.binary
- 対象のバイナリを設定します.pos
- 対象のポジションを設定します.off
- 対象のオフセット値を設定します.length
- 対象のデータ長を設定します.
java.lang.Exception
- 例外.public MSctArray getArray()
public boolean isUse()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |