aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHashjoin.h
blob: b8c12942b3b5e1a55cddf48fb2b78a9ab3b98777 (plain)
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
/*-------------------------------------------------------------------------
 *
 * nodeHashjoin.h--
 *    
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: nodeHashjoin.h,v 1.1.1.1 1996/07/09 06:21:26 scrappy Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef	NODEHASHJOIN_H
#define	NODEHASHJOIN_H

extern TupleTableSlot *ExecHashJoin(HashJoin *node);

extern bool ExecInitHashJoin(HashJoin *node, EState *estate, Plan *parent);

extern int ExecCountSlotsHashJoin(HashJoin *node);

extern void ExecEndHashJoin(HashJoin *node);

extern int ExecHashJoinNewBatch(HashJoinState *hjstate);

extern char *ExecHashJoinSaveTuple(HeapTuple heapTuple, char *buffer,
				   File file, char *position);

extern int ExecHashJoinGetBatch(int bucketno, HashJoinTable hashtable,
				int nbatch);


#endif	/* NODEHASHJOIN_H */