23 #ifndef _IGNITE_CACHE_QUERY_QUERY_TEXT 24 #define _IGNITE_CACHE_QUERY_QUERY_TEXT 49 TextQuery(
const std::string& type,
const std::string& text) :
50 type(type), text(text), pageSize(1024), loc(false)
112 this->pageSize = pageSize;
165 #endif //_IGNITE_CACHE_QUERY_QUERY_TEXT const std::string & GetType() const
Get type name.
Definition: query_text.h:60
Text query.
Definition: query_text.h:40
Declares ignite::binary::BinaryRawWriter class.
void SetType(const std::string &type)
Set type name.
Definition: query_text.h:70
void WriteInt32(int32_t val)
Write 32-byte signed integer.
Definition: binary_raw_writer.cpp:72
int32_t GetPageSize() const
Get page size.
Definition: query_text.h:100
void WriteString(const char *val)
Write string.
Definition: binary_raw_writer.cpp:152
TextQuery(const std::string &type, const std::string &text)
Constructor.
Definition: query_text.h:49
void SetLocal(bool loc)
Set local flag.
Definition: query_text.h:130
void SetText(const std::string &text)
Set text string.
Definition: query_text.h:90
Binary raw writer.
Definition: binary_raw_writer.h:55
const std::string & GetText() const
Get text string.
Definition: query_text.h:80
bool IsLocal() const
Get local flag.
Definition: query_text.h:120
void WriteBool(bool val)
Write bool.
Definition: binary_raw_writer.cpp:42
void Write(binary::BinaryRawWriter &writer) const
Write query info to the stream.
Definition: query_text.h:140
void SetPageSize(int32_t pageSize)
Set page size.
Definition: query_text.h:110
Apache Ignite API.
Definition: cache.h:48