Class Query
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class Query : IMessage<Query>, IEquatable<Query>, IDeepCloneable<Query>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
Query()
Declaration
|
Edit this page
View Source
Query(Query)
Declaration
public Query(Query other)
Parameters
Type |
Name |
Description |
Query |
other |
|
Fields
|
Edit this page
View Source
BooleanFieldQueryFieldNumber
Field number for the "boolean_field_query" field.
Declaration
public const int BooleanFieldQueryFieldNumber = 1
Field Value
|
Edit this page
View Source
BooleanQueryFieldNumber
Field number for the "boolean_query" field.
Declaration
public const int BooleanQueryFieldNumber = 2
Field Value
|
Edit this page
View Source
ConjunctionQueryFieldNumber
Field number for the "conjunction_query" field.
Declaration
public const int ConjunctionQueryFieldNumber = 3
Field Value
|
Edit this page
View Source
DateRangeQueryFieldNumber
Field number for the "date_range_query" field.
Declaration
public const int DateRangeQueryFieldNumber = 4
Field Value
|
Edit this page
View Source
DisjunctionQueryFieldNumber
Field number for the "disjunction_query" field.
Declaration
public const int DisjunctionQueryFieldNumber = 5
Field Value
|
Edit this page
View Source
DocIdQueryFieldNumber
Field number for the "doc_id_query" field.
Declaration
public const int DocIdQueryFieldNumber = 6
Field Value
|
Edit this page
View Source
GeoBoundingBoxQueryFieldNumber
Field number for the "geo_bounding_box_query" field.
Declaration
public const int GeoBoundingBoxQueryFieldNumber = 7
Field Value
|
Edit this page
View Source
GeoDistanceQueryFieldNumber
Field number for the "geo_distance_query" field.
Declaration
public const int GeoDistanceQueryFieldNumber = 8
Field Value
|
Edit this page
View Source
GeoPolygonQueryFieldNumber
Field number for the "geo_polygon_query" field.
Declaration
public const int GeoPolygonQueryFieldNumber = 9
Field Value
|
Edit this page
View Source
MatchAllQueryFieldNumber
Field number for the "match_all_query" field.
Declaration
public const int MatchAllQueryFieldNumber = 10
Field Value
|
Edit this page
View Source
MatchNoneQueryFieldNumber
Field number for the "match_none_query" field.
Declaration
public const int MatchNoneQueryFieldNumber = 11
Field Value
|
Edit this page
View Source
MatchPhraseQueryFieldNumber
Field number for the "match_phrase_query" field.
Declaration
public const int MatchPhraseQueryFieldNumber = 12
Field Value
|
Edit this page
View Source
MatchQueryFieldNumber
Field number for the "match_query" field.
Declaration
public const int MatchQueryFieldNumber = 13
Field Value
|
Edit this page
View Source
NumericRangeQueryFieldNumber
Field number for the "numeric_range_query" field.
Declaration
public const int NumericRangeQueryFieldNumber = 14
Field Value
|
Edit this page
View Source
PhraseQueryFieldNumber
Field number for the "phrase_query" field.
Declaration
public const int PhraseQueryFieldNumber = 15
Field Value
|
Edit this page
View Source
PrefixQueryFieldNumber
Field number for the "prefix_query" field.
Declaration
public const int PrefixQueryFieldNumber = 16
Field Value
|
Edit this page
View Source
QueryStringQueryFieldNumber
Field number for the "query_string_query" field.
Declaration
public const int QueryStringQueryFieldNumber = 17
Field Value
|
Edit this page
View Source
RegexpQueryFieldNumber
Field number for the "regexp_query" field.
Declaration
public const int RegexpQueryFieldNumber = 18
Field Value
|
Edit this page
View Source
TermQueryFieldNumber
Field number for the "term_query" field.
Declaration
public const int TermQueryFieldNumber = 19
Field Value
|
Edit this page
View Source
TermRangeQueryFieldNumber
Field number for the "term_range_query" field.
Declaration
public const int TermRangeQueryFieldNumber = 20
Field Value
|
Edit this page
View Source
WildcardQueryFieldNumber
Field number for the "wildcard_query" field.
Declaration
public const int WildcardQueryFieldNumber = 21
Field Value
Properties
|
Edit this page
View Source
BooleanFieldQuery
Declaration
public BooleanFieldQuery BooleanFieldQuery { get; set; }
Property Value
|
Edit this page
View Source
BooleanQuery
Declaration
public BooleanQuery BooleanQuery { get; set; }
Property Value
|
Edit this page
View Source
ConjunctionQuery
Declaration
public ConjunctionQuery ConjunctionQuery { get; set; }
Property Value
|
Edit this page
View Source
DateRangeQuery
Declaration
public DateRangeQuery DateRangeQuery { get; set; }
Property Value
|
Edit this page
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
MessageDescriptor |
|
|
Edit this page
View Source
DisjunctionQuery
Declaration
public DisjunctionQuery DisjunctionQuery { get; set; }
Property Value
|
Edit this page
View Source
DocIdQuery
Declaration
public DocIdQuery DocIdQuery { get; set; }
Property Value
|
Edit this page
View Source
GeoBoundingBoxQuery
Declaration
public GeoBoundingBoxQuery GeoBoundingBoxQuery { get; set; }
Property Value
|
Edit this page
View Source
GeoDistanceQuery
Declaration
public GeoDistanceQuery GeoDistanceQuery { get; set; }
Property Value
|
Edit this page
View Source
GeoPolygonQuery
Declaration
public GeoPolygonQuery GeoPolygonQuery { get; set; }
Property Value
|
Edit this page
View Source
MatchAllQuery
Declaration
public MatchAllQuery MatchAllQuery { get; set; }
Property Value
|
Edit this page
View Source
MatchNoneQuery
Declaration
public MatchNoneQuery MatchNoneQuery { get; set; }
Property Value
|
Edit this page
View Source
MatchPhraseQuery
Declaration
public MatchPhraseQuery MatchPhraseQuery { get; set; }
Property Value
|
Edit this page
View Source
MatchQuery
Declaration
public MatchQuery MatchQuery { get; set; }
Property Value
|
Edit this page
View Source
NumericRangeQuery
Declaration
public NumericRangeQuery NumericRangeQuery { get; set; }
Property Value
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<Query> Parser { get; }
Property Value
Type |
Description |
MessageParser<Query> |
|
|
Edit this page
View Source
PhraseQuery
Declaration
public PhraseQuery PhraseQuery { get; set; }
Property Value
|
Edit this page
View Source
PrefixQuery
Declaration
public PrefixQuery PrefixQuery { get; set; }
Property Value
|
Edit this page
View Source
QueryCase
Declaration
public Query.QueryOneofCase QueryCase { get; }
Property Value
|
Edit this page
View Source
QueryStringQuery
Declaration
public QueryStringQuery QueryStringQuery { get; set; }
Property Value
|
Edit this page
View Source
RegexpQuery
Declaration
public RegexpQuery RegexpQuery { get; set; }
Property Value
|
Edit this page
View Source
TermQuery
Declaration
public TermQuery TermQuery { get; set; }
Property Value
|
Edit this page
View Source
TermRangeQuery
Declaration
public TermRangeQuery TermRangeQuery { get; set; }
Property Value
|
Edit this page
View Source
WildcardQuery
Declaration
public WildcardQuery WildcardQuery { get; set; }
Property Value
Methods
|
Edit this page
View Source
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Declaration
public int CalculateSize()
Returns
Type |
Description |
int |
The number of bytes required to write this message
to a coded output stream.
|
|
Edit this page
View Source
ClearQuery()
Declaration
|
Edit this page
View Source
Clone()
Creates a deep clone of this object.
Declaration
Returns
Type |
Description |
Query |
A deep clone of this object.
|
|
Edit this page
View Source
Equals(Query)
Declaration
public bool Equals(Query other)
Parameters
Type |
Name |
Description |
Query |
other |
|
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
MergeFrom(Query)
Merges the given message into this one.
Declaration
public void MergeFrom(Query other)
Parameters
Type |
Name |
Description |
Query |
other |
|
|
Edit this page
View Source
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type |
Name |
Description |
CodedInputStream |
input |
|
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Edit this page
View Source
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type |
Name |
Description |
CodedOutputStream |
output |
Coded output stream to write the data to. Must not be null.
|
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage