Class QueryContainer
Inheritance
QueryContainer
Assembly: OpenSearch.Client.dll
Syntax
[DataContract]
public class QueryContainer : IQueryContainer, IDescriptor
Constructors
|
Edit this page
View Source
QueryContainer()
Declaration
|
Edit this page
View Source
QueryContainer(QueryBase)
Declaration
public QueryContainer(QueryBase query)
Parameters
Methods
|
Edit this page
View Source
Accept(IQueryVisitor)
Declaration
public void Accept(IQueryVisitor visitor)
Parameters
|
Edit this page
View Source
Name(string)
Assigns a name to the contained query.
Declaration
public QueryContainer Name(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
|
Edit this page
View Source
Strict(bool, bool)
Applies or removes the strict
attribute to the contained query and optionally to all child sub-queries.
Declaration
public QueryContainer Strict(bool strict = true, bool recurse = false)
Parameters
Type |
Name |
Description |
bool |
strict |
|
bool |
recurse |
When true, it applies the attribute to all child sub-queries.
|
Returns
|
Edit this page
View Source
Verbatim(bool, bool)
Applies or removes the verbatim
attribute to the contained query and optionally to all child sub-queries.
Declaration
public QueryContainer Verbatim(bool verbatim = true, bool recurse = false)
Parameters
Type |
Name |
Description |
bool |
verbatim |
|
bool |
recurse |
When true, it applies the attribute to all child sub-queries.
|
Returns
Operators
|
Edit this page
View Source
operator &(QueryContainer, QueryContainer)
Declaration
public static QueryContainer operator &(QueryContainer leftContainer, QueryContainer rightContainer)
Parameters
Returns
|
Edit this page
View Source
operator |(QueryContainer, QueryContainer)
Declaration
public static QueryContainer operator |(QueryContainer leftContainer, QueryContainer rightContainer)
Parameters
Returns
|
Edit this page
View Source
operator false(QueryContainer)
Declaration
public static bool operator false(QueryContainer a)
Parameters
Returns
|
Edit this page
View Source
operator !(QueryContainer)
Declaration
public static QueryContainer operator !(QueryContainer queryContainer)
Parameters
Returns
|
Edit this page
View Source
operator true(QueryContainer)
Declaration
public static bool operator true(QueryContainer a)
Parameters
Returns
|
Edit this page
View Source
operator +(QueryContainer)
Declaration
public static QueryContainer operator +(QueryContainer queryContainer)
Parameters
Returns
Implements
Extension Methods