org.xBaseJ.indexes
Class MDX
java.lang.Object
org.xBaseJ.indexes.Index
org.xBaseJ.indexes.MDX
public class MDX
- extends Index
This class is courtesy of the xBaseJ project: http://xbasej.sourceforge.net/
Copyright 1997-2007 - American Coders, LTD - Raleigh NC USA
American Coders, Ltd
P. O. Box 97462
Raleigh, NC 27615 USA
1-919-846-2014
http://www.americancoders.com
- Author:
- Joe McVerry, American Coders Ltd.
| Fields inherited from class org.xBaseJ.indexes.Index |
activeKey, bytebuffer, channel, database, dosname, file, findAnyKey, findFirstMatchingKey, foundExact, foundMatchingKeyButNotRecord, key_definition, key_entry_size, key_length, key_per_Node, keyControl, keyNotFound, keyType, next_available, nfile, record, reserved_01, reserved_02, reserved_03, reserved_04, stringKey, top_Node, topNode, unique_key, workNode |
| Methods inherited from class org.xBaseJ.indexes.Index |
add_entry, build_key, buildKey, check_for_duplicates, compareKey, didFindFindExact, find_entry, find_entry, get_active_key, getKeyFields, getName, is_unique_key, position_at_first, position_at_last, set_active_key, set_key_definition, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MDX
public MDX(MDXFile ifile,
DBF iDBF,
short ipos)
throws xBaseJException,
IOException
- Throws:
xBaseJException
IOException
MDX
public MDX(String iname,
String NDXString,
DBF iDBF,
MDXFile ifile,
TagDescriptor inTagDesc,
short pos,
boolean unique)
throws xBaseJException,
IOException
- Throws:
xBaseJException
IOException
reIndex
public void reIndex()
throws xBaseJException,
IOException
- Specified by:
reIndex in class Index
- Throws:
xBaseJException
IOException
find_entry
public int find_entry(NodeKey findKey)
throws xBaseJException,
IOException
- Specified by:
find_entry in class Index
- Throws:
xBaseJException
IOException
find_entry
public int find_entry(NodeKey findKey,
int rec)
throws xBaseJException,
IOException
- Specified by:
find_entry in class Index
- Throws:
xBaseJException
IOException
find_entry
public int find_entry(NodeKey findKey,
MNode aNode,
int findrec)
throws xBaseJException,
IOException
- Throws:
xBaseJException
IOException
get_next_key
public int get_next_key()
throws xBaseJException,
IOException
- Specified by:
get_next_key in class Index
- Throws:
xBaseJException
IOException
get_prev_key
public int get_prev_key()
throws xBaseJException,
IOException
- Specified by:
get_prev_key in class Index
- Throws:
xBaseJException
IOException
add_entry
public int add_entry(NodeKey NDXkey,
int recno)
throws xBaseJException,
IOException
- Specified by:
add_entry in class Index
- Throws:
xBaseJException
IOException
del_entry
public void del_entry(Node inNode)
throws IOException,
xBaseJException
- Specified by:
del_entry in class Index
- Throws:
IOException
xBaseJException
Copyright © 2007-2011. All Rights Reserved.