#include <ImportTool.h>
|
static void | help (std::ostream &o) |
|
static void | usage (const std::string &name, std::ostream &o) |
|
static void | importFile (const eckit::PathName &in, const eckit::PathName &out, const std::string &delimiter=defaultDelimiter()) |
|
static void | filterAndImportFile (const eckit::PathName &in, const eckit::PathName &out, const std::string &sql, const std::string &delimiter=defaultDelimiter()) |
|
static std::string | defaultDelimiter () |
|
static void | registerTools () |
|
static std::string | readFile (const eckit::PathName fileName, bool logging=false) |
|
static std::vector< std::string > | readLines (const eckit::PathName fileName, bool logging=false) |
|
static void | trimInPlace (std::string &) |
|
static bool | match (const std::string ®ex, const std::string &) |
|
static bool | matchAny (const std::vector< std::string > ®s, const std::string &) |
|
static bool | check (const std::string &, ctypeFun) |
|
static bool | isInQuotes (const std::string &) |
|
static std::string | unQuote (const std::string &) |
|
static double | cast_as_double (const std::string &) |
|
static std::string | double_as_string (double) |
|
static std::string | int_as_double2string (double) |
|
static int | shell (std::string cmd, const eckit::CodeLocation &where, bool assertSuccess=true) |
|
static double | translate (const std::string &v) |
|
static std::string | valueAsString (double, api::ColumnType) |
|
static std::string | patchTimeForMars (const std::string &v) |
|
static bool | isSelectStatement (const std::string &) |
|
Definition at line 21 of file ImportTool.h.
◆ ImportTool() [1/2]
odc::tool::ImportTool::ImportTool |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ ImportTool() [2/2]
odc::tool::ImportTool::ImportTool |
( |
const ImportTool & |
| ) |
|
|
private |
◆ defaultDelimiter()
static std::string odc::tool::ImportTool::defaultDelimiter |
( |
| ) |
|
|
inlinestatic |
◆ filterAndImportFile()
void odc::tool::ImportTool::filterAndImportFile |
( |
const eckit::PathName & |
in, |
|
|
const eckit::PathName & |
out, |
|
|
const std::string & |
sql, |
|
|
const std::string & |
delimiter = defaultDelimiter() |
|
) |
| |
|
static |
◆ help()
void odc::tool::ImportTool::help |
( |
std::ostream & |
o | ) |
|
|
static |
◆ importFile()
void odc::tool::ImportTool::importFile |
( |
const eckit::PathName & |
in, |
|
|
const eckit::PathName & |
out, |
|
|
const std::string & |
delimiter = defaultDelimiter() |
|
) |
| |
|
static |
◆ operator=()
◆ run()
void odc::tool::ImportTool::run |
( |
| ) |
|
|
virtual |
◆ usage()
void odc::tool::ImportTool::usage |
( |
const std::string & |
name, |
|
|
std::ostream & |
o |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: