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.
  • SetKeyType(): Set the index key type.
  • SetTemporaryFlag(): Sets the temporary flag.

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

  • GetIdxno(): Retrieves a table index number from an index object.
  • GetNumber(): Retrieves the index position in table indexes list.
  • GetName(): Retrieves the index name.
  • GetUID(): Retrieves the index uid.
  • GetIndexFileName(): Retrieves the index file name for the associated index.
  • SetIndexFileName(): Sets the index file name for the associated index.

In This Section

CTIndex::CTIndex

CTIndex::~CTIndex

CTIndex::AddSegment

CTIndex::DelSegment

CTIndex::GetDuplicateFlag

CTIndex::GetEmptyChar

CTIndex::GetIndexFileName

CTIndex::GetIndexKSeg

CTIndex::GetIdxno

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::SetEmptyChar

CTIndex::SetIndexFileName

CTIndex::SetIndexKSeg

CTIndex::SetKeyType

CTIndex::SetNullFlag

CTIndex::SetTemporaryFlag

TOCIndex