protected:
PRELDEF Next; /* To next definition block */
PSZ Name; /* Name of the view */
LPCSTR Database; /* Table database */
PCOLDEF To_Cols; /* To a list of column desc */
PCATLG Cat; /* To DB catalog info */
PHC Hc; /* The Connect handler */
}; // end of RELDEF
/***********************************************************************/ /* This class corresponds to the data base description for tables */ /* of type DOS, FIX, CSV, DBF, BIN, VCT, JSON, XML... */ /***********************************************************************/ class DllExport TABDEF : public RELDEF { /* Logical table descriptor */ friendclass CATALOG; friendclass PLUGCAT; friendclass MYCAT; friendclass TDB; friendclass TDBEXT; public: // Constructor
TABDEF(void); // Constructor
protected: // Members
PCSZ Schema; /* Table schema (for ODBC) */
PCSZ Desc; /* Table description */
RECFM Recfm; /* File or table format */
uint Catfunc; /* Catalog function ID */ int Card; /* (max) number of rows in table */ int Elemt; /* Number of rows in blocks or rowset */ int Sort; /* Table already sorted ??? */ int Multiple; /* 0: No 1: DIR 2: Section 3: filelist */ int Degree; /* Number of columns in the table */ int Pseudo; /* Bit: 1 ROWID }Ok, 2 FILEID Ok */ bool Read_Only; /* true for read only tables */ const CHARSET_INFO *m_data_charset; constchar *csname; /* Table charset name */
}; // end of TABDEF
// Members #ifdefined(_WIN32)
HANDLE Hdll; /* Handle to the external DLL */ #else// !_WIN32 void *Hdll; /* Handle for the loaded shared library */ #endif// !_WIN32
PTABDEF Pxdef; /* Pointer to the external TABDEF class */ char *Module; /* Path/Name of the DLL implementing it */ char *Subtype; /* The name of the OEM table sub type */
}; // end of OEMDEF
/***********************************************************************/ /* Column definition block used during creation. */ /***********************************************************************/ class DllExport COLCRT : public BLOCK { /* Column description block */ friendclass TABDEF; public:
COLCRT(PSZ name); // Constructor
COLCRT(void); // Constructor (for views)
// Implementation
PSZ GetName(void) {return Name;}
PSZ GetDecode(void) {return Decode;}
PSZ GetFmt(void) {return Fmt;} int GetOpt(void) {return Opt;} int GetFreq(void) {return Freq;} int GetLong(void) {returnLong;} int GetPrecision(void) {return Precision;} int GetOffset(void) {return Offset;} void SetOffset(int offset) {Offset = offset;}
protected:
PCOLCRT Next; /* To next block */
PSZ Name; /* Column name */
PSZ Desc; /* Column description */
PSZ Decode; /* Date format */
PSZ Fmt; /* Input format for formatted files */ int Offset; /* Offset of field within record */ intLong; /* Length of field in file record (!BIN) */ int Key; /* Key (greater than 1 if multiple) */ int Precision; /* Logical column length */ int Scale; /* Decimals for float/decimal values */ int Opt; /* 0:Not 1:clustered 2:sorted-asc 3:desc */ int Freq; /* Estimated number of different values */ char DataType; /* Internal data type (C, N, F, T) */
}; // end of COLCRT
protected: void *To_Min; /* Point to array of block min values */ void *To_Max; /* Point to array of block max values */ int *To_Pos; /* Point to array of block positions */ bool Xdb2; /* TRUE if to be optimized by XDB2 */ void *To_Bmap; /* To array of block bitmap values */ void *To_Dval; /* To array of column distinct values */ int Ndv; /* Number of distinct values */ int Nbm; /* Number of ULONG in bitmap (XDB2) */ int Buf_Type; /* Internal data type */ int Clen; /* Internal data size in chars (bytes) */ int Poff; /* Calculated offset for Packed tables */
FORMAT F; /* Output format (should be in COLCRT) */
ushort Flags; /* Used by MariaDB CONNECT handler */
}; // end of COLDEF
#endif// __RELDEF_H
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.