Class CTDBRET

Object
CTDBRET

public class CTDBRET extends Object
CTDB return codes
  • Field Details

    • OK

      public static final CTDBRET OK
      CTDB C API return OK
    • DADV_ERR

      public static final CTDBRET DADV_ERR
      Proper lock is not held (ctCHECKLOCK/READ)
    • BASE

      public static final CTDBRET BASE
      Base error number
    • NOMEMORY

      public static final CTDBRET NOMEMORY
      Not enough memory
    • NULHANDLE

      public static final CTDBRET NULHANDLE
      Handle is NULL
    • NOTSESSION

      public static final CTDBRET NOTSESSION
      No session handle
    • INVARG

      public static final CTDBRET INVARG
      Invalid argument
    • INDEXRANGE

      public static final CTDBRET INDEXRANGE
      Index out of range
    • ARGSMALL

      public static final CTDBRET ARGSMALL
      Argument is too small
    • NULARG

      public static final CTDBRET NULARG
      Null argument not valid
    • ARGNUL

      public static final CTDBRET ARGNUL
      Null argument not valid
    • NOTOPEN

      public static final CTDBRET NOTOPEN
      Table is not open
    • NOTDATABASE

      public static final CTDBRET NOTDATABASE
      Not a database handle
    • ISACTIVE

      public static final CTDBRET ISACTIVE
      Handle is active
    • NOTACTIVE

      public static final CTDBRET NOTACTIVE
      Handle is not active
    • NOTTABLE

      public static final CTDBRET NOTTABLE
      Handle is not a table
    • NOSUCHFIELD

      public static final CTDBRET NOSUCHFIELD
      Unknown field name
    • CANTDELETE

      public static final CTDBRET CANTDELETE
      Can't perform delete
    • FIELDEXIST

      public static final CTDBRET FIELDEXIST
      Field already exist
    • NOTFIELD

      public static final CTDBRET NOTFIELD
      Not a field handle
    • NOTINDEX

      public static final CTDBRET NOTINDEX
      Not an index handle
    • INVTYPE

      public static final CTDBRET INVTYPE
      Invalid field/key type
    • NOTSEGMENT

      public static final CTDBRET NOTSEGMENT
      Not a segment handle
    • DATABASEEXIST

      public static final CTDBRET DATABASEEXIST
      Table already exist
    • TABLEEXIST

      public static final CTDBRET TABLEEXIST
      Table already exist
    • NOSUCHTABLE

      public static final CTDBRET NOSUCHTABLE
      Table does not exist
    • NOTRECORD

      public static final CTDBRET NOTRECORD
      Not a record handle
    • INTERNAL

      public static final CTDBRET INTERNAL
      Internal error
    • INVFIND

      public static final CTDBRET INVFIND
      Invalid find mode
    • NODATA

      public static final CTDBRET NODATA
      No data in record
    • INVFORMAT

      public static final CTDBRET INVFORMAT
      Invalid date or time format
    • INVDATE

      public static final CTDBRET INVDATE
      Invalid date
    • INVDAY

      public static final CTDBRET INVDAY
      Invalid date day
    • INVMONTH

      public static final CTDBRET INVMONTH
      Invalid date month
    • INVYEAR

      public static final CTDBRET INVYEAR
      Invalid date year
    • INVTIME

      public static final CTDBRET INVTIME
      Invalid packed CTTIME
    • INVHOUR

      public static final CTDBRET INVHOUR
      Invalid hour
    • INVMINUTE

      public static final CTDBRET INVMINUTE
      Invalid minute
    • INVSECOND

      public static final CTDBRET INVSECOND
      Invalid second
    • INVAMPM

      public static final CTDBRET INVAMPM
      Invalid time AM or PM value
    • OVERFLOW

      public static final CTDBRET OVERFLOW
      Operation causes Overflow
    • UNDERFLOW

      public static final CTDBRET UNDERFLOW
      Operation cause underflow
    • DIVBYZERO

      public static final CTDBRET DIVBYZERO
      Division by zero error
    • INVDATETIME

      public static final CTDBRET INVDATETIME
      Invalid timestamp
    • CANTCONVERT

      public static final CTDBRET CANTCONVERT
      Can't perform type conversion
    • TOOBIG

      public static final CTDBRET TOOBIG
      Argument is too big
    • NOSUCHPATH

      public static final CTDBRET NOSUCHPATH
      Path does not exist
    • NOSUCHINDEX

      public static final CTDBRET NOSUCHINDEX
      Unknown index number
    • NOTFOUND

      public static final CTDBRET NOTFOUND
      Not found
    • INVSEGMODE

      public static final CTDBRET INVSEGMODE
      Invalid segment mode
    • NOINDEX

      public static final CTDBRET NOINDEX
      Table has no indices
    • NOSUCHSEGMENT

      public static final CTDBRET NOSUCHSEGMENT
      Invalid segment number
    • INVICON

      public static final CTDBRET INVICON
      Invalid ISAM context handle
    • INDEXEXIST

      public static final CTDBRET INDEXEXIST
      Index name already in use
    • MOREDATA

      public static final CTDBRET MOREDATA
      Partial field data read
    • NOINDEXNAME

      public static final CTDBRET NOINDEXNAME
      Invalid index name
    • NOTSUPPORTED

      public static final CTDBRET NOTSUPPORTED
      Feature not supported
    • INVLOCKMODE

      public static final CTDBRET INVLOCKMODE
      Invalid lock mode
    • NOLOCK

      public static final CTDBRET NOLOCK
      Record not locked
    • NOWRITELOCK

      public static final CTDBRET NOWRITELOCK
      Record is not locked for writes
    • NOTDICT

      public static final CTDBRET NOTDICT
      Dictionary handle not allocated
    • NOTYET

      public static final CTDBRET NOTYET
      Not yet implemented
    • INVNUMBER

      public static final CTDBRET INVNUMBER
      Invalid number
    • INVPREC

      public static final CTDBRET INVPREC
      Invalid number precision
    • INVSCALE

      public static final CTDBRET INVSCALE
      Invalid number scale
    • INVRECBUF

      public static final CTDBRET INVRECBUF
      Record buffer not large enough
    • CANTDELRECBYT

      public static final CTDBRET CANTDELRECBYT
      recbyt index can't be deleted
    • CANTDELROWID

      public static final CTDBRET CANTDELROWID
      rowid index can't be deleted
    • NOROWID

      public static final CTDBRET NOROWID
      Table has no rowid index
    • CANTCREATE

      public static final CTDBRET CANTCREATE
      cannot create a file (dupdb)
    • CANTCOPY

      public static final CTDBRET CANTCOPY
      cannot copy a file (dupdb)
    • NOTSUSPENDED

      public static final CTDBRET NOTSUSPENDED
      can't restore lock
    • INVISOLEVEL

      public static final CTDBRET INVISOLEVEL
      invalid isolation level
    • CNDXFALSE

      public static final CTDBRET CNDXFALSE
      Cond. expr evaluates to false
    • CNDXSYNTAX

      public static final CTDBRET CNDXSYNTAX
      conditional expr. parser error
    • CNDXTYPE

      public static final CTDBRET CNDXTYPE
      Invalid type mixup
    • CNDXFIELD

      public static final CTDBRET CNDXFIELD
      Unknown field name
    • CNDXINTERNAL

      public static final CTDBRET CNDXINTERNAL
      Internal yacc error
    • CNDXMEMORY

      public static final CTDBRET CNDXMEMORY
      Memory allocation failed
    • CNDXOVERFLOW

      public static final CTDBRET CNDXOVERFLOW
      Stack overflow
    • CNDXUNDERFLOW

      public static final CTDBRET CNDXUNDERFLOW
      Stack Underflow
    • CNDXEXEC

      public static final CTDBRET CNDXEXEC
      Invalid execution node
    • CNDXDIVISION

      public static final CTDBRET CNDXDIVISION
      Division by zero
    • CNDXNOSCHEMA

      public static final CTDBRET CNDXNOSCHEMA
      No record schema
    • CNDXNORECBUF

      public static final CTDBRET CNDXNORECBUF
      no record buffer
    • CNDXSDAT

      public static final CTDBRET CNDXSDAT
      not enough data
    • INVSESSIONTYPE

      public static final CTDBRET INVSESSIONTYPE
      invalid session type
    • INVALTERACTION

      public static final CTDBRET INVALTERACTION
      invalid alter table action
    • DIFFERENT

      public static final CTDBRET DIFFERENT
      records are different
    • INVOPERATOR

      public static final CTDBRET INVOPERATOR
      invalid operator
    • READONLY

      public static final CTDBRET READONLY
      table was open read only
    • NOTIMPLEMENTED

      public static final CTDBRET NOTIMPLEMENTED
      CALLBACK not implemented
    • INVHANDLE

      public static final CTDBRET INVHANDLE
      Invalid handle type
    • INVCALLBACK

      public static final CTDBRET INVCALLBACK
      Invalid callback type
    • CANTMOVE

      public static final CTDBRET CANTMOVE
      Can't move segment
    • INDEXDUPNAME

      public static final CTDBRET INDEXDUPNAME
      index name duplicated in database
    • NOSUCHDATABASE

      public static final CTDBRET NOSUCHDATABASE
      database does not exit or not found
    • NOSEGMENT

      public static final CTDBRET NOSEGMENT
      index has no segments
    • BATCHNOTACTIVE

      public static final CTDBRET BATCHNOTACTIVE
      batch operation not active
    • BATCHISACTIVE

      public static final CTDBRET BATCHISACTIVE
      batch operation is already active
    • INVBATCHMODE

      public static final CTDBRET INVBATCHMODE
      invalid batch mode
    • NOTRESOURCE

      public static final CTDBRET NOTRESOURCE
      Not a resource handle
    • INVATTACH

      public static final CTDBRET INVATTACH
      Invalid session attach mode
    • NOTATTACHED

      public static final CTDBRET NOTATTACHED
      Session not attached
    • BINARYLENGTH

      public static final CTDBRET BINARYLENGTH
      Invalid binary field length
    • ROUTERERROR

      public static final CTDBRET ROUTERERROR
      Router table error
    • INVROUTERNAME

      public static final CTDBRET INVROUTERNAME
      invalid router table name
    • INVROUTERNBR

      public static final CTDBRET INVROUTERNBR
      invalid number of fields in router
    • INVROUNTERMAP

      public static final CTDBRET INVROUNTERMAP
      invalid router field mapping
    • DBNOTSQL

      public static final CTDBRET DBNOTSQL
      the database is not SQL
    • INVBUFFER

      public static final CTDBRET INVBUFFER
      the record buffer contains data causing field offset calculation going after the record size
    • CALLBACK_1

      public static final CTDBRET CALLBACK_1
      user error codes reserved to callback functions
    • CALLBACK_2

      public static final CTDBRET CALLBACK_2
      user error codes reserved to callback functions
    • CALLBACK_3

      public static final CTDBRET CALLBACK_3
      user error codes reserved to callback functions
    • CALLBACK_4

      public static final CTDBRET CALLBACK_4
      user error codes reserved to callback functions
    • CALLBACK_5

      public static final CTDBRET CALLBACK_5
      user error codes reserved to callback functions
    • CALLBACK_6

      public static final CTDBRET CALLBACK_6
      user error codes reserved to callback functions
    • CALLBACK_7

      public static final CTDBRET CALLBACK_7
      user error codes reserved to callback functions
    • CALLBACK_8

      public static final CTDBRET CALLBACK_8
      user error codes reserved to callback functions
    • CALLBACK_9

      public static final CTDBRET CALLBACK_9
      user error codes reserved to callback functions
    • CALLBACK_10

      public static final CTDBRET CALLBACK_10
      user error codes reserved to callback functions
    • CALLBACK_11

      public static final CTDBRET CALLBACK_11
      user error codes reserved to callback functions
    • CALLBACK_12

      public static final CTDBRET CALLBACK_12
      user error codes reserved to callback functions
    • CALLBACK_13

      public static final CTDBRET CALLBACK_13
      user error codes reserved to callback functions
    • CALLBACK_14

      public static final CTDBRET CALLBACK_14
      user error codes reserved to callback functions
    • CALLBACK_15

      public static final CTDBRET CALLBACK_15
      user error codes reserved to callback functions
    • CALLBACK_16

      public static final CTDBRET CALLBACK_16
      user error codes reserved to callback functions
    • CALLBACK_17

      public static final CTDBRET CALLBACK_17
      user error codes reserved to callback functions
    • CALLBACK_18

      public static final CTDBRET CALLBACK_18
      user error codes reserved to callback functions
    • CALLBACK_19

      public static final CTDBRET CALLBACK_19
      user error codes reserved to callback functions
    • CALLBACK_20

      public static final CTDBRET CALLBACK_20
      user error codes reserved to callback functions
    • CANTCHKUID

      public static final CTDBRET CANTCHKUID
      cannot properly check/update dictionary UID
    • NOMOREVTRES

      public static final CTDBRET NOMOREVTRES
      No more RESOURCE for vtable available on parent table
    • VTABLEEXIST

      public static final CTDBRET VTABLEEXIST
      The table has VTables defined in the dictionary
    • VTABLETYPE

      public static final CTDBRET VTABLETYPE
      The VTable type in the dictionary mistmatches the one in the resource
    • FLDISNULL

      public static final CTDBRET FLDISNULL
      The field has null value
    • IDENTITYDEFINED

      public static final CTDBRET IDENTITYDEFINED
      An Identity field has been already defined
    • NOIDENTITYDEFINED

      public static final CTDBRET NOIDENTITYDEFINED
      An Identity field has not been defined
    • RESERVEDNAME

      public static final CTDBRET RESERVEDNAME
      Invalid use of reserved name
    • NOTSUP_IN_DICT

      public static final CTDBRET NOTSUP_IN_DICT
      Feature not supported in Dictionary
    • INVFILENAME

      public static final CTDBRET INVFILENAME
      Invalid file name
    • ISVFIELD

      public static final CTDBRET ISVFIELD
      operation not supported on Virtual field
    • HASVFIELD

      public static final CTDBRET HASVFIELD
      operation not supported on tables with Virtual fields
    • MISSINGVCLEAR

      public static final CTDBRET MISSINGVCLEAR
      cannot add VFields without setting vclear function
    • MISSINGVGET

      public static final CTDBRET MISSINGVGET
      Attempting a getfield operation on VField without having a "get" function
    • MISSINGVSET

      public static final CTDBRET MISSINGVSET
      Attempting a setfield operation on VField without having a "set" function
    • INVNUMBLEN

      public static final CTDBRET INVNUMBLEN
      CTNUMBER has invalid length
    • INVMILLISECOND

      public static final CTDBRET INVMILLISECOND
      Invalid millisecond
    • INVLEGACYSEGMENT

      public static final CTDBRET INVLEGACYSEGMENT
      Unable to compute legacy segment offset
    • MSEC_NOTSUPPORTED

      public static final CTDBRET MSEC_NOTSUPPORTED
      Millisecond precision not supported by c-tree data type in use
    • PARTITION_DEFINED

      public static final CTDBRET PARTITION_DEFINED
      file partition already defined
    • NOTFTI

      public static final CTDBRET NOTFTI
      Not a Full Text Index handle
    • NOSUCHFTI

      public static final CTDBRET NOSUCHFTI
      Unknown Full Text Index number or name
    • NOFTI

      public static final CTDBRET NOFTI
      Table has no Full Text Index
    • FTI_NOFIELD

      public static final CTDBRET FTI_NOFIELD
      Full Text Index defined with no associated field
    • CANTATTACH

      public static final CTDBRET CANTATTACH
      Cannot attach (table handle linked to db not supported)
    • NOMOREBATCHES

      public static final CTDBRET NOMOREBATCHES
      No room for more batches in the session
    • ISVTABLE

      public static final CTDBRET ISVTABLE
      Operation not supported on VTABLES
    • FTS_SYNTAX

      public static final CTDBRET FTS_SYNTAX
      Full Text Search found a syntax error in the search query
    • FTS_TOK_INIT

      public static final CTDBRET FTS_TOK_INIT
      Full Text Search could not initialize the query tokenizer
    • FTS_INVALID_STOP_LIST

      public static final CTDBRET FTS_INVALID_STOP_LIST
      An invalid stop list entry was specified
    • FTS_RESERVED2

      public static final CTDBRET FTS_RESERVED2
    • FTS_RESERVED3

      public static final CTDBRET FTS_RESERVED3
    • ROWIDSEG

      public static final CTDBRET ROWIDSEG
      Attempt to create an index with rowid reference on table with no rowid support
    • NOTFTID

      public static final CTDBRET NOTFTID
      Not a Full Text Index Dictionary handle
    • CANNOTSET

      public static final CTDBRET CANNOTSET
      FTI option cannot be set
    • INVMRT_RECSIZ

      public static final CTDBRET INVMRT_RECSIZ
      MRT VTABLE record definition does not describe the entire fixed record portion of the parent table
    • NOLOAD

      public static final CTDBRET NOLOAD
      Background load thread not active for the current file
    • LOADISACTIVE

      public static final CTDBRET LOADISACTIVE
      Background load thread is active for the current file
    • NO_PATHS

      public static final CTDBRET NO_PATHS
      Transaction log files path not set for standalone model
  • Constructor Details

    • CTDBRET

      public CTDBRET(int val, String msg)
    • CTDBRET

      public CTDBRET(int ThrdAttach)
  • Method Details

    • getErrno

      public int getErrno()
      Returns:
      the errno
    • getMsg

      public String getMsg()
      Returns:
      the msg