|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.maachang.dbm.engine.MKey
public class MKey
Key管理.
| コンストラクタの概要 | |
|---|---|
MKey(MHash hash,
java.lang.String filename)
コンストラクタ. |
|
| メソッドの概要 | |
|---|---|
void |
destroy()
オブジェクト破棄. |
void |
flush()
オブジェクト更新. |
int[] |
get(int code,
byte[] key)
データ取得. |
java.lang.String |
getFileName()
ファイル名を取得. |
MHash |
getMHash()
MHashオブジェクトを取得. |
boolean |
isUse()
このオブジェクトが有効かチェック. |
NextKey |
nextKey(NextKey next)
指定項番のキー内容を取得. |
int[] |
put(int code,
byte[] key,
int fileNo,
int filePos)
データ設定. |
int[] |
remove(int code,
byte[] key)
データ削除. |
int |
size()
現在のデータ数を取得. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public MKey(MHash hash,
java.lang.String filename)
throws java.lang.Exception
hash - Hash管理オブジェクトを設定します.filename - 対象のファイル名を設定します.
java.lang.Exception - 例外.| メソッドの詳細 |
|---|
public void destroy()
public void flush()
throws java.lang.Exception
java.lang.Exception - 例外.
public int[] put(int code,
byte[] key,
int fileNo,
int filePos)
throws java.lang.Exception
code - Hash値を設定します.key - 対象のKeyを設定します.fileNo - 対象のファイルNoを設定します.filePos - 対象のファイルポジションを設定します.
java.lang.Exception - 例外.
public int[] remove(int code,
byte[] key)
throws java.lang.Exception
code - Hash値を設定します.key - 対象のKeyを設定します.
java.lang.Exception - 例外.
public int[] get(int code,
byte[] key)
throws java.lang.Exception
code - Hash値を設定します.key - 対象のKeyを設定します.
java.lang.Exception - 例外.
public NextKey nextKey(NextKey next)
throws java.lang.Exception
next - 取得対象のキー内容を設定します.java.lang.Exception - 例外.public java.lang.String getFileName()
public int size()
public boolean isUse()
public MHash getMHash()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||