您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ ExecEndNode函数代码示例

51自学网 2021-06-01 20:39:37
  C++
这篇教程C++ ExecEndNode函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中ExecEndNode函数的典型用法代码示例。如果您正苦于以下问题:C++ ExecEndNode函数的具体用法?C++ ExecEndNode怎么用?C++ ExecEndNode使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了ExecEndNode函数的30个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: ExecEndNestLoop

/* ---------------------------------------------------------------- *		ExecEndNestLoop * *		closes down scans and frees allocated storage * ---------------------------------------------------------------- */voidExecEndNestLoop(NestLoopState *node){	NL1_printf("ExecEndNestLoop: %s/n",			   "ending node processing");	/*	 * Free the exprcontext	 */	ExecFreeExprContext(&node->js.ps);	/*	 * clean out the tuple table	 */	ExecClearTuple(node->js.ps.ps_ResultTupleSlot);	/*	 * close down subplans	 */	ExecEndNode(outerPlanState(node));	ExecEndNode(innerPlanState(node));	NL1_printf("ExecEndNestLoop: %s/n",			   "node processing ended");}
开发者ID:shubham2094,项目名称:postgresql_8.2,代码行数:31,


示例2: ExecEndSubqueryScan

/* ---------------------------------------------------------------- *		ExecEndSubqueryScan * *		frees any storage allocated through C routines. * ---------------------------------------------------------------- */voidExecEndSubqueryScan(SubqueryScanState *node){	/*	 * Free the exprcontext	 */	ExecFreeExprContext(&node->ss.ps);	/*	 * clean out the upper tuple table	 */	if (node->ss.ss_ScanTupleSlot != NULL)	{		ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);		node->ss.ss_ScanTupleSlot = NULL;	/* not ours to clear */	}	/* gpmon */	EndPlanStateGpmonPkt(&node->ss.ps);	/*	 * close down subquery	 */	ExecEndNode(node->subplan);}
开发者ID:LJoNe,项目名称:gpdb,代码行数:31,


示例3: ExecEndSort

/* ---------------------------------------------------------------- *		ExecEndSort(node) * ---------------------------------------------------------------- */voidExecEndSort(SortState *node){	SO1_printf("ExecEndSort: %s/n",			   "shutting down sort node");	/*	 * clean out the tuple table	 */	ExecClearTuple(node->ss.ss_ScanTupleSlot);	/* must drop pointer to sort result tuple */	ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);	/*	 * Release tuplesort resources	 */	if (node->tuplesortstate != NULL)		tuplesort_end((Tuplesortstate *) node->tuplesortstate);	node->tuplesortstate = NULL;	/*	 * shut down the subplan	 */	ExecEndNode(outerPlanState(node));	SO1_printf("ExecEndSort: %s/n",			   "sort node shutdown");}
开发者ID:jfhyn,项目名称:pipelinedb,代码行数:32,


示例4: ExecEndHash

/* --------------------------------------------------------------- *   	ExecEndHash * *	clean up routine for Hash node * ---------------------------------------------------------------- */voidExecEndHash(Hash *node){    HashState		*hashstate;    Plan		*outerPlan;    File		*batches;        /* ----------------     *	get info from the hash state      * ----------------     */    hashstate = node->hashstate;    batches = hashstate->hashBatches;    if (batches != NULL)	pfree(batches);        /* ----------------     *	free projection info.  no need to free result type info     *  because that came from the outer plan...     * ----------------     */    ExecFreeProjectionInfo(&hashstate->cstate);        /* ----------------     *	shut down the subplan     * ----------------     */    outerPlan = outerPlan(node);    ExecEndNode(outerPlan, (Plan*)node);} 
开发者ID:jarulraj,项目名称:postgres95,代码行数:36,


示例5: ExecEndMaterial

/* ---------------------------------------------------------------- *		ExecEndMaterial * ---------------------------------------------------------------- */voidExecEndMaterial(MaterialState *node){	ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);	ExecClearTuple(node->ss.ss_ScanTupleSlot);	ExecEagerFreeMaterial(node);	/*	 * Release tuplestore resources for cases where EagerFree doesn't do it	 */	if (node->ts_state->matstore != NULL)	{		Material   *ma = (Material *) node->ss.ps.plan;		if (ma->share_type == SHARE_MATERIAL_XSLICE && node->share_lk_ctxt)		{			shareinput_writer_waitdone(node->share_lk_ctxt, ma->share_id, ma->nsharer_xslice);		}		Assert(node->ts_pos);		DestroyTupleStore(node);	}	/*	 * shut down the subplan	 */	ExecEndNode(outerPlanState(node));	EndPlanStateGpmonPkt(&node->ss.ps);}
开发者ID:BALDELab,项目名称:incubator-hawq,代码行数:33,


示例6: ExecEndGather

/* ---------------------------------------------------------------- *		ExecEndGather * *		frees any storage allocated through C routines. * ---------------------------------------------------------------- */voidExecEndGather(GatherState *node){	ExecShutdownGather(node);	ExecFreeExprContext(&node->ps);	ExecClearTuple(node->ps.ps_ResultTupleSlot);	ExecEndNode(outerPlanState(node));}
开发者ID:linwanggm,项目名称:postgres,代码行数:14,


示例7: ExecEndLimit

/* ---------------------------------------------------------------- *		ExecEndLimit * *		This shuts down the subplan and frees resources allocated *		to this node. * ---------------------------------------------------------------- */voidExecEndLimit(LimitState *node){	ExecFreeExprContext(&node->ps);	ExecEndNode(outerPlanState(node));	EndPlanStateGpmonPkt(&node->ps);}
开发者ID:50wu,项目名称:gpdb,代码行数:15,


示例8: ExecEndGatherMerge

/* ---------------------------------------------------------------- *		ExecEndGatherMerge * *		frees any storage allocated through C routines. * ---------------------------------------------------------------- */voidExecEndGatherMerge(GatherMergeState *node){	ExecEndNode(outerPlanState(node));	/* let children clean up first */	ExecShutdownGatherMerge(node);	ExecFreeExprContext(&node->ps);	ExecClearTuple(node->ps.ps_ResultTupleSlot);}
开发者ID:chrullrich,项目名称:postgres,代码行数:14,


示例9: ExecEndTwice

voidExecEndTwice(TwiceState *node){	/* clean up tuple table */	ExecClearTuple(node->ps.ps_ResultTupleSlot);	/* recursively clean up nodes in the plan rooted in this node */	ExecEndNode(outerPlanState(node));}
开发者ID:Piiit,项目名称:postgres-twice-patch,代码行数:9,


示例10: ExecEndUnique

/* ---------------------------------------------------------------- *		ExecEndUnique * *		This shuts down the subplan and frees resources allocated *		to this node. * ---------------------------------------------------------------- */voidExecEndUnique(UniqueState *node){	/* clean up tuple table */	ExecClearTuple(node->ps.ps_ResultTupleSlot);	MemoryContextDelete(node->tempContext);	ExecEndNode(outerPlanState(node));}
开发者ID:csrajmohan,项目名称:PostgreSQL9.4_Fork,代码行数:17,


示例11: ExecEndLimit

/* ---------------------------------------------------------------- *		ExecEndLimit * *		This shuts down the subplan and frees resources allocated *		to this node. * ---------------------------------------------------------------- */voidExecEndLimit(LimitState *node){	ExecFreeExprContext(&node->ps);	/* clean up tuple table */	ExecClearTuple(node->ps.ps_ResultTupleSlot);	ExecEndNode(outerPlanState(node));}
开发者ID:sunyangkobe,项目名称:cscd43,代码行数:17,


示例12: ExecEndSetOp

/* ---------------------------------------------------------------- *		ExecEndSetOp * *		This shuts down the subplan and frees resources allocated *		to this node. * ---------------------------------------------------------------- */voidExecEndSetOp(SetOpState *node){	/* clean up tuple table */	ExecClearTuple(node->ps.ps_ResultTupleSlot);	node->ps.ps_OuterTupleSlot = NULL;	MemoryContextDelete(node->tempContext);	ExecEndNode(outerPlanState(node));}
开发者ID:berkeley-cs186,项目名称:course-fa07,代码行数:18,


示例13: ExecEndNestLoop

/* ---------------------------------------------------------------- *   	ExecEndNestLoop *    *   	closes down scans and frees allocated storage * ---------------------------------------------------------------- */voidExecEndNestLoop(NestLoop *node){    NestLoopState   *nlstate;    NL1_printf("ExecEndNestLoop: %s/n",	       "ending node processing");    /* ----------------     *	get info from the node     * ----------------     */    nlstate =  node->nlstate;    /* ----------------     *	Free the projection info     *     *  Note: we don't ExecFreeResultType(nlstate)      *        because the rule manager depends on the tupType     *	      returned by ExecMain().  So for now, this     *	      is freed at end-transaction time.  -cim 6/2/91          * ----------------     */        ExecFreeProjectionInfo(&nlstate->jstate);    /* ----------------     *	close down subplans     * ----------------     */    ExecEndNode(outerPlan((Plan *) node), (Plan*)node);    ExecEndNode(innerPlan((Plan *) node), (Plan*)node);    /* ----------------     *	clean out the tuple table      * ----------------     */    ExecClearTuple(nlstate->jstate.cs_ResultTupleSlot);    NL1_printf("ExecEndNestLoop: %s/n",	       "node processing ended");}
开发者ID:jarulraj,项目名称:postgres95,代码行数:47,


示例14: ExecEndDML

/* Release Resources Requested by nodeDML. */voidExecEndDML(DMLState *node){	/* Release explicitly the TupleDesc for result relation */	ReleaseTupleDesc(node->junkfilter->jf_cleanTupType);	ExecFreeExprContext(&node->ps);	ExecClearTuple(node->ps.ps_ResultTupleSlot);	ExecClearTuple(node->cleanedUpSlot);	ExecEndNode(outerPlanState(node));	EndPlanStateGpmonPkt(&node->ps);}
开发者ID:BALDELab,项目名称:incubator-hawq,代码行数:13,


示例15: ExecEndBitmapTableScan

/* Cleans up once scanning is finished */voidExecEndBitmapTableScan(BitmapTableScanState *node){	BitmapTableScanEnd(node);	/*	 * close down subplans	 */	ExecEndNode(outerPlanState(node));	EndPlanStateGpmonPkt(&node->ss.ps);}
开发者ID:phan-pivotal,项目名称:gpdb,代码行数:13,


示例16: ExecEndBitmapHeapScan

/* ---------------------------------------------------------------- *		ExecEndBitmapHeapScan * ---------------------------------------------------------------- */voidExecEndBitmapHeapScan(BitmapHeapScanState *node){	Relation	relation;	HeapScanDesc scanDesc;	/*	 * extract information from the node	 */	relation = node->ss.ss_currentRelation;	scanDesc = node->ss.ss_currentScanDesc;	/*	 * Free the exprcontext	 */	ExecFreeExprContext(&node->ss.ps);	/*	 * clear out tuple table slots	 */	ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);	ExecClearTuple(node->ss.ss_ScanTupleSlot);	/*	 * close down subplans	 */	ExecEndNode(outerPlanState(node));	/*	 * release bitmap if any	 */	if (node->tbm)		tbm_free(node->tbm);	if (node->odbm)		odbm_free(node->odbm);	/*	 * close heap scan	 */	heap_endscan(scanDesc);	/*	 * close the heap relation.	 *	 * Currently, we do not release the AccessShareLock acquired by	 * ExecInitBitmapHeapScan.	This lock should be held till end of	 * transaction. (There is a faction that considers this too much locking,	 * however.)	 */	heap_close(relation, NoLock);}
开发者ID:jaiminpan,项目名称:bizgres,代码行数:56,


示例17: ExecEndBitmapHeapScan

/* ---------------------------------------------------------------- *		ExecEndBitmapHeapScan * ---------------------------------------------------------------- */voidExecEndBitmapHeapScan(BitmapHeapScanState *node){	Relation	relation;	HeapScanDesc scanDesc;	/*	 * extract information from the node	 */	relation = node->ss.ss_currentRelation;	scanDesc = node->ss.ss_currentScanDesc;	/*	 * Free the exprcontext	 */	ExecFreeExprContext(&node->ss.ps);	/*	 * clear out tuple table slots	 */	ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);	ExecClearTuple(node->ss.ss_ScanTupleSlot);	/*	 * close down subplans	 */	ExecEndNode(outerPlanState(node));	/*	 * release bitmap if any	 */	if (node->tbmiterator)		tbm_end_iterate(node->tbmiterator);	if (node->prefetch_iterator)		tbm_end_iterate(node->prefetch_iterator);	if (node->tbm)		tbm_free(node->tbm);	if (node->shared_tbmiterator)		tbm_end_shared_iterate(node->shared_tbmiterator);	if (node->shared_prefetch_iterator)		tbm_end_shared_iterate(node->shared_prefetch_iterator);	/*	 * close heap scan	 */	heap_endscan(scanDesc);	/*	 * close the heap relation.	 */	ExecCloseScanRelation(relation);}
开发者ID:BertrandAreal,项目名称:postgres,代码行数:56,


示例18: ExecEndGroup

/* ------------------------ *		ExecEndGroup(node) * * ----------------------- */voidExecEndGroup(GroupState *node){	PlanState  *outerPlan;	ExecFreeExprContext(&node->ss.ps);	/* clean up tuple table */	ExecClearTuple(node->ss.ss_ScanTupleSlot);	outerPlan = outerPlanState(node);	ExecEndNode(outerPlan);}
开发者ID:CraigBryan,项目名称:PostgresqlFun,代码行数:18,


示例19: ExecEndSetOp

/* ---------------------------------------------------------------- *		ExecEndSetOp * *		This shuts down the subplan and frees resources allocated *		to this node. * ---------------------------------------------------------------- */voidExecEndSetOp(SetOpState *node){	/* clean up tuple table */	ExecClearTuple(node->ps.ps_ResultTupleSlot);	/* free subsidiary stuff including hashtable */	MemoryContextDelete(node->tempContext);	if (node->tableContext)		MemoryContextDelete(node->tableContext);	ExecEndNode(outerPlanState(node));}
开发者ID:BioBD,项目名称:Hypothetical_Indexes,代码行数:20,


示例20: ExecEndBitmapHeapScan

/* ---------------------------------------------------------------- *		ExecEndBitmapHeapScan * ---------------------------------------------------------------- */voidExecEndBitmapHeapScan(BitmapHeapScanState *node){	HeapScanDesc scanDesc;	/*	 * extract information from the node	 */	scanDesc = node->ss.ss_currentScanDesc;	/*	 * Free the exprcontext	 */	ExecFreeExprContext(&node->ss.ps);	/*	 * clear out tuple table slots	 */	if (node->ss.ps.ps_ResultTupleSlot)		ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);	ExecClearTuple(node->ss.ss_ScanTupleSlot);	/*	 * close down subplans	 */	ExecEndNode(outerPlanState(node));	/*	 * release bitmaps and buffers if any	 */	if (node->tbmiterator)		tbm_end_iterate(node->tbmiterator);	if (node->prefetch_iterator)		tbm_end_iterate(node->prefetch_iterator);	if (node->tbm)		tbm_free(node->tbm);	if (node->shared_tbmiterator)		tbm_end_shared_iterate(node->shared_tbmiterator);	if (node->shared_prefetch_iterator)		tbm_end_shared_iterate(node->shared_prefetch_iterator);	if (node->vmbuffer != InvalidBuffer)		ReleaseBuffer(node->vmbuffer);	if (node->pvmbuffer != InvalidBuffer)		ReleaseBuffer(node->pvmbuffer);	/*	 * close heap scan	 */	heap_endscan(scanDesc);}
开发者ID:eubide,项目名称:postgres,代码行数:54,


示例21: ExecEndRepeat

voidExecEndRepeat(RepeatState *node){	/* Free the ExprContext */	ExecFreeExprContext(&node->ps);		/* Clean out the tuple table */	ExecClearTuple(node->ps.ps_ResultTupleSlot);		/* End the subplans */	ExecEndNode(outerPlanState(node));		EndPlanStateGpmonPkt(&node->ps);}
开发者ID:50wu,项目名称:gpdb,代码行数:14,


示例22: ExecEndRecursiveUnion

/* ---------------------------------------------------------------- *		ExecEndRecursiveUnionScan * *		frees any storage allocated through C routines. * ---------------------------------------------------------------- */voidExecEndRecursiveUnion(RecursiveUnionState *node){	/* Release tuplestores */	tuplestore_end(node->working_table);	tuplestore_end(node->intermediate_table);	/* free subsidiary stuff including hashtable */	if (node->tempContext)		MemoryContextDelete(node->tempContext);	if (node->tableContext)		MemoryContextDelete(node->tableContext);	/*	 * clean out the upper tuple table	 */	ExecClearTuple(node->ps.ps_ResultTupleSlot);	/*	 * close down subplans	 */	ExecEndNode(outerPlanState(node));	ExecEndNode(innerPlanState(node));}
开发者ID:LittleForker,项目名称:postgres,代码行数:30,


示例23: ExecEndHash

/* --------------------------------------------------------------- *		ExecEndHash * *		clean up routine for Hash node * ---------------------------------------------------------------- */voidExecEndHash(HashState *node){	PlanState  *outerPlan;	/*	 * free exprcontext	 */	ExecFreeExprContext(&node->ps);	/*	 * shut down the subplan	 */	outerPlan = outerPlanState(node);	ExecEndNode(outerPlan);}
开发者ID:fdr,项目名称:postgres,代码行数:22,


示例24: ExecEndSort

/* ---------------------------------------------------------------- *		ExecEndSort(node) * ---------------------------------------------------------------- */voidExecEndSort(SortState *node){	SO1_printf("ExecEndSort: %s/n",			   "shutting down sort node");	ExecEagerFreeSort(node);	/*	 * shut down the subplan	 */	ExecEndNode(outerPlanState(node));	SO1_printf("ExecEndSort: %s/n",			   "sort node shutdown");	EndPlanStateGpmonPkt(&node->ss.ps);}
开发者ID:huor,项目名称:gpdb,代码行数:22,


示例25: ExecEndResult

/* ---------------------------------------------------------------- *		ExecEndResult * *		frees up storage allocated through C routines * ---------------------------------------------------------------- */voidExecEndResult(ResultState *node){	/*	 * Free the exprcontext	 */	ExecFreeExprContext(&node->ps);	/*	 * clean out the tuple table	 */	ExecClearTuple(node->ps.ps_ResultTupleSlot);	/*	 * shut down subplans	 */	ExecEndNode(outerPlanState(node));}
开发者ID:EccentricLoggers,项目名称:peloton,代码行数:24,


示例26: ExecEndSubqueryScan

/* ---------------------------------------------------------------- *		ExecEndSubqueryScan * *		frees any storage allocated through C routines. * ---------------------------------------------------------------- */voidExecEndSubqueryScan(SubqueryScanState *node){	/*	 * Free the exprcontext	 */	ExecFreeExprContext(&node->ss.ps);	/*	 * clean out the upper tuple table	 */	ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);	ExecClearTuple(node->ss.ss_ScanTupleSlot);	/*	 * close down subquery	 */	ExecEndNode(node->subplan);}
开发者ID:5A68656E67,项目名称:postgres,代码行数:25,


示例27: ExecEndMaterial

/* ---------------------------------------------------------------- *		ExecEndMaterial * ---------------------------------------------------------------- */voidExecEndMaterial(MaterialState *node){	/*	 * clean out the tuple table	 */	ExecClearTuple(node->ss.ss_ScanTupleSlot);	/*	 * Release tuplestore resources	 */	if (node->tuplestorestate != NULL)		tuplestore_end((Tuplestorestate *) node->tuplestorestate);	node->tuplestorestate = NULL;	/*	 * shut down the subplan	 */	ExecEndNode(outerPlanState(node));}
开发者ID:jaiminpan,项目名称:bizgres,代码行数:24,


示例28: ExecEndForeignScan

/* ---------------------------------------------------------------- *		ExecEndForeignScan * *		frees any storage allocated through C routines. * ---------------------------------------------------------------- */voidExecEndForeignScan(ForeignScanState *node){	/* Let the FDW shut down */	node->fdwroutine->EndForeignScan(node);	/* Shut down any outer plan. */	if (outerPlanState(node))		ExecEndNode(outerPlanState(node));	/* Free the exprcontext */	ExecFreeExprContext(&node->ss.ps);	/* clean out the tuple table */	ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);	ExecClearTuple(node->ss.ss_ScanTupleSlot);	/* close the relation. */	if (node->ss.ss_currentRelation)		ExecCloseScanRelation(node->ss.ss_currentRelation);}
开发者ID:5A68656E67,项目名称:postgres,代码行数:27,


示例29: ExecEndShareInputScan

/* ------------------------------------------------------------------ * 	ExecEndShareInputScan * ------------------------------------------------------------------ */void ExecEndShareInputScan(ShareInputScanState *node){	/* clean up tuple table */	ExecClearTuple(node->ss.ss_ScanTupleSlot);	ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);	ShareInputScan * sisc = (ShareInputScan *) node->ss.ps.plan;	if(node->share_lk_ctxt)		shareinput_reader_notifydone(node->share_lk_ctxt, sisc->share_id);	ExecEagerFreeShareInputScan(node);	/* 	 * shutdown subplan.  First scanner of underlying share input will	 * do the shutdown, all other scanners are no-op because outerPlanState	 * is NULL	 */	ExecEndNode(outerPlanState(node));	EndPlanStateGpmonPkt(&node->ss.ps);}
开发者ID:PivotalBigData,项目名称:incubator-hawq,代码行数:26,


示例30: ExecEndAppend

/* ---------------------------------------------------------------- *		ExecEndAppend * *		Shuts down the subscans of the append node. * *		Returns nothing of interest. * ---------------------------------------------------------------- */voidExecEndAppend(AppendState *node){	PlanState **appendplans;	int			nplans;	int			i;	/*	 * get information from the node	 */	appendplans = node->appendplans;	nplans = node->as_nplans;	/*	 * shut down each of the subscans (that we've initialized)	 */	for (i = 0; i < nplans; i++)	{		if (appendplans[i])			ExecEndNode(appendplans[i]);	}}
开发者ID:sunyangkobe,项目名称:cscd43,代码行数:30,



注:本文中的ExecEndNode函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ ExecFreeExprContext函数代码示例
C++ ExecAssignResultTypeFromTL函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。