1996-07-09 02:22:35 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
|
|
|
|
* nodeHashjoin.h--
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
1996-08-28 03:27:54 -04:00
|
|
|
* $Id: nodeHashjoin.h,v 1.1 1996/08/28 07:22:19 scrappy Exp $
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#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 */
|