Apache Ignite C++
Public Member Functions | List of all members
ignite::cache::query::TextQuery Class Reference

Text query. More...

#include <query_text.h>

Public Member Functions

 TextQuery (const std::string &type, const std::string &text)
 Constructor. More...
 
const std::string & GetType () const
 Get type name. More...
 
void SetType (const std::string &type)
 Set type name. More...
 
const std::string & GetText () const
 Get text string. More...
 
void SetText (const std::string &text)
 Set text string. More...
 
int32_t GetPageSize () const
 Get page size. More...
 
void SetPageSize (int32_t pageSize)
 Set page size. More...
 
bool IsLocal () const
 Get local flag. More...
 
void SetLocal (bool loc)
 Set local flag. More...
 
void Write (binary::BinaryRawWriter &writer) const
 Write query info to the stream. More...
 

Detailed Description

Text query.

Constructor & Destructor Documentation

ignite::cache::query::TextQuery::TextQuery ( const std::string &  type,
const std::string &  text 
)
inline

Constructor.

Parameters
typeType name.
textText string.

Member Function Documentation

int32_t ignite::cache::query::TextQuery::GetPageSize ( ) const
inline

Get page size.

Returns
Page size.
const std::string& ignite::cache::query::TextQuery::GetText ( ) const
inline

Get text string.

Returns
text string.
const std::string& ignite::cache::query::TextQuery::GetType ( ) const
inline

Get type name.

Returns
Type name.
bool ignite::cache::query::TextQuery::IsLocal ( ) const
inline

Get local flag.

Returns
Local flag.
void ignite::cache::query::TextQuery::SetLocal ( bool  loc)
inline

Set local flag.

Parameters
locLocal flag.
void ignite::cache::query::TextQuery::SetPageSize ( int32_t  pageSize)
inline

Set page size.

Parameters
pageSizePage size.
void ignite::cache::query::TextQuery::SetText ( const std::string &  text)
inline

Set text string.

Parameters
textText string.
void ignite::cache::query::TextQuery::SetType ( const std::string &  type)
inline

Set type name.

Parameters
sqlType name.
void ignite::cache::query::TextQuery::Write ( binary::BinaryRawWriter writer) const
inline

Write query info to the stream.

Parameters
writerWriter.

The documentation for this class was generated from the following file: