1 #ifndef BDB_FILEDUMP__HPP
2 #define BDB_FILEDUMP__HPP
66 void SetColumnSeparator(
const string& col_separator);
75 void SetColumnNames(EPrintFieldNames print_names);
87 void SetValueFormatting(EValueFormatting vf);
94 eBlobSummary = (1 << 0),
96 eBlobAsHex = (1 << 2),
118 void SetQuery(
const string& query_str);
134 void x_SetQuoteFlags(vector<unsigned>*
flags,
139 const vector<unsigned>& quote_flags,
BDB Data Field Buffer manager class.
Berkeley DB file cursor class.
Utility class to convert DBD files into text files.
Query class incapsulates query tree (query clause) and implements set of utility methods to construct...
std::ofstream out("events_result.xml")
main entry point for tests
void SetValueFormatting(EValueFormatting vf)
EValueFormatting
Field value formatting controls.
EValueFormatting m_ValueFormatting
unsigned GetRecordsDumped() const
Return number of records processed by Dump.
EPrintFieldNames m_PrintNames
void SetColumnNames(EPrintFieldNames print_names)
Control field names printing.
void SetColumnSeparator(const string &col_separator)
TBlobFormat GetBlobFormat() const
EBlobFormatting
BLOB value formatting controls.
void SetBlobDumpFile(const string &fname)
Set BLOB dump file name.
unsigned int m_RecordsDumped
void SetBlobFormat(TBlobFormat bf)
void SetOutFile(CBDB_File *out_dbf)
Set reference on output file (mode when all dumped records are put into a separate database) Class do...
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
const struct ncbi::grid::netcache::search::fields::KEY key
void Dump(CSplitCacheApp *app, const C &obj, ESerialDataFormat format, const string &key, const string &suffix=kEmptyStr)