Long ComTdbTuple::pack(void * space)
{
  PackQueueOfNAVersionedObjects(tupleExprList_,space,ex_expr);
  predExpr_.pack(space);

  return ComTdb::pack(space);
}
Esempio n. 2
0
Long ComTdbRoot::pack(void * space)
{
  if (childTdb.isNull())
  {
     // Check if the child tdb was null after code generation. If it was not 
     // null then, something happened between then and now, when the plan
     // is being packed! Abort!
     if (!childTdbIsNull())
       abort();
  }
  childTdb.pack(space);
  if (childTdb.isNull())
  {
     // Check if the child tdb was null after code generation. If it was not 
     // null then, something happened during packing...Abort!
     if (!childTdbIsNull())
       abort();
  }
  criDesc_.pack(space);
  inputExpr_.pack(space);
  outputExpr_.pack(space);
  pkeyExpr_.pack(space);
  predExpr_.pack(space);
  workCriDesc_.pack(space);
  fragDir_.pack(space);
  transMode_.pack(space);
  fetchedCursorName_.pack(space);
  updateColList_.pack(space);
  triggersList_.pack(space); // Triggers
  uninitializedMvList_.pack(space);
  if(tableCount_ > 0) stoiList_.pack(space,tableCount_);
  lateNameInfoList_.pack(space);
  qsi_.pack(space);
  if (qCacheInfoIsClass())
    qcInfo()->pack(space);
  qCacheInfo_.pack(space);

  queryCostInfo_.pack(space);

  compilerStatsInfo_.pack(space);

  rwrsInfo_.pack(space);
  objectUidList_.pack(space);

  compilationStatsData_.pack(space);

  // Pack the queue backbone as well as the stoi objects in the queue.
  PackQueueOfNAVersionedObjects(viewStoiList_,space,SqlTableOpenInfo);

  // Pack the UDR stoi list
  if (udrCount_ > 0) udrStoiList_.pack (space, udrCount_);
  
  if (schCount_ > 0)
    schemaLabelInfoList_.pack(space, schCount_);

  sikPtr_.pack(space);
  snapshotscanTempLocation_.pack(space);
  listOfSnapshotScanTables_.pack(space);
  return ComTdb::pack(space);
}
Esempio n. 3
0
Long ComTdbDiskLabelStatistics::pack(void * space)
{
  PackQueueOfNAVersionedObjects(tableOpenInfoList_,space,SqlTableOpenInfo);

  return ComTdbParallelLabelOp::pack(space);
}