embindex.c


Function embBtreeIndexEntry

Add a term to an index entry cache

Synopsis

Prototype
void embBtreeIndexEntry (
      EmbPBtreeEntry entry,
      ajuint dbno
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryModifyEntry with id
ajuintdbnoInputDatabase number for an identifier index field
void RETURN

Input
dbno:(Input)Database number for an identifier index field
Input & Output
entry:(Modify)Entry with id
Returns
void:No return value

Description

Add a term to an index entry cache

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeIndexField

Add a term to an index field cache

Synopsis

Prototype
void embBtreeIndexField (
      EmbPBtreeField field,
      const EmbPBtreeEntry entry,
      ajuint dbno
);

TypeNameRead/WriteDescription
EmbPBtreeFieldfieldModifyField with list of data
const EmbPBtreeEntryentryInputEntry with id
ajuintdbnoInputDatabase number for an identifier index field
void RETURN

Input
entry:(Input)Entry with id
dbno:(Input)Database number for an identifier index field
Input & Output
field:(Modify)Field with list of data
Returns
void:No return value

Description

Add a term to an index field cache

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeParseEntry

Parse an entry ID from an input record

Synopsis

Prototype
void embBtreeParseEntry (
      const AjPStr readline,
      AjPRegexp regexp,
      EmbPBtreeEntry entry
);

TypeNameRead/WriteDescription
const AjPStrreadlineInputINput record
AjPRegexpregexpModifyRegular expression to extract tokens
EmbPBtreeEntryentryModifyEntry
void RETURN

Input
readline:(Input)INput record
Input & Output
regexp:(Modify)Regular expression to extract tokens
entry:(Modify)Entry
Returns
void:No return value

Description

Parse an entry ID from an input record

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeParseField

Parse field tokens from an input record, iterating over a regular expression.

Synopsis

Prototype
void embBtreeParseField (
      const AjPStr readline,
      AjPRegexp regexp,
      EmbPBtreeField field
);

TypeNameRead/WriteDescription
const AjPStrreadlineInputInput record
AjPRegexpregexpModifyRegular expression to extract tokens
EmbPBtreeFieldfieldModifyField
void RETURN

Input
readline:(Input)Input record
Input & Output
regexp:(Modify)Regular expression to extract tokens
field:(Modify)Field
Returns
void:No return value

Description

Parse field tokens from an input record, iterating over a regular expression.

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeParseFieldSecond

Parse field tokens from an input record using the first and second matches to a regular expression.

Synopsis

Prototype
void embBtreeParseFieldSecond (
      const AjPStr readline,
      AjPRegexp regexp,
      EmbPBtreeField field
);

TypeNameRead/WriteDescription
const AjPStrreadlineInputInput record
AjPRegexpregexpModifyRegular expression to extract tokens
EmbPBtreeFieldfieldModifyField
void RETURN

Input
readline:(Input)Input record
Input & Output
regexp:(Modify)Regular expression to extract tokens
field:(Modify)Field
Returns
void:No return value

Description

Parse field tokens from an input record using the first and second matches to a regular expression.

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeParseFieldThird

Parse field tokens from an input record using the first and third matches to a regular expression.

Synopsis

Prototype
void embBtreeParseFieldThird (
      const AjPStr readline,
      AjPRegexp regexp,
      EmbPBtreeField field
);

TypeNameRead/WriteDescription
const AjPStrreadlineInputInput record
AjPRegexpregexpModifyRegular expression to extract tokens
EmbPBtreeFieldfieldModifyField
void RETURN

Input
readline:(Input)Input record
Input & Output
regexp:(Modify)Regular expression to extract tokens
field:(Modify)Field
Returns
void:No return value

Description

Parse field tokens from an input record using the first and third matches to a regular expression.

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeParseFieldTrim

Parse field tokens from an input record and trim any trailing whitespace, iterating over a regular expression.

Synopsis

Prototype
void embBtreeParseFieldTrim (
      const AjPStr readline,
      AjPRegexp regexp,
      EmbPBtreeField field
);

TypeNameRead/WriteDescription
const AjPStrreadlineInputInput record
AjPRegexpregexpModifyRegular expression to extract tokens
EmbPBtreeFieldfieldModifyField
void RETURN

Input
readline:(Input)Input record
Input & Output
regexp:(Modify)Regular expression to extract tokens
field:(Modify)Field
Returns
void:No return value

Description

Parse field tokens from an input record and trim any trailing whitespace, iterating over a regular expression.

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeReportEntry

Report on indexing of entries

Synopsis

Prototype
void embBtreeReportEntry (
      AjPFile outf,
      const EmbPBtreeEntry entry
);

TypeNameRead/WriteDescription
AjPFileoutfModifyOutput file
const EmbPBtreeEntryentryInputEntry
void RETURN

Input
entry:(Input)Entry
Input & Output
outf:(Modify)Output file
Returns
void:No return value

Description

Report on indexing of entries

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeReportField

Report on indexing of field

Synopsis

Prototype
void embBtreeReportField (
      AjPFile outf,
      const EmbPBtreeField field
);

TypeNameRead/WriteDescription
AjPFileoutfModifyOutput file
const EmbPBtreeFieldfieldInputField
void RETURN

Input
field:(Input)Field
Input & Output
outf:(Modify)Output file
Returns
void:No return value

Description

Report on indexing of field

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeEmblKW

Extract keywords from an EMBL KW line

Synopsis

Prototype
void embBtreeEmblKW (
      const AjPStr kwline,
      AjPList kwlist,
      ajuint maxlen
);

TypeNameRead/WriteDescription
const AjPStrkwlineInputkeyword line
AjPListkwlistOutputlist of keywords
ajuintmaxlenInputmax keyword length
void RETURN

Input
kwline:(Input)keyword line
maxlen:(Input)max keyword length
Output
kwlist:(Output)list of keywords
Returns
void:No return value

Description

Extract keywords from an EMBL KW line

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeEmblTX

Extract keywords from an EMBL OC or OS line

Synopsis

Prototype
void embBtreeEmblTX (
      const AjPStr txline,
      AjPList txlist,
      ajuint maxlen
);

TypeNameRead/WriteDescription
const AjPStrtxlineInputtaxonomy line
AjPListtxlistOutputlist of taxons
ajuintmaxlenInputmax taxon length
void RETURN

Input
txline:(Input)taxonomy line
maxlen:(Input)max taxon length
Output
txlist:(Output)list of taxons
Returns
void:No return value

Description

Extract keywords from an EMBL OC or OS line

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeEmblAC

Extract accession numbers from an EMBL AC line

Synopsis

Prototype
void embBtreeEmblAC (
      const AjPStr acline,
      AjPList aclist
);

TypeNameRead/WriteDescription
const AjPStraclineInputAC line
AjPListaclistOutputlist of accession numbers
void RETURN

Input
acline:(Input)AC line
Output
aclist:(Output)list of accession numbers
Returns
void:No return value

Description

Extract accession numbers from an EMBL AC line

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeEmblSV

Extract sequence version from an EMBL new format ID line

Synopsis

Prototype
void embBtreeEmblSV (
      const AjPStr idline,
      AjPList svlist
);

TypeNameRead/WriteDescription
const AjPStridlineInputAC line
AjPListsvlistOutputlist of accession numbers
void RETURN

Input
idline:(Input)AC line
Output
svlist:(Output)list of accession numbers
Returns
void:No return value

Description

Extract sequence version from an EMBL new format ID line

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeEmblDE

Extract words from an EMBL DE line

Synopsis

Prototype
void embBtreeEmblDE (
      const AjPStr deline,
      AjPList delist,
      ajuint maxlen
);

TypeNameRead/WriteDescription
const AjPStrdelineInputdescription line
AjPListdelistOutputlist of descriptions
ajuintmaxlenInputmax keyword length
void RETURN

Input
deline:(Input)description line
maxlen:(Input)max keyword length
Output
delist:(Output)list of descriptions
Returns
void:No return value

Description

Extract words from an EMBL DE line

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeGenBankAC

Extract accession numbers from a GenBank ACCESSION line

Synopsis

Prototype
void embBtreeGenBankAC (
      const AjPStr acline,
      AjPList aclist
);

TypeNameRead/WriteDescription
const AjPStraclineInputAC line
AjPListaclistOutputlist of accession numbers
void RETURN

Input
acline:(Input)AC line
Output
aclist:(Output)list of accession numbers
Returns
void:No return value

Description

Extract accession numbers from a GenBank ACCESSION line

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeGenBankKW

Extract keywords from a GenBank KEYWORDS line

Synopsis

Prototype
void embBtreeGenBankKW (
      const AjPStr kwline,
      AjPList kwlist,
      ajuint maxlen
);

TypeNameRead/WriteDescription
const AjPStrkwlineInputkeyword line
AjPListkwlistOutputlist of keywords
ajuintmaxlenInputmax keyword length
void RETURN

Input
kwline:(Input)keyword line
maxlen:(Input)max keyword length
Output
kwlist:(Output)list of keywords
Returns
void:No return value

Description

Extract keywords from a GenBank KEYWORDS line

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeGenBankDE

Extract keywords from a GenBank DESCRIPTION line

Synopsis

Prototype
void embBtreeGenBankDE (
      const AjPStr kwline,
      AjPList kwlist,
      ajuint maxlen
);

TypeNameRead/WriteDescription
const AjPStrkwlineInputkeyword line
AjPListkwlistOutputlist of keywords
ajuintmaxlenInputmax keyword length
void RETURN

Input
kwline:(Input)keyword line
maxlen:(Input)max keyword length
Output
kwlist:(Output)list of keywords
Returns
void:No return value

Description

Extract keywords from a GenBank DESCRIPTION line

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeGenBankTX

Extract keywords from a GenBank ORGANISM line

Synopsis

Prototype
void embBtreeGenBankTX (
      const AjPStr kwline,
      AjPList kwlist,
      ajuint maxlen
);

TypeNameRead/WriteDescription
const AjPStrkwlineInputkeyword line
AjPListkwlistOutputlist of keywords
ajuintmaxlenInputmax keyword length
void RETURN

Input
kwline:(Input)keyword line
maxlen:(Input)max keyword length
Output
kwlist:(Output)list of keywords
Returns
void:No return value

Description

Extract keywords from a GenBank ORGANISM line

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeFastaDE

Extract keywords from a Fasta description

Synopsis

Prototype
void embBtreeFastaDE (
      const AjPStr kwline,
      AjPList kwlist,
      ajuint maxlen
);

TypeNameRead/WriteDescription
const AjPStrkwlineInputkeyword line
AjPListkwlistOutputlist of keywords
ajuintmaxlenInputmax keyword length
void RETURN

Input
kwline:(Input)keyword line
maxlen:(Input)max keyword length
Output
kwlist:(Output)list of keywords
Returns
void:No return value

Description

Extract keywords from a Fasta description

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeFastaSV

Extract sequence version keywords from a Fasta description

Synopsis

Prototype
void embBtreeFastaSV (
      const AjPStr kwline,
      AjPList kwlist,
      ajuint maxlen
);

TypeNameRead/WriteDescription
const AjPStrkwlineInputsequence version or GI string
AjPListkwlistOutputlist of sequence versions
ajuintmaxlenInputmax sequence version length
void RETURN

Input
kwline:(Input)sequence version or GI string
maxlen:(Input)max sequence version length
Output
kwlist:(Output)list of sequence versions
Returns
void:No return value

Description

Extract sequence version keywords from a Fasta description

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeReadDir

Read files to index

Synopsis

Prototype
ajuint embBtreeReadDir (
      AjPStr** filelist,
      const AjPStr fdirectory,
      const AjPStr files,
      const AjPStr exclude
);

TypeNameRead/WriteDescription
AjPStr**filelistOutputlist of files to read
const AjPStrfdirectoryInputDirectory to scan
const AjPStrfilesInputFilename to search for (or NULL)
const AjPStrexcludeInputlist of files to exclude
ajuint RETURNnumber of matching files

Input
fdirectory:(Input)Directory to scan
files:(Input)Filename to search for (or NULL)
exclude:(Input)list of files to exclude
Output
filelist:(Output)list of files to read
Returns
ajuint:number of matching files

Description

Read files to index

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeEntryNew

Construct a database entry object

Synopsis

Prototype
EmbPBtreeEntry embBtreeEntryNew (
      void
);

TypeNameRead/WriteDescription
EmbPBtreeEntry RETURNdb entry object pointer

Returns
EmbPBtreeEntry:db entry object pointer

Description

Construct a database entry object

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeEntryDel

Delete a database entry object

Synopsis

Prototype
void embBtreeEntryDel (
      EmbPBtreeEntry* thys
);

TypeNameRead/WriteDescription
EmbPBtreeEntry*thysDeletedb entry object pointer
void RETURN

Output
thys:(Delete)db entry object pointer
Returns
void:No return value

Description

Delete a database entry object

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeEntrySetCompressed

Set database entry to be compressed on writing

Synopsis

Prototype
void embBtreeEntrySetCompressed (
      EmbPBtreeEntry entry
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryModifyDatabase entry information
void RETURN

Input & Output
entry:(Modify)Database entry information
Returns
void:No return value

Description

Set database entry to be compressed on writing

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeSetFields

Set database fields to index

Synopsis

Prototype
ajuint embBtreeSetFields (
      EmbPBtreeEntry entry,
      AjPStr const* fields
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryOutputDatabase entry information
AjPStr const*fieldsInputuser specified fields
ajuint RETURNnumber of fields set

Input
fields:(Input)user specified fields
Output
entry:(Output)Database entry information
Returns
ajuint:number of fields set

Description

Set database fields to index

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeSetDbInfo

Set general database information

Synopsis

Prototype
void embBtreeSetDbInfo (
      EmbPBtreeEntry entry,
      const AjPStr name,
      const AjPStr dbrs,
      const AjPStr date,
      const AjPStr release,
      const AjPStr type,
      const AjPStr directory,
      const AjPStr idirectory
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryOutputDatabase entry information
const AjPStrnameInputuser specified name
const AjPStrdbrsInputuser specified resource
const AjPStrdateInputuser specified date
const AjPStrreleaseInputuser specified release
const AjPStrtypeInputuser specified type
const AjPStrdirectoryInputuser specified directory
const AjPStridirectoryInputuser specified index directory
void RETURN

Input
name:(Input)user specified name
dbrs:(Input)user specified resource
date:(Input)user specified date
release:(Input)user specified release
type:(Input)user specified type
directory:(Input)user specified directory
idirectory:(Input)user specified index directory
Output
entry:(Output)Database entry information
Returns
void:No return value

Description

Set general database information

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeGetFieldC

Set database fields to index

Synopsis

Prototype
EmbPBtreeField embBtreeGetFieldC (
      EmbPBtreeEntry entry,
      const char* nametxt
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryOutputDatabase entry information
const char*nametxtInputField name
EmbPBtreeField RETURNBtree index field definition

Input
nametxt:(Input)Field name
Output
entry:(Output)Database entry information
Returns
EmbPBtreeField:Btree index field definition

Description

Set database fields to index

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeGetFieldS

Set database fields to index

Synopsis

Prototype
EmbPBtreeField embBtreeGetFieldS (
      EmbPBtreeEntry entry,
      const AjPStr name
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryOutputDatabase entry information
const AjPStrnameInputField name
EmbPBtreeField RETURNBtree index field definition

Input
name:(Input)Field name
Output
entry:(Output)Database entry information
Returns
EmbPBtreeField:Btree index field definition

Description

Set database fields to index

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeGetFiles

Read files to index

Synopsis

Prototype
ajuint embBtreeGetFiles (
      EmbPBtreeEntry entry,
      const AjPStr fdirectory,
      const AjPStr files,
      const AjPStr exclude
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryModifylist of files to read
const AjPStrfdirectoryInputDirectory to scan
const AjPStrfilesInputFilename to search for (or NULL)
const AjPStrexcludeInputlist of files to exclude
ajuint RETURNnumber of matching files

Input
fdirectory:(Input)Directory to scan
files:(Input)Filename to search for (or NULL)
exclude:(Input)list of files to exclude
Input & Output
entry:(Modify)list of files to read
Returns
ajuint:number of matching files

Description

Read files to index

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeWriteEntryFile

Put files to entry file

Synopsis

Prototype
AjBool embBtreeWriteEntryFile (
      const EmbPBtreeEntry entry
);

TypeNameRead/WriteDescription
const EmbPBtreeEntryentryInputdatabase data
AjBool RETURNtrue on success

Input
entry:(Input)database data
Returns
AjBool:true on success

Description

Put files to entry file

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeGetRsInfo

Get resource information for selected database

Synopsis

Prototype
void embBtreeGetRsInfo (
      EmbPBtreeEntry entry
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryModifydatabase data
void RETURN

Input & Output
entry:(Modify)database data
Returns
void:No return value

Description

Get resource information for selected database

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeOpenCaches

Open index files for writing

Synopsis

Prototype
AjBool embBtreeOpenCaches (
      EmbPBtreeEntry entry
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryModifydatabase data
AjBool RETURNtrue on success

Input & Output
entry:(Modify)database data
Returns
AjBool:true on success

Description

Open index files for writing

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeCloseCaches

Close index files

Synopsis

Prototype
AjBool embBtreeCloseCaches (
      EmbPBtreeEntry entry
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryModifydatabase data
AjBool RETURNtrue on success

Input & Output
entry:(Modify)database data
Returns
AjBool:true on success

Description

Close index files

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeProbeCaches

Close index files

Synopsis

Prototype
AjBool embBtreeProbeCaches (
      EmbPBtreeEntry entry
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryModifydatabase data
AjBool RETURNtrue on success

Input & Output
entry:(Modify)database data
Returns
AjBool:true on success

Description

Close index files

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeDumpParameters

Write index parameter files

Synopsis

Prototype
AjBool embBtreeDumpParameters (
      EmbPBtreeEntry entry
);

TypeNameRead/WriteDescription
EmbPBtreeEntryentryModifydatabase data
AjBool RETURNtrue on success

Input & Output
entry:(Modify)database data
Returns
AjBool:true on success

Description

Write index parameter files

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeFieldNewC

Constructor for a Btree index field

Synopsis

Prototype
EmbPBtreeField embBtreeFieldNewC (
      const char* nametxt
);

TypeNameRead/WriteDescription
const char*nametxtInputName
EmbPBtreeField RETURNBtree field

Input
nametxt:(Input)Name
Returns
EmbPBtreeField:Btree field

Description

Constructor for a Btree index field

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeFieldNewS

Constructor for a Btree index field

Synopsis

Prototype
EmbPBtreeField embBtreeFieldNewS (
      const AjPStr name
);

TypeNameRead/WriteDescription
const AjPStrnameInputName
EmbPBtreeField RETURNBtree field

Input
name:(Input)Name
Returns
EmbPBtreeField:Btree field

Description

Constructor for a Btree index field

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeFieldDel

Destructor for a Btree index field

Synopsis

Prototype
void embBtreeFieldDel (
      EmbPBtreeField* Pthis
);

TypeNameRead/WriteDescription
EmbPBtreeField*PthisDeleteBtree index field object
void RETURN

Output
Pthis:(Delete)Btree index field object
Returns
void:No return value

Description

Destructor for a Btree index field

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeFieldSetCompressed

Set database field to be compressed on writing

Synopsis

Prototype
void embBtreeFieldSetCompressed (
      EmbPBtreeField field
);

TypeNameRead/WriteDescription
EmbPBtreeFieldfieldModifyDatabase field information
void RETURN

Input & Output
field:(Modify)Database field information
Returns
void:No return value

Description

Set database field to be compressed on writing

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeFieldSetIdtype

Set database field to be identifier type (not secondary) on writing

Synopsis

Prototype
void embBtreeFieldSetIdtype (
      EmbPBtreeField field
);

TypeNameRead/WriteDescription
EmbPBtreeFieldfieldModifyDatabase field information
void RETURN

Input & Output
field:(Modify)Database field information
Returns
void:No return value

Description

Set database field to be identifier type (not secondary) on writing

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embBtreeFieldSetSecondary

Set database field to be secondary on writing

Synopsis

Prototype
void embBtreeFieldSetSecondary (
      EmbPBtreeField field
);

TypeNameRead/WriteDescription
EmbPBtreeFieldfieldModifyDatabase field information
void RETURN

Input & Output
field:(Modify)Database field information
Returns
void:No return value

Description

Set database field to be secondary on writing

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0

Function embIndexExit

Cleanup indexing internals on exit

Synopsis

Prototype
void embIndexExit (
      void
);

TypeNameRead/WriteDescription
void RETURN

Returns
void:No return value

Description

Cleanup indexing internals on exit

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 6.4.0