org.xBaseJ.indexes
Class Node
java.lang.Object
org.xBaseJ.indexes.Node
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- MNode
- public class Node
- extends Object
- implements Cloneable
Constructor Summary |
Node(RandomAccessFile file,
int keys_in,
int key_size,
char keyType,
int rn,
boolean iBranch)
|
nfile
public RandomAccessFile nfile
pos
public int pos
keys_in_a_Node
public int keys_in_a_Node
keys_in_this_Node
public int keys_in_this_Node
key_expression_size
public int key_expression_size
record_number
public int record_number
keyType
public char keyType
key_buffer
public byte[] key_buffer
lower_level
public int[] lower_level
key_record_number
public int[] key_record_number
key_expression
public NodeKey[] key_expression
prev
public Node prev
next
public Node next
branch
public boolean branch
Node
public Node(RandomAccessFile file,
int keys_in,
int key_size,
char keyType,
int rn,
boolean iBranch)
clone
public Object clone()
set_pos
public void set_pos(int ipos)
set_key_expression_size
public void set_key_expression_size(int l)
pos_up
public int pos_up()
set_record_number
public void set_record_number(int r)
throws xBaseJException
- Throws:
xBaseJException
get_record_number
public int get_record_number()
pos_down
public int pos_down()
get_pos
public int get_pos()
set_key_record_number
public void set_key_record_number(int r)
get_key_record_number
public int get_key_record_number()
set_lower_level
public void set_lower_level(int level)
get_lower_level
public int get_lower_level()
set_keys_in_this_Node
public void set_keys_in_this_Node(int c)
get_keys_in_this_Node
public int get_keys_in_this_Node()
set_key_value
public void set_key_value(NodeKey key)
set_key_value
public void set_key_value(String key)
set_key_value
public void set_key_value(double key)
get_key_value
public NodeKey get_key_value()
read
public void read()
throws IOException
- Throws:
IOException
write
public void write()
throws IOException,
xBaseJException
- Throws:
IOException
xBaseJException
set_next
public void set_next(Node nxt)
set_prev
public void set_prev(Node prv)
get_next
public Node get_next()
get_prev
public Node get_prev()
set_prev_page
public void set_prev_page(int t)
throws xBaseJException
- Throws:
xBaseJException
isBranch
public boolean isBranch()
Copyright © 1997-2007 American Coders Ltd. All Rights Reserved.