Home Home

Class CODBPP::Segment

class Segment{
public:
   int field;
   enum CODBPP::Mode mode;
};

Members

field Valid values are -1 for the objectID and -2 for the row count with multi-entry indexes, all others values are the schema array index value of the field. The absolute field positon values for sub-table fields are as follws in the diagram below.
mode

Valid modes for types within CODBPP::B_TREE index types are CODBPP::ASTR and CODBPPP::USTR are CODBPP::DESCENDING or CODBPP::INVERTED or (CODBPP::TO_UPPER_CASE xor CODBPP::TO_LOWER_CASE).Valid modes for all types are CODBPP::DESCENDING or CODBPP::NONE.

Valid modes for type within CODBPP::S_TREE indexes are CODBPP::NONE only.

Valid modes for type within CODBPP::A_LIST and CODBPP::U_LIST indexes are CODBPP::TOKEN_FIELD or (CODBPP::TO_UPPER_CASE xor CODBPP::TO_LOWER_CASE), the binary fields within a token index are by default value.

Copyright © 2003-2008, Ekky Software Pty. Ltd.