#if !defined(_TD_DATA_H_)
#define _TD_DATA_H_

#include <stdint.h>

#include "schema.h"

/* The row data should in the form of
 */

// ---- Row data interface
typedef struct {
  int32_t numOfRows;
  char *  data;
} SRData;

// ---- Column data interface
typedef struct {
  int32_t numOfPoints;
  char *  data;
} SCData;

typedef struct {
  int32_t  numOfCols;
  SCData **pData;
} SCDataBlock;

#endif  // _TD_DATA_H_
