tname.h 703 字节
Newer Older
H
hjxilinx 已提交
1 2 3
#ifndef TDENGINE_NAME_H
#define TDENGINE_NAME_H

4 5 6 7 8 9 10 11 12 13 14 15 16
#include "os.h"
#include "taosmsg.h"

typedef struct SDataStatis {
  int16_t colId;
  int64_t sum;
  int64_t max;
  int64_t min;
  int16_t maxIndex;
  int16_t minIndex;
  int16_t numOfNull;
} SDataStatis;

H
hjxilinx 已提交
17
typedef struct SColumnInfoData {
18 19
  SColumnInfo info;
  void* pData;    // the corresponding block data in memory
H
hjxilinx 已提交
20
} SColumnInfoData;
21

22
void extractTableName(const char *tableId, char *name);
H
hjxilinx 已提交
23 24 25

char* extractDBName(const char *tableId, char *name);

H
Haojun Liao 已提交
26 27 28
SSchema tGetTableNameColumnSchema();

bool tscValidateTableNameLength(size_t len);
29

H
Haojun Liao 已提交
30 31
SColumnFilterInfo* tscFilterInfoClone(const SColumnFilterInfo* src, int32_t numOfFilters);

H
hjxilinx 已提交
32
#endif  // TDENGINE_NAME_H