page9
struct File {
int fd;
char *buffer;
long int buff_idx;
long int buff_len;
}
struct Stmt {
int type;
void *set;
struct StmtMeta *in;
struct StmtMeta *out;
struct Stmt *next;
}
Stmt Type:
STMT_SET
STMT_LOAD
STMT_CREATE
STMT_SORT
STMT_JOIN
struct StmtMeta {
int flag;
char *filename;
char *alias;
struct Field *fields;
struct StmtMeta *next;
};