std::string ReceivePlanNode::debugInfo(const std::string& spacer) const { std::ostringstream buffer; buffer << spacer << "Incoming Table Columns[" << getOutputSchema().size() << "]:\n"; for (int ctr = 0, cnt = (int)getOutputSchema().size(); ctr < cnt; ctr++) { SchemaColumn* col = getOutputSchema()[ctr]; buffer << spacer << " [" << ctr << "] "; buffer << "name=" << col->getColumnName() << " : "; buffer << "size=" << col->getExpression()->getValueSize() << " : "; buffer << "type=" << col->getExpression()->getValueType() << "\n"; } return buffer.str(); }
TupleSchema* AbstractPlanNode::generateTupleSchema() const { // Get the effective output schema. // In general, this may require a search. const vector<SchemaColumn*>& outputSchema = getOutputSchema(); return generateTupleSchema(outputSchema); }
std::string ReceivePlanNode::debugInfo(const std::string& spacer) const { std::ostringstream buffer; AbstractReceivePlanNode::schemaDebugInfo(buffer, getOutputSchema(), "Incoming", spacer); return buffer.str(); }