Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

nodeHash.h

Blame
  • nodeHash.h 1.58 KiB
    /*-------------------------------------------------------------------------
     *
     * nodeHash.h
     *	  prototypes for nodeHash.c
     *
     *
     * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
     * Portions Copyright (c) 1994, Regents of the University of California
     *
     * $PostgreSQL: pgsql/src/include/executor/nodeHash.h,v 1.41 2006/06/27 21:31:20 tgl Exp $
     *
     *-------------------------------------------------------------------------
     */
    #ifndef NODEHASH_H
    #define NODEHASH_H
    
    #include "nodes/execnodes.h"
    
    extern int	ExecCountSlotsHash(Hash *node);
    extern HashState *ExecInitHash(Hash *node, EState *estate, int eflags);
    extern TupleTableSlot *ExecHash(HashState *node);
    extern Node *MultiExecHash(HashState *node);
    extern void ExecEndHash(HashState *node);
    extern void ExecReScanHash(HashState *node, ExprContext *exprCtxt);
    
    extern HashJoinTable ExecHashTableCreate(Hash *node, List *hashOperators);
    extern void ExecHashTableDestroy(HashJoinTable hashtable);
    extern void ExecHashTableInsert(HashJoinTable hashtable,
    					TupleTableSlot *slot,
    					uint32 hashvalue);
    extern uint32 ExecHashGetHashValue(HashJoinTable hashtable,
    					 ExprContext *econtext,
    					 List *hashkeys);
    extern void ExecHashGetBucketAndBatch(HashJoinTable hashtable,
    						  uint32 hashvalue,
    						  int *bucketno,
    						  int *batchno);
    extern HashJoinTuple ExecScanHashBucket(HashJoinState *hjstate,
    				   ExprContext *econtext);
    extern void ExecHashTableReset(HashJoinTable hashtable);
    extern void ExecChooseHashTableSize(double ntuples, int tupwidth,
    						int *numbuckets,
    						int *numbatches);
    
    #endif   /* NODEHASH_H */