nodeHashjoin.h 882 Bytes
Newer Older
1 2 3 4 5 6 7 8
/*-------------------------------------------------------------------------
 *
 * nodeHashjoin.h--
 *    
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
9
 * $Id: nodeHashjoin.h,v 1.1 1996/08/28 07:22:19 scrappy Exp $
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
 *
 *-------------------------------------------------------------------------
 */
#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 */