49 void setDelimiters(
const std::vector<const std::wstring>& delimiters);
57 void setInput(
const std::wstring& input);
std::wstring getNextBatch()
get next batch to execute
Definition: OdbcParser.cpp:69
PathResolver * getPathResolver() const
get path resolver used
Definition: OdbcParser.cpp:47
virtual ~OdbcParser()
Definition: OdbcParser.cpp:11
void setSqlFlavour(const std::wstring &sqlFlavour)
select sql flavor (type of command-line tool)
Definition: OdbcParser.cpp:16
void setInput(const std::wstring &input)
set input string to process
Definition: OdbcParser.cpp:58
void setSourcePath(const std::wstring &sourceName)
set input source path (e.g. file name or MSI binary ID)
Definition: OdbcParser.cpp:52
Definition: OdbcParserImpl.h:13
Definition: OdbcParser.h:38
bool exitOnErrorFlag()
returns current state of error processing in the script
Definition: OdbcParser.cpp:74
OdbcParser()
Definition: OdbcParser.cpp:6
Definition: PathResolver.h:14
bool hasMore()
check if there are more batches in the input
Definition: OdbcParser.cpp:64
void setSqlTypeOrDelimiter(const std::wstring &type, const std::wstring &delimiter)
convenience method that sets either sql flavour or delimiter - whichever not empty.
Definition: OdbcParser.cpp:26
std::wstring processInsertsOnly()
return input with all files inserted (flatten input)
Definition: OdbcParser.cpp:79
void setDelimiters(const std::vector< const std::wstring > &delimiters)
set arbitrary delimiters (insert commands not supported)
Definition: OdbcParser.cpp:21
void setPathResolver(PathResolver *pathResolver)
set path resolver (default - file system path resolver)
Definition: OdbcParser.cpp:42