42 const std::string &
getLoad()
const;
67 void setPredicate(std::unique_ptr<Predicate> &&predicate);
85 const std::vector<std::unique_ptr<IProjector>> &
getProjectors()
const;
113 const std::vector<std::unique_ptr<IAggregator>> &
getAggregators()
const;
114 const std::vector<std::unique_ptr<docparsing::IImportSource>>
116 void addImportSource(std::unique_ptr<docparsing::IImportSource> &&source);
169 std::unique_ptr<Predicate>
pred =
nullptr;
Definition: RapidJsonDocument.h:22
const std::vector< std::unique_ptr< IAggregator > > & getAggregators() const
Definition: Query.cpp:39
Query()
Definition: Query.cpp:34
std::vector< std::string > getChooseAttributes() const
Definition: Query.cpp:209
void setStoreJoinManager(const std::shared_ptr< JoinManager > &storeJoinManager)
Definition: Query.cpp:160
std::vector< std::string > getASAttributes() const
Definition: Query.cpp:218
std::string toString() const
Definition: Query.cpp:92
std::shared_ptr< JoinManager > storeJoinManager
Definition: Query.h:187
std::shared_ptr< JoinManager > loadJoinManager
Definition: Query.h:164
std::string load
Definition: Query.h:162
const std::vector< std::unique_ptr< docparsing::IImportSource > > & getImportSources() const
Definition: Query.cpp:166
void setDelete(const std::string &del)
Definition: Query.cpp:60
const std::string & getLoad() const
Definition: Query.cpp:52
std::string store
Definition: Query.h:188
bool canCreateView() const
Definition: Query.cpp:244
std::string del
Definition: Query.h:193
std::vector< std::string > getAllUsedAttributes() const
Definition: Query.cpp:185
bool chooseIsConst(bool &val) const
Definition: Query.cpp:81
void setLoad(const std::string &load)
Definition: Query.cpp:54
std::vector< std::string > getAGGAttributes() const
Definition: Query.cpp:233
std::unique_ptr< Predicate > pred
Definition: Query.h:169
void addImportSource(std::unique_ptr< docparsing::IImportSource > &&source)
Definition: Query.cpp:170
const std::shared_ptr< JoinManager > & getLoadJoinManager() const
Definition: Query.cpp:145
std::vector< std::unique_ptr< ISetProjector > > setProjectors
Definition: Query.h:175
std::unique_ptr< IExportDestination > exportDestination
Definition: Query.h:186
void setLoadJoinManager(const std::shared_ptr< JoinManager > &loadJoinManager)
Definition: Query.cpp:150
void addAggregator(std::unique_ptr< IAggregator > &&agg)
Definition: Query.cpp:28
void setExportDestination(std::unique_ptr< IExportDestination > &&exportDestination)
Definition: Query.cpp:180
std::vector< std::unique_ptr< IAggregator > > aggregators
Definition: Query.h:181
std::unique_ptr< IExportDestination > & getExportDestination()
Definition: Query.cpp:176
void setPredicate(std::unique_ptr< Predicate > &&predicate)
Definition: Query.cpp:17
std::vector< std::unique_ptr< docparsing::IImportSource > > importSources
Definition: Query.h:161
bool hasAggregators()
Definition: Query.cpp:32
bool isDefault() const
Definition: Query.cpp:64
const std::vector< std::unique_ptr< ISetProjector > > & getSetProjectors() const
Definition: Query.cpp:73
const std::string & getDelete() const
Definition: Query.cpp:58
bool check(const RapidJsonDocument &json) const
Definition: Query.cpp:13
const std::vector< std::unique_ptr< IProjector > > & getProjectors() const
Definition: Query.cpp:48
std::vector< std::unique_ptr< IProjector > > projectors
Definition: Query.h:174
std::unique_ptr< Predicate > getPredicate() const
Definition: Query.cpp:21
void addProjection(std::unique_ptr< IProjector > &&expr)
Definition: Query.cpp:43
const std::shared_ptr< JoinManager > & getStoreJoinManager() const
Definition: Query.cpp:155
Definition: AttributeStatAggregator.h:12