IODA Bundle
|
#include <SplitTool.h>
Public Member Functions | |
SplitTool (int argc, char *argv[]) | |
void | run () |
![]() | |
virtual | ~Tool () |
std::string | name () |
void | name (const std::string &s) |
![]() | |
CommandLineParser (int argc, char **argv) | |
CommandLineParser (const CommandLineParser &) | |
CommandLineParser & | operator= (const CommandLineParser &) |
virtual | ~CommandLineParser () |
void | registerOptionWithArgument (const std::string &) |
const std::vector< std::string > | parameters () |
std::string | parameters (size_t i) |
bool | optionIsSet (const std::string &) |
template<typename T > | |
T | optionArgument (const std::string &, T defaultValue) |
int | argc () |
std::string | argv (int i) |
char ** | argv () |
Static Public Member Functions | |
static void | help (std::ostream &o) |
static void | usage (const std::string &name, std::ostream &o) |
static void | split (const eckit::PathName &, const std::string &, size_t, bool verify=true) |
static void | presortAndSplit (const eckit::PathName &, const std::string &) |
static std::vector< std::pair< eckit::Offset, eckit::Length > > | getChunks (const eckit::PathName &, size_t maxExpandedSize=100 *1024 *1024) |
![]() | |
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 &) |
Private Member Functions | |
SplitTool (const SplitTool &) | |
SplitTool & | operator= (const SplitTool &) |
Static Private Member Functions | |
static std::string | genOrderBySelect (const std::string &, const std::string &) |
Private Attributes | |
long | maxOpenFiles_ |
bool | sort_ |
Additional Inherited Members | |
![]() | |
Tool (int argc, char **argv) | |
Tool (const CommandLineParser &) | |
Definition at line 25 of file SplitTool.h.
odc::tool::SplitTool::SplitTool | ( | int | argc, |
char * | argv[] | ||
) |
|
private |
|
staticprivate |
Definition at line 106 of file SplitTool.cc.
|
static |
maxExpandedSize | maximum size of the data in chunks after decoding |
Definition at line 66 of file SplitTool.cc.
|
inlinestatic |
Definition at line 31 of file SplitTool.h.
|
static |
Definition at line 124 of file SplitTool.cc.
|
virtual |
Implements odc::tool::Tool.
Definition at line 39 of file SplitTool.cc.
|
static |
Definition at line 141 of file SplitTool.cc.
|
inlinestatic |
Definition at line 36 of file SplitTool.h.
|
private |
Definition at line 52 of file SplitTool.h.
|
private |
Definition at line 53 of file SplitTool.h.