15 #ifndef _GRIDGAIN_CACHE_QUERY_TEXT 16 #define _GRIDGAIN_CACHE_QUERY_TEXT 41 TextQuery(
const std::string& type,
const std::string& text) : type(type), text(text), pageSize(1024), loc(false)
103 this->pageSize = pageSize;
void SetType(const std::string &type)
Set type name.
Definition: query_text.h:61
void SetText(const std::string &text)
Set text string.
Definition: query_text.h:81
bool IsLocal() const
Get local flag.
Definition: query_text.h:111
Text query.
Definition: query_text.h:32
void WriteInt32(int32_t val)
Write 32-byte signed integer.
Definition: portable_raw_writer.cpp:64
const std::string & GetText() const
Get text string.
Definition: query_text.h:71
int32_t GetPageSize() const
Get page size.
Definition: query_text.h:91
TextQuery(const std::string &type, const std::string &text)
Constructor.
Definition: query_text.h:41
void Write(portable::PortableRawWriter &writer) const
Write query info to the stream.
Definition: query_text.h:131
void WriteString(const char *val)
Write string.
Definition: portable_raw_writer.cpp:114
void WriteBool(bool val)
Write bool.
Definition: portable_raw_writer.cpp:34
void SetLocal(bool loc)
Set local flag.
Definition: query_text.h:121
const std::string & GetType() const
Get type name.
Definition: query_text.h:51
void SetPageSize(int32_t pageSize)
Set page size.
Definition: query_text.h:101
Declares gridgain::portable::PortableRawWriter class.
Portable raw writer.
Definition: portable_raw_writer.h:34
GridGain API.
Definition: cache.h:35