BadgerDB
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Public Attributes
badgerdb::attrInfo Struct Reference

Description of an attribute. This structure is produced by the SQL parser and is used in two cases: In the "create relation" command to send to the catalogs the name and type of the parsed attribute, and in the "insert into" command to send to the insert command the value of the attribute (using the attrValue field). More...

#include <catalog.h>

List of all members.

Public Attributes

char relName [MAXNAMESIZE]
char attrName [MAXNAMESIZE]
int attrType
int attrLen
void * attrValue

Detailed Description

Description of an attribute. This structure is produced by the SQL parser and is used in two cases: In the "create relation" command to send to the catalogs the name and type of the parsed attribute, and in the "insert into" command to send to the insert command the value of the attribute (using the attrValue field).

Definition at line 64 of file catalog.h.


Member Data Documentation

Length of attribute in bytes

Definition at line 83 of file catalog.h.

char badgerdb::attrInfo::attrName[MAXNAMESIZE]

attribute name

Definition at line 73 of file catalog.h.

INTEGER, DOUBLE or STRING

Definition at line 78 of file catalog.h.

ptr to binary value (used by the parser for insert into statements) [In some versions of the SQL parser, attrValue is also used to hold the default value specified during the create tabe command]

Definition at line 90 of file catalog.h.

char badgerdb::attrInfo::relName[MAXNAMESIZE]

Relation name

Definition at line 68 of file catalog.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends