5 #ifndef JODA_STORE_ACTIONS_H
6 #define JODA_STORE_ACTIONS_H
8 #include "../grammar/Grammar.h"
9 #include "../states/States.h"
19 template <
typename Input>
21 state.
exportDest = std::make_unique<StorageExport>(
28 template <
typename Input>
30 std::string
pointer = in.string();
31 state.
putValProv(std::make_unique<joda::query::PointerProvider>(
33 state.
exportDest = std::make_unique<JoinExport>(
35 std::make_unique<joda::query::PointerProvider>(
41 template <
typename Input>
43 state.
exportDest = std::make_unique<FileExport>(in.string());
49 template <
typename Input>
51 state.
exportDest = std::make_unique<DirectoryExport>(in.string());
static StorageCollection & getInstance()
Definition: StorageCollection.h:32
Definition: Literals.h:156
Definition: Literals.h:27
static void apply(const Input &in, storeState &state)
Definition: Store_Actions.h:29
static void apply(const Input &in, storeState &state)
Definition: Store_Actions.h:42
static void apply(const Input &in, storeState &state)
Definition: Store_Actions.h:50
static void apply(const Input &in, storeState &state)
Definition: Store_Actions.h:20
Definition: Store_State.h:11
std::unique_ptr< IExportDestination > exportDest
Definition: Store_State.h:35
bool putValProv(std::unique_ptr< joda::query::IValueProvider > &&val)
Definition: Store_State.h:23