com.legacyj.isam
Class ISAM

java.lang.Object
  |
  +--com.legacyj.isam.ISAM
All Implemented Interfaces:
ISAMConstants

public class ISAM
extends java.lang.Object
implements ISAMConstants

ISAM is the low-level bridge from Java to native ISAM functionality.

This is the only class which requires native access to the LegacyJ ISAM native library, isamj (isamj.dll, libisamj.so or libisamj.sl). The LegacyJ isamj library in turns requires a native shared library to contain the actual ISAM functionality, such as D-ISAM.

The ISAM functionality will be searched for in the following search order: Contents of environment variable ISAMJ.LIBRARY Contents of environment variable isamj.library Contents of environment variable ISAMJ Contents of environment variable isamj

Windows: wrap32.dll winisam.dll

Other: libisam.so libd96.so libisam.sl libd96.sl

The native library is loaded the first time it is required by a function, not the first access of the class.


Field Summary
static java.lang.String[] is_errlist
          Human Readable Error Text (starting at ISERRBASE)
static int is_nerr
          Low-Level is_nerr
static java.lang.String iscopyright
          Copyright
static int iserrio
          Low-Level iserrio
static int iserrno
          Low-Level iserrno
static int isreclen
          Low-Level isreclen
static long isrecnum
          Low-Level isrecnum
static char isstat1
          Low-Level isstat1
static char isstat2
          Low-Level isstat2
static char isstat3
          Low-Level isstat3
static char isstat4
          Low-Level isstat4
static java.lang.String isversnumber
          Version Number of ISAMJ in more traditional ISAM equivalent form.
static boolean LITTLE_ENDIAN
           
static int major_version
          Version Number of ISAMJ
static int minor_version
           

 

Fields inherited from interface com.legacyj.isam.ISAMConstants
AUDGETNAME, AUDHEADSIZE, AUDINFO, AUDSETNAME, AUDSTART, AUDSTOP, BYTEMASK, BYTESHFT, CHARSIZE, CHARTYPE, COLLATE1, COLLATE2, COLLATE3, COLLATE4, COLLATE5, COLLATE6, COLLATE7, COMPRESS, COMPRESS_O, DCOMPRESS, DECIMALTYPE, DOUBLESIZE, DOUBLETYPE, EARCHIVE, EAUDIT, EB_ARCH, EB_BUSY, EB_CHKNLOG, EB_DUPBS, EB_FULL, EB_IUBS, EB_NOBS, EB_NOCOL, EB_NOOPEN, EB_NOSUBSYS, EB_PAGE, EB_PSIZE, EB_SFULL, EB_STAMP, EBADARG, EBADCOLL, EBADFILE, EBADFORMAT, EBADKEY, EBADLOG, EBADMEM, EBADRMSG, EBADROWID, EBADSHMEM, EBADVCLEN, ECOL_SPEC, EDEADDEM, EDEADLOCK, EDEADTIME, EDEMO, EDISKMODE, EDUPL, EENDFILE, EEXPIRED, EFLOCKED, EFNAME, EGBLSECT, EINTERUPT, EKEXISTS, EKLOCKED, ELOCKED, ELOGOPEN, ELOGREAD, ELOGWRIT, ENEMPTY, ENLS_LANG, ENOBEGIN, ENOCLIENTS, ENOCONNECT, ENOCURR, ENODBS, ENOEXTN, ENOFREE, ENOLOCKS, ENOLOG, ENOLOK, ENOMANU, ENOMIRROR, ENONFS, ENOPARTN, ENOPRIM, ENOREC, ENOSHMEM, ENOSMI, ENOTEXCL, ENOTOPEN, ENOTRANS, EOYCHUNK, EOYDBS, EOYLOG, EOYPARTN, EOYPPAGE, EPMCHKBAD, EPRIMKEY, EROWSIZE, ES_ICONFIG, ES_IILLVAL, ES_ILLBUFF, ES_ILLFILE, ES_ILLLCKS, ES_ILLUSRS, ES_PROCDEFS, ES_SEMCTL, ES_SEMGET, ES_SHMCTL, ES_SHMGET, ETOOMANY, EUSER, FLOATSIZE, FLOATTYPE, IC_BADDATA, IC_BADMAGIC, IC_COUNT, IC_DATFREE, IC_DATREAD, IC_IDXREAD, IC_MATCH, IC_ORDER, ICLIENT, INTSIZE, INTTYPE, INVALID_ARGS, IO_AUD, IO_CREA, IO_DAT, IO_IDX, IO_IOCTL, IO_LCK, IO_LOCK, IO_LOG, IO_LOK, IO_OPEN, IO_READ, IO_SEEK, IO_SEM, IO_WRIT, IS_CREA, IS_IOCTL, IS_LOCK, IS_OPEN, IS_READ, IS_SEEK, IS_WRIT, ISADMIN, ISALL, ISAUDIT, ISAUTOLOCK, ISCISAM, ISCLOSED, ISCLUSTER, ISCURR, ISCUSTOM, ISDATAVOID, ISDECLARE, ISDESC, ISDUPLEN, ISDUPS, ISDYNAMIC, ISEQUAL, ISERRBASE, ISEXCLLOCK, ISEXCLLOCK_O, ISFIRST, ISFIXLEN, ISGREAT, ISGTEQ, ISHUGE, ISIDXBLK, ISINOUT, ISINPUT, ISIREADLOCK, ISISHARELOCK, ISIWRITELOCK, ISIZE, ISKEEPLOCK, ISKEEPLOCK_CISAM, ISLAST, ISLCKW, ISLKDEAD, ISLOCK, ISLOCKING, ISLOGGING, ISLONGID, ISLTYPMASK, ISMANULOCK, ISMASKED, ISMAXBUF, ISMAXIDX, ISMAXKEY, ISMAXOBJPC, ISMAXPARTS, ISMAXPARTS_O, ISNEXT, ISNOCARE, ISNOCASE, ISNOCHANGE, ISNODUPS, ISNOLOG, ISNONSPANNING, ISNORECOVER, ISNOWAIT, ISNOWAIT_O, ISOUTPUT, ISPREV, ISRDONLY, ISREADLOCK, ISRISHARE, ISRIWRITE, ISSHARELOCK, ISSIWRITE, ISSKIPLOCK, ISSKIPLOCK_C, ISSKIPLOCK_CISAM, ISSPANNING, ISSWRITE, ISSYNCWR, ISTRANS, ISUSERTYPESTART, ISVARCMP, ISVARIABLE, ISVARLEN, ISVARLEN_X, ISWAIT, ISWAIT_O, LCOMPRESS, LONGSIZE, LONGTYPE, MAXKEYSIZE, MAXKEYSIZE_O, MAXTYPE, MAXTYPE_X, MINTSIZE, MINTTYPE, MLONGSIZE, MLONGTYPE, NO_SUCH_FUNCTION, NPARTS, NULLKEY, STRINGSIZE, STRINGTYPE, SUCCESS, TCOMPRESS, TCOMPRESS_C, TCOMPRESS_O, TNULL, TYPEMASK, USERINFOSIZE, VARCHARSIZE, VARCHARTYPE, VAUDHEADSIZE

 

Constructor Summary
ISAM()
           

 

Method Summary
static int getErrio()
          Gets Low-Level Information.
static int getErrno()
          Gets Low-Level Information.
static java.lang.String getErrorMessage(int err)
          Get Human Readable Error Messaged based on error number.
static int getNativeInt(byte[] data, int offset)
          Gets value at offset in data as a 4-byte int.
static int getNativeShort(byte[] data, int offset)
          Gets value at offset in data as a 2-byte short.
static int getNerr()
          Gets Low-Level Information.
static int getReclen()
          Gets Low-Level Information.
static long getRecnum()
          Gets Low-Level Information.
static char getStat1()
          Gets Low-Level Information.
static char getStat2()
          Gets Low-Level Information.
static char getStat3()
          Gets Low-Level Information.
static char getStat4()
          Gets Low-Level Information.
static int[] is_errio(int isfd)
          is_errio (NOT IMPLEMENTED)
static int[] is_errno(int isfd)
          is_errno (NOT IMPLEMENTED)
static int[] is_reclen(int isfd)
          is_reclen (NOT IMPLEMENTED)
static long[] is_recnum(int isfd)
          is_recnum (NOT IMPLEMENTED)
static int isaddindex(int isfd, ISAMKey kdsc)
          isaddindex
static int isaudit_get(int isfd, byte[] filename, int mode)
          isaudit_get
static int isaudit_getname(int isfd, byte[] filename, int mode)
           
static int isaudit_info(int isfd, java.lang.String filename, int mode)
           
static int isaudit_set(int isfd, java.lang.String filename, int mode)
          isaudit_set
static int isaudit_setname(int isfd, java.lang.String filename, int mode)
           
static int isaudit_stop(int isfd, java.lang.String filename, int mode)
           
static int isbegin()
          isbegin
static boolean isBigEndian()
          Is the current machine Big Endian in byte storage?
static int isbuild(java.lang.String filename, int recordLength, ISAMKey keyDescription, int mode)
          isbuild
static int ischeckdata(int fd)
          ischeckdata
static int ischeckindex(int fd, int idx)
          ischeckindex
static int iscleanup()
          iscleanup
static int isclone(int isfd, java.lang.String name)
          isclone
static int isclose(int isfd)
          isclose
static int iscluster(int isfd, ISAMKey kdsc)
          iscluster
static int iscommit()
          iscommit
static int iscopy(int dfd, int sfd, ISAMKey kdsc)
          iscopy
static int isdata(int isfd, ISAMRecord pad, long recnum)
          isdata
static int isdelcurr(int isfd)
          isdelcurr
static int isdelete(int isfd, ISAMRecord record)
          isdelete
static int isdelindex(int isfd, ISAMKey kdsc)
          isdelindex
static int isdelrec(int isfd, long recnum)
          isdelrec
static int isdi_curidx(int isfd)
          isdi_curidx
static int isdi_datfd(int isfd)
          isdi_datfd
static int isdi_datlen(int isfd)
          isdi_datlen
static int isdi_idxfd(int isfd)
          isdi_idxfd
static ISAMKey isdi_kdsc(int idfd)
          isdi_kdsc (NOT IMPLEMENTED)
static java.lang.String isdi_name(int isfd)
          isdi_name
static int iserase(java.lang.String filename)
          iserase
static int isflush(int isfd)
          isflush
static int isgetlastrec(int isfd, long[] last)
          isgetlastrec (NOT IMPLEMENTED)
static int isgetmask(int isfd)
          isgetmask
static int isgetmode(int isfd, int[] mode)
          isgetmode (NOT IMPLEMENTED)
static int isgoto(int isfd, long recnum)
          isgoto
static int isindex(int isfd, int idx, int locate)
          isindex
static int isindexinfo(int isfd, ISAMDictInfo dest, int idx)
          isindexinfo (NOT IMPLEMENTED)
static int isindexinfo(int isfd, ISAMKey dest, int idx)
          isindexinfo (NOT IMPLEMENTED)
static int isisaminfo(int isfd, ISAMDictInfo dest)
          isisaminfo
static int islastrec(int isfd, long[] last)
          islastrec (NOT IMPLEMENTED)
static boolean isLittleEndian()
          Is the current machine Little Endian in byte storage?
static int islock(int isfd)
          islock
static int islockcheck(int isfd, int flag)
          islockcheck
static int islogclose()
          islogclose
static int islogopen(java.lang.String filename)
          islogopen
static int isopen(java.lang.String name, int mode)
          isopen
static int ispop(int isfd, int idx, long rec)
          ispop
static int isprecious(int isfd, int flag)
          isprecious
static int ispush(int isfd, int[] idx, long[] rec)
          ispush (NOT IMPLEMENTED)
static int isread(int isfd, ISAMRecord record, int mode)
          isread
static int isrecover()
          isrecover
static int isrelcurr(int isfd)
          isrelcurr
static int isrelease(int isfd)
          isrelease
static int isrelrec(int isfd, long recnum)
          isrelrec
static int isrename(java.lang.String old_filename, java.lang.String new_filename)
          isrename
static int isresumlog()
          isresumlog
static int isrewcurr(int isfd, ISAMRecord record)
          isrewcurr
static int isrewnxt(int isfd, ISAMRecord record)
          isrewnxt
static int isrewrec(int isfd, long recnum, ISAMRecord record)
          isrewrec
static int isrewrite(int isfd, ISAMRecord record)
          isrewrite
static int isrollback()
          isrollback
static int issetlastrec(int isfd, long last)
          issetlastrec
static int issetmask(int isfd, long mask)
          issetmask
static int issetmode(int isfd, int mode)
          issetmode
static int issetunique(int isfd, long uniqueId)
          issetunique
static int isstart(int isfd, ISAMKey key, int len, ISAMRecord record, int mode)
          isstart
static int isstatmsgs()
          Obtains the isstat characters encoded as an int.
static int issusplog()
          issusplog
static int isthreaded()
          isthreaded
static int istxnid(int value)
          istxnid
static int isuniqueid(int isfd, long value)
          isuniqueid
static int isunlock(int isfd)
          isunlock
static int isuserinfo(int isfd, int mode, java.lang.String pad)
          isuserinfo (NOT IMPLEMENTED)
static int isvbuild(java.lang.String name, int recordLength, int max, ISAMKey kdsc, int mode)
          isvbuild
static int iswrcurr(int isfd, ISAMRecord record)
          iswrcurr
static int iswrite(int isfd, ISAMRecord record)
          stdwrite
static int iswrlock(int isfd, ISAMRecord record)
          iswrlock
static void setBigEndian()
          Set the current machine type to be Big Endian in byte storage.
static void setErrio(int value)
          Sets Low-Level Information.
static void setErrno(int value)
          Sets Low-Level Information.
static void setLittleEndian()
          Set the current machine type to be Little Endian in byte storage.
static void setNativeInt(byte[] data, int offset, int value)
          Sets value at offset in data as a 4-byte int in native endian format.
static void setNativeShort(byte[] data, int offset, int value)
          Sets value at offset in data as a 2-byte short in native endian format.
static void setNerr(int value)
          Sets Low-Level Information.
static void setReclen(int value)
          Sets Low-Level Information.
static void setRecnum(long value)
          Sets Low-Level Information.
static void setStat1(char value)
          Sets Low-Level Information.
static void setStat2(char value)
          Sets Low-Level Information.
static void setStat3(char value)
          Sets Low-Level Information.
static void setStat4(char value)
          Sets Low-Level Information.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

iscopyright

public static final java.lang.String iscopyright
Copyright

major_version

public static final int major_version
Version Number of ISAMJ

minor_version

public static final int minor_version

isversnumber

public static final java.lang.String isversnumber
Version Number of ISAMJ in more traditional ISAM equivalent form.

is_errlist

public static final java.lang.String[] is_errlist
Human Readable Error Text (starting at ISERRBASE)

is_nerr

public static int is_nerr
Low-Level is_nerr

isrecnum

public static long isrecnum
Low-Level isrecnum

isreclen

public static int isreclen
Low-Level isreclen

iserrno

public static int iserrno
Low-Level iserrno

iserrio

public static int iserrio
Low-Level iserrio

isstat1

public static char isstat1
Low-Level isstat1

isstat2

public static char isstat2
Low-Level isstat2

isstat3

public static char isstat3
Low-Level isstat3

isstat4

public static char isstat4
Low-Level isstat4

LITTLE_ENDIAN

public static boolean LITTLE_ENDIAN
Constructor Detail

ISAM

public ISAM()
Method Detail

getErrorMessage

public static java.lang.String getErrorMessage(int err)
Get Human Readable Error Messaged based on error number.
Parameters:
err - ISAM error number
Returns:
Human readable error message.

getNerr

public static int getNerr()
Gets Low-Level Information.

getRecnum

public static long getRecnum()
Gets Low-Level Information.

getReclen

public static int getReclen()
Gets Low-Level Information.

getErrno

public static int getErrno()
Gets Low-Level Information.

getErrio

public static int getErrio()
Gets Low-Level Information.

getStat1

public static char getStat1()
Gets Low-Level Information.

getStat2

public static char getStat2()
Gets Low-Level Information.

getStat3

public static char getStat3()
Gets Low-Level Information.

getStat4

public static char getStat4()
Gets Low-Level Information.

setNerr

public static void setNerr(int value)
Sets Low-Level Information.

setRecnum

public static void setRecnum(long value)
Sets Low-Level Information.

setReclen

public static void setReclen(int value)
Sets Low-Level Information.

setErrno

public static void setErrno(int value)
Sets Low-Level Information.

setErrio

public static void setErrio(int value)
Sets Low-Level Information.

setStat1

public static void setStat1(char value)
Sets Low-Level Information.

setStat2

public static void setStat2(char value)
Sets Low-Level Information.

setStat3

public static void setStat3(char value)
Sets Low-Level Information.

setStat4

public static void setStat4(char value)
Sets Low-Level Information.

isbuild

public static int isbuild(java.lang.String filename,
                          int recordLength,
                          ISAMKey keyDescription,
                          int mode)
isbuild

C: int isbuild(char *name, int len, struct keydesc *kdsc, int mode); (DC)

Create an ISAM file.

Parameters:
filename - Filename of ISAM file to build, without an extension
recordLength - Record length of new file to build.
kdsc - Key description.
mode - Opening mode.
Returns:
file descriptor if >=0, error if Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isvbuild

public static int isvbuild(java.lang.String name,
                           int recordLength,
                           int max,
                           ISAMKey kdsc,
                           int mode)
isvbuild

C: int isvbuild(char *name, int len, int max, struct keydesc *kdsc, int mode); (D)

Parameters:
name - Filename of ISAM file to build.
recordLength - Record length of new file to build.
kdsc - Key descriptor.
mode - Opening mode.
Returns:
file descriptor if >=0, error if Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isaddindex

public static int isaddindex(int isfd,
                             ISAMKey kdsc)
isaddindex

C: int isaddindex (int isfd, struct keydesc *kdsc); (DC)

Add an index to an ISAM file.

Parameters:
isfd - ISAM file descriptor.
kdsc - Key descriptor.
Returns:
0 if success, Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdelindex

public static int isdelindex(int isfd,
                             ISAMKey kdsc)
isdelindex

C: int isdelindex (int isfd, struct keydesc *kdsc); (DC)

Remove an existing index.

Parameters:
isfd - ISAM file descriptor.
kdsc - Key descriptor.
Returns:
0 if success, Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

iscluster

public static int iscluster(int isfd,
                            ISAMKey kdsc)
iscluster

C: int iscluster (int isfd, struct keydesc *kdsc); (DC)

Change the physical order of an ISAM to file to key sequence. NOTE: When using this, must change the file descriptor to the return value.

Parameters:
isfd - ISAM file descriptor.
kdsc - Key descriptor.
Returns:
0 if success, Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isclone

public static int isclone(int isfd,
                          java.lang.String name)
isclone

C: int isclone (int isfd, char *name); (D)

Parameters:
isfd - ISAM file descriptor.
name -  
Returns:
0 if success, Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

iscopy

public static int iscopy(int dfd,
                         int sfd,
                         ISAMKey kdsc)
iscopy

C: int iscopy (int dfd, int sfd, struct keydesc *kdsc); (D)

Parameters:
dfd -  
sfd -  
kdsc - ISAM key descriptor.
Returns:
0 if success, Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

iserase

public static int iserase(java.lang.String filename)
iserase

C: int iserase (char *name); (DC)

Have the OS delete all files related to the given ISAM file.

Parameters:
filename - Filename to erase.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isrename

public static int isrename(java.lang.String old_filename,
                           java.lang.String new_filename)
isrename

C: int isrename (char *oname, char *nname); (DC)

Change the name of an ISAM file.

Parameters:
old_filename - Original filename
new_filename - New filename
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isflush

public static int isflush(int isfd)
isflush

C: int isflush (int isfd); (DC)

Immediately flush any buffered index pages to the operating system.

Parameters:
isfd - ISAM file descriptor.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

issetunique

public static int issetunique(int isfd,
                              long uniqueId)
issetunique

C: int issetunique (int isfd, long value); (DC)

Set the value of internally stored unique identifier.

Parameters:
isfd - ISAM file descriptor.
value -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isuniqueid

public static int isuniqueid(int isfd,
                             long value)
isuniqueid

C: int isuniqueid (int isfd, long *dest); (DC)

Get a long integer guaranteed unique for the ISAM file.

Parameters:
isfd - ISAM file descriptor.
value -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isprecious

public static int isprecious(int isfd,
                             int flag)
isprecious

C: int isprecious (int isfd, int flag); (D)

Parameters:
isfd - ISAM file descriptor.
flag -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

islockcheck

public static int islockcheck(int isfd,
                              int flag)
islockcheck

C: int islockcheck (int isfd, int flag); (D)

Parameters:
isfd - ISAM file descriptor.
flag -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isthreaded

public static int isthreaded()
isthreaded

C: int isthreaded (void); (D)

Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isindexinfo

public static int isindexinfo(int isfd,
                              ISAMKey dest,
                              int idx)
isindexinfo (NOT IMPLEMENTED)

C: int isindexinfo (int isfd, struct keydesc *dest, int idx); (DC)

Determine info about structure and indexes of ISAM file.

Parameters:
isfd - ISAM file descriptor.
dest - ISAM key descriptor.
idx -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isindexinfo

public static int isindexinfo(int isfd,
                              ISAMDictInfo dest,
                              int idx)
isindexinfo (NOT IMPLEMENTED)

Determine info about structure and indexes of ISAM file.

Parameters:
isfd - ISAM file descriptor
dest - ISAM dictionary
idx - index
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isisaminfo

public static int isisaminfo(int isfd,
                             ISAMDictInfo dest)
isisaminfo

C: int isisaminfo (int isfd, struct dictinfo *dest); (D)

Parameters:
isfd - ISAM file descriptor.
dest - ISAM dictionary.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isuserinfo

public static int isuserinfo(int isfd,
                             int mode,
                             java.lang.String pad)
isuserinfo (NOT IMPLEMENTED)

C: int isuserinfo (int isfd, int mode, char *pad); (D)

Parameters:
isfd -  
mode -  
pad -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdi_name

public static java.lang.String isdi_name(int isfd)
isdi_name

C: char * isdi_name (int isfd); (D)

Parameters:
isfd - ISAM file descriptor.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdi_datlen

public static int isdi_datlen(int isfd)
isdi_datlen

C: int isdi_datlen (int isfd); (D)

Parameters:
isfd - ISAM file descriptor.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdi_curidx

public static int isdi_curidx(int isfd)
isdi_curidx

C: int isdi_curidx (int isfd); (D)

Parameters:
isfd - ISAM file descriptor.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdi_idxfd

public static int isdi_idxfd(int isfd)
isdi_idxfd

C: int isdi_idxfd (int isfd); (D)

Parameters:
isfd - ISAM file descriptor.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdi_datfd

public static int isdi_datfd(int isfd)
isdi_datfd

C: int isdi_datfd (int isfd); (D)

Parameters:
isfd - ISAM file descriptor
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdi_kdsc

public static ISAMKey isdi_kdsc(int idfd)
isdi_kdsc (NOT IMPLEMENTED)

C: struct keydesc * isdi_kdsc (int isfd); (D)

Parameters:
idfd -  
Returns:
ISAMKey

islastrec

public static int islastrec(int isfd,
                            long[] last)
islastrec (NOT IMPLEMENTED)

C: int islastrec (int isfd, long *last); (D)

Parameters:
isfd - ISAM file descriptor.
last -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isgetlastrec

public static int isgetlastrec(int isfd,
                               long[] last)
isgetlastrec (NOT IMPLEMENTED)

C: int isgetlastrec (int isfd, long *last); (D)

Parameters:
isfd - ISAM file descriptor.
last -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

issetlastrec

public static int issetlastrec(int isfd,
                               long last)
issetlastrec

C: int issetlastrec (int isfd, long last); (D)

Parameters:
isfd - ISAM file descriptor
last -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

islock

public static int islock(int isfd)
islock

C: int islock (int isfd); (DC)

Lock the entire ISAM file.

Parameters:
isfd - ISAM file descriptor.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isunlock

public static int isunlock(int isfd)
isunlock

C: int isunlock (int isfd); (DC)

Remove a lock on the ISAM file.

Parameters:
isfd - ISAM file descriptor
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isrelease

public static int isrelease(int isfd)
isrelease

C: int isrelease (int isfd); (DC) Unlock records locked by read with ISLOCK option.

Parameters:
isfd - ISAM file descriptor.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isrelrec

public static int isrelrec(int isfd,
                           long recnum)
isrelrec

C: int isrelrec (int isfd, long recnum); (D)

Parameters:
isfd - ISAM file descriptor.
recnum - Record number
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isrelcurr

public static int isrelcurr(int isfd)
isrelcurr

C: int isrelcurr (int isfd); (D)

Parameters:
isfd - ISAM file descriptor.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isopen

public static int isopen(java.lang.String name,
                         int mode)
isopen

C: int isopen (char *name, int mode);(DC)

Open an ISAM file for processing.

Returns:
Returns the file descriptor if >=0
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isgetmode

public static int isgetmode(int isfd,
                            int[] mode)
isgetmode (NOT IMPLEMENTED)

C: int isgetmode (int isfd, int *mode); (D)

Parameters:
isfd - ISAM file descriptor.
mode -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

issetmode

public static int issetmode(int isfd,
                            int mode)
issetmode

C: int issetmode (int isfd, int mode); (D)

Parameters:
isfd - ISAM file descriptor
mode -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isclose

public static int isclose(int isfd)
isclose

C: int isclose (int isfd); (DC)

Close an ISAM file.

Parameters:
isfd - ISAM file descriptor
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

iscleanup

public static int iscleanup()
iscleanup

C: int iscleanup (void); (DC)

Close all ISAM files open.

Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isstart

public static int isstart(int isfd,
                          ISAMKey key,
                          int len,
                          ISAMRecord record,
                          int mode)
isstart

C: int isstart (int isfd, struct keydesc *key, int len, ISDD *data, int mode); (DC)

Select the index and starting point in the index for subsequent calls to isread

Parameters:
isfd - ISAM file descriptor
key - ISAM key descriptor
data - ISAM record
mode - Start mode
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isread

public static int isread(int isfd,
                         ISAMRecord record,
                         int mode)
isread

C: int isread (int isfd, ISDD *data, int mode); (DC)

Read record sequentially or randomly as selected by mode (ISCURR, ISFIRST, etc.)

Parameters:
isfd - ISAM file descriptor
data - ISAM record data
mode - Read mode
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isindex

public static int isindex(int isfd,
                          int idx,
                          int locate)
isindex

C: int isindex (int isfd, int idx, int locate); (D)

Parameters:
isfd - ISAM file descriptor
idx - index
locate -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isgoto

public static int isgoto(int isfd,
                         long recnum)
isgoto

C: int isgoto (int isfd, long recnum); (D)

Parameters:
isfd - ISAM file descriptor
recnum - Record number
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

ispush

public static int ispush(int isfd,
                         int[] idx,
                         long[] rec)
ispush (NOT IMPLEMENTED)

C: int ispush (int isfd, int *idx, long *rec); (D)

Parameters:
isfd - ISAM file descriptor
idx -  
rec -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

ispop

public static int ispop(int isfd,
                        int idx,
                        long rec)
ispop

C: int ispop (int isfd, int idx, long rec); (D)

Parameters:
isfd - ISAM file descriptor
idx - index
rec - record number
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdata

public static int isdata(int isfd,
                         ISAMRecord pad,
                         long recnum)
isdata

C: int isdata (int isfd, ISDD *pad, long recnum); (D)

Parameters:
isfd - ISAM file descriptor
pad - ISAM record
recnum - Record number
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

is_recnum

public static long[] is_recnum(int isfd)
is_recnum (NOT IMPLEMENTED)

C: int isfilter (int isfd, int ( *filter )(int,char*,int)); (D)

Parameters:
isfd - ISAM file descriptor
Returns:
long[]

is_reclen

public static int[] is_reclen(int isfd)
is_reclen (NOT IMPLEMENTED)

C: int * is_reclen (int isfd); (D)

Parameters:
isfd - ISAM file descriptor.
Returns:
int[]

is_errno

public static int[] is_errno(int isfd)
is_errno (NOT IMPLEMENTED)

C: int * is_errno (int isfd); (D)

Parameters:
isfd - ISAM file descriptor.
Returns:
int[]

is_errio

public static int[] is_errio(int isfd)
is_errio (NOT IMPLEMENTED)

C: int * is_errio (int isfd); (D)

Parameters:
isfd - ISAM file descriptor.
Returns:
int[]

islogopen

public static int islogopen(java.lang.String filename)
islogopen

C: int islogopen (char *name); (DC)

Open the log transaction file

Parameters:
filename - The filename of the log to open.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

islogclose

public static int islogclose()
islogclose

C: int islogclose (void); (DC)

Close the transaction log file.

Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isbegin

public static int isbegin()
isbegin

C: int isbegin (void); (DC)

Define the beginning of a transaction.

Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

iscommit

public static int iscommit()
iscommit

C: int iscommit (void); (DC) End a transaction and release all locks.

Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isrollback

public static int isrollback()
isrollback

C: int isrollback (void); (DC) Cancel effect of ISAM calls since last call to isbegin

Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isrecover

public static int isrecover()
isrecover

C: int isrecover (void); (DC) Use along with log file to redo all committed transactions in a copy of the ISAM file.

Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

issusplog

public static int issusplog()
issusplog

C: int issusplog (void); (D)

Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isresumlog

public static int isresumlog()
isresumlog

C: int isresumlog (void); (D)

Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

istxnid

public static int istxnid(int value)
istxnid

C: int istxnid (int value); (D)

Parameters:
value -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isaudit_set

public static int isaudit_set(int isfd,
                              java.lang.String filename,
                              int mode)
isaudit_set

C: int isaudit (int isfd, char *pad, int mode ); (DC)

Perform operations involving an audit-trail file. This version is used for setting data, not getting data.

Parameters:
isfd - ISAM file descriptor.
filename - Dependent on mode.
mode - Audit operation to perform.
Returns:
for AUDINFO, 1 if filename[0] is 1, 0 if filename[0] is 0

isaudit_get

public static int isaudit_get(int isfd,
                              byte[] filename,
                              int mode)
isaudit_get

C: int isaudit (int isfd, char *pad, int mode ); (DC)

Perform operations involving an audit-trail file. This version is used for getting data, not setting data.

Parameters:
isfd - ISAM file descriptor.
filename - Dependent on mode.
mode - Audit operation to perform.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isaudit_stop

public static int isaudit_stop(int isfd,
                               java.lang.String filename,
                               int mode)

isaudit_setname

public static int isaudit_setname(int isfd,
                                  java.lang.String filename,
                                  int mode)

isaudit_info

public static int isaudit_info(int isfd,
                               java.lang.String filename,
                               int mode)

isaudit_getname

public static int isaudit_getname(int isfd,
                                  byte[] filename,
                                  int mode)

iswrite

public static int iswrite(int isfd,
                          ISAMRecord record)
stdwrite

C: int iswrite (int isfd, ISDD *data); (DC) Write a record to an ISAM file.

Parameters:
isfd - ISAM file descriptor.
data - ISAM record.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

iswrlock

public static int iswrlock(int isfd,
                           ISAMRecord record)
iswrlock

C: int iswrlock (int isfd, ISDD *data); (D)

Parameters:
isfd - ISAM file descriptor.
data - ISAM record.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

iswrcurr

public static int iswrcurr(int isfd,
                           ISAMRecord record)
iswrcurr

C: int iswrcurr (int isfd, ISDD *data); (DC)

Write a record and make it the current record

Parameters:
isds - ISAM file descriptor.
data - ISAM record.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdelete

public static int isdelete(int isfd,
                           ISAMRecord record)
isdelete

C: int isdelete (int isfd, ISDD *data); (DC)

Delete a record using the primary key.

Parameters:
isfd - ISAM file descriptor.
data - ISAM record.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdelrec

public static int isdelrec(int isfd,
                           long recnum)
isdelrec

C: int isdelrec (int isfd, long recnum); (DC)

Delete a record using the record number.

Parameters:
isfd - ISAM file descriptor.
recnum -  
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is invalid.

isdelcurr

public static int isdelcurr(int isfd)
isdelcurr

C: int isdelcurr ISD3(int isfd); (DC)

Delete the current record from an ISAM file.

Parameters:
isfd - ISAM file descriptor.
Returns:
int
Throws:
java.lang.NoSuchMethodError - Thrown when ISAM implementation does not implement functionality required for method.
java.lang.InvalidParameterException - Thrown when the ISAM parameter is