MCPcopy Create free account
hub / github.com/activeloopai/deeplake / printStatementInfo

Function printStatementInfo

cpp/3rd_party/sql-parser/src/util/sqlhelper.cpp:422–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420}
421
422void printStatementInfo(std::ostream& s, const SQLStatement* stmt)
423{
424 switch (stmt->type()) {
425 case kStmtSelect:
426 printSelectStatementInfo(s, (const SelectStatement*)stmt, 0);
427 break;
428 case kStmtInsert:
429 printInsertStatementInfo(s, (const InsertStatement*)stmt, 0);
430 break;
431 case kStmtCreate:
432 printCreateStatementInfo(s, (const CreateStatement*)stmt, 0);
433 break;
434 case kStmtImport:
435 printImportStatementInfo(s, (const ImportStatement*)stmt, 0);
436 break;
437 case kStmtExport:
438 printExportStatementInfo(s, (const ExportStatement*)stmt, 0);
439 break;
440 case kStmtTransaction:
441 printTransactionStatementInfo(s, (const TransactionStatement*)stmt, 0);
442 break;
443 default:
444 break;
445 }
446}
447
448std::ostream& operator<<(std::ostream& os, const OperatorType& op)
449{

Callers 1

mainFunction · 0.85

Calls 7

printSelectStatementInfoFunction · 0.85
printInsertStatementInfoFunction · 0.85
printCreateStatementInfoFunction · 0.85
printImportStatementInfoFunction · 0.85
printExportStatementInfoFunction · 0.85
typeMethod · 0.45

Tested by

no test coverage detected