MarkLogic Connect
MarkLogic Connect Client API Collection
Public Member Functions | Protected Member Functions | List of all members
mlclient::utilities::JsonPropertyQuery Class Reference

A JSON property value query instance implementation of an IQuery. More...

#include <SearchBuilder.hpp>

Inheritance diagram for mlclient::utilities::JsonPropertyQuery:
mlclient::utilities::IQuery

Public Member Functions

MLCLIENT_API JsonPropertyQuery ()
 Creates a blank JSON property value query.
 
MLCLIENT_API void setQuery (const std::string &property, const std::string &value)
 Sets the property query given the named property and string query value. More...
 
MLCLIENT_API const std::string & getQuery () const
 Returns the underlying string query (structured query) as a string. More...
 
- Public Member Functions inherited from mlclient::utilities::IQuery
MLCLIENT_API IQuery ()=default
 Default Constructor.
 
virtual MLCLIENT_API ~IQuery ()=default
 Default Destructor.
 

Protected Member Functions

std::ostream & write (std::ostream &os) const override
 

Detailed Description

A JSON property value query instance implementation of an IQuery.

Since
8.0.2

See IQuery for details

Member Function Documentation

MLCLIENT_API const std::string& mlclient::utilities::JsonPropertyQuery::getQuery ( ) const

Returns the underlying string query (structured query) as a string.

Returns
The JSON structured query string
MLCLIENT_API void mlclient::utilities::JsonPropertyQuery::setQuery ( const std::string &  property,
const std::string &  value 
)

Sets the property query given the named property and string query value.

Parameters
propertyThe full property name
valuethe exact string value to match

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