-
Notifications
You must be signed in to change notification settings - Fork 6
/
nodeAgg.h
33 lines (27 loc) · 710 Bytes
/
nodeAgg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*-------------------------------------------------------------------------
*
* nodeAgg.h
* TODO file description
*
*
* Copyright (c) 2019-Present Pivotal Software, Inc.
*
*
*-------------------------------------------------------------------------
*/
#ifndef VECTOR_ENGINE_NODE_AGG_H
#define VECTOR_ENGINE_NODE_AGG_H
#include "nodes/plannodes.h"
/*
* VectorAggState - state object of vectoragg on executor.
*/
typedef struct VectorAggState
{
CustomScanState css;
/* Attributes for vectorization */
AggState *aggstate;
TupleTableSlot *resultSlot;
} VectorAggState;
extern CustomScan *MakeCustomScanForAgg(void);
extern void InitVectorAgg(void);
#endif /* VECTOR_ENGINE_NODE_AGG_H */