Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTIndex Methods

Constructor / Destructor

  • CTIndex(): Creates a CTIndex object
  • ~CTIndex(): Destroys a CTIndex object and resets all the dependent objects

Key Handling

  • GetKeyLength(): Retrieves the key length
  • GetKeyType(): Retrieves the key type
  • GetEmptyChar(): Retrieves the index empty char
  • GetDuplicateFlag(): Retrieves the allow duplicated flag for this index
  • GetNullFlag(): Retrieve the null flag
  • GetTemporaryFlag(): Retrieves the temporary flag
  • SetEmptyChar(): Sets the empty char value
  • SetDuplicateFlag(): Sets the allow duplicate flag
  • SetNullFlag(): Sets the null flag
  • SetTemporaryFlag(): Sets the temporary flag
  • SetKeyType(): Set the key type of an index

Segment Handling

  • GetSegmentCount(): Retrieves the index segments count
  • AddSegment(): Adds a new segment to the index
  • InsertSegment(): Inserts a segment to the index
  • DelSegment(): Deletes a segment from the index
  • GetSegment(): Retrieves an index segment

Index Handling

  • GetNumber(): Retrieves the index position in table indexes list.
  • GetName(): Retrieves the index name.
  • GetUID(): Retrieves the index uid
  • GetIdxNo(): Retrieve the index file number
  • GetFilename(): Get the index filename
  • SetFilename(): Set the index filename
  • SetName(): Sets the index name.

In This Section

CTIndex.CTIndex

CTIndex.~CTIndex

CTIndex.AddSegment

CTIndex.DelSegment

CTIndex.GetDuplicateFlag

CTIndex.GetEmptyChar

CTIndex.GetIdxNo

CTIndex.GetFileName

CTIndex.GetKeyLength

CTIndex.GetKeyType

CTIndex.GetName

CTIndex.GetNullFlag

CTIndex.GetNumber

CTIndex.GetSegment

CTIndex.GetSegmentCount

CTIndex.GetStatus

CTIndex.GetTemporaryFlag

CTIndex.GetUID

CTIndex.InsertSegment

CTIndex.MoveSegment

CTIndex.SetDuplicateFlag

CTIndex.SetFilename

CTIndex.SetEmptyChar

CTIndex.SetKeyType

CTIndex.SetName

CTIndex.SetNullFlag

CTIndex.SetTemporaryFlag

TOCIndex