Couchbase .NET SDK | 3.9.0
Search Results for

    Show / Hide Table of Contents

    Class Query

    Inheritance
    object
    Query
    Implements
    IMessage<Query>
    IEquatable<Query>
    IDeepCloneable<Query>
    IBufferMessage
    IMessage
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Couchbase.Protostellar.Search.V1
    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
    public Query()
    | 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
    Type Description
    int
    | Edit this page View Source

    BooleanQueryFieldNumber

    Field number for the "boolean_query" field.

    Declaration
    public const int BooleanQueryFieldNumber = 2
    Field Value
    Type Description
    int
    | Edit this page View Source

    ConjunctionQueryFieldNumber

    Field number for the "conjunction_query" field.

    Declaration
    public const int ConjunctionQueryFieldNumber = 3
    Field Value
    Type Description
    int
    | Edit this page View Source

    DateRangeQueryFieldNumber

    Field number for the "date_range_query" field.

    Declaration
    public const int DateRangeQueryFieldNumber = 4
    Field Value
    Type Description
    int
    | Edit this page View Source

    DisjunctionQueryFieldNumber

    Field number for the "disjunction_query" field.

    Declaration
    public const int DisjunctionQueryFieldNumber = 5
    Field Value
    Type Description
    int
    | Edit this page View Source

    DocIdQueryFieldNumber

    Field number for the "doc_id_query" field.

    Declaration
    public const int DocIdQueryFieldNumber = 6
    Field Value
    Type Description
    int
    | Edit this page View Source

    GeoBoundingBoxQueryFieldNumber

    Field number for the "geo_bounding_box_query" field.

    Declaration
    public const int GeoBoundingBoxQueryFieldNumber = 7
    Field Value
    Type Description
    int
    | Edit this page View Source

    GeoDistanceQueryFieldNumber

    Field number for the "geo_distance_query" field.

    Declaration
    public const int GeoDistanceQueryFieldNumber = 8
    Field Value
    Type Description
    int
    | Edit this page View Source

    GeoPolygonQueryFieldNumber

    Field number for the "geo_polygon_query" field.

    Declaration
    public const int GeoPolygonQueryFieldNumber = 9
    Field Value
    Type Description
    int
    | Edit this page View Source

    MatchAllQueryFieldNumber

    Field number for the "match_all_query" field.

    Declaration
    public const int MatchAllQueryFieldNumber = 10
    Field Value
    Type Description
    int
    | Edit this page View Source

    MatchNoneQueryFieldNumber

    Field number for the "match_none_query" field.

    Declaration
    public const int MatchNoneQueryFieldNumber = 11
    Field Value
    Type Description
    int
    | Edit this page View Source

    MatchPhraseQueryFieldNumber

    Field number for the "match_phrase_query" field.

    Declaration
    public const int MatchPhraseQueryFieldNumber = 12
    Field Value
    Type Description
    int
    | Edit this page View Source

    MatchQueryFieldNumber

    Field number for the "match_query" field.

    Declaration
    public const int MatchQueryFieldNumber = 13
    Field Value
    Type Description
    int
    | Edit this page View Source

    NumericRangeQueryFieldNumber

    Field number for the "numeric_range_query" field.

    Declaration
    public const int NumericRangeQueryFieldNumber = 14
    Field Value
    Type Description
    int
    | Edit this page View Source

    PhraseQueryFieldNumber

    Field number for the "phrase_query" field.

    Declaration
    public const int PhraseQueryFieldNumber = 15
    Field Value
    Type Description
    int
    | Edit this page View Source

    PrefixQueryFieldNumber

    Field number for the "prefix_query" field.

    Declaration
    public const int PrefixQueryFieldNumber = 16
    Field Value
    Type Description
    int
    | Edit this page View Source

    QueryStringQueryFieldNumber

    Field number for the "query_string_query" field.

    Declaration
    public const int QueryStringQueryFieldNumber = 17
    Field Value
    Type Description
    int
    | Edit this page View Source

    RegexpQueryFieldNumber

    Field number for the "regexp_query" field.

    Declaration
    public const int RegexpQueryFieldNumber = 18
    Field Value
    Type Description
    int
    | Edit this page View Source

    TermQueryFieldNumber

    Field number for the "term_query" field.

    Declaration
    public const int TermQueryFieldNumber = 19
    Field Value
    Type Description
    int
    | Edit this page View Source

    TermRangeQueryFieldNumber

    Field number for the "term_range_query" field.

    Declaration
    public const int TermRangeQueryFieldNumber = 20
    Field Value
    Type Description
    int
    | Edit this page View Source

    WildcardQueryFieldNumber

    Field number for the "wildcard_query" field.

    Declaration
    public const int WildcardQueryFieldNumber = 21
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    BooleanFieldQuery

    Declaration
    public BooleanFieldQuery BooleanFieldQuery { get; set; }
    Property Value
    Type Description
    BooleanFieldQuery
    | Edit this page View Source

    BooleanQuery

    Declaration
    public BooleanQuery BooleanQuery { get; set; }
    Property Value
    Type Description
    BooleanQuery
    | Edit this page View Source

    ConjunctionQuery

    Declaration
    public ConjunctionQuery ConjunctionQuery { get; set; }
    Property Value
    Type Description
    ConjunctionQuery
    | Edit this page View Source

    DateRangeQuery

    Declaration
    public DateRangeQuery DateRangeQuery { get; set; }
    Property Value
    Type Description
    DateRangeQuery
    | 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
    Type Description
    DisjunctionQuery
    | Edit this page View Source

    DocIdQuery

    Declaration
    public DocIdQuery DocIdQuery { get; set; }
    Property Value
    Type Description
    DocIdQuery
    | Edit this page View Source

    GeoBoundingBoxQuery

    Declaration
    public GeoBoundingBoxQuery GeoBoundingBoxQuery { get; set; }
    Property Value
    Type Description
    GeoBoundingBoxQuery
    | Edit this page View Source

    GeoDistanceQuery

    Declaration
    public GeoDistanceQuery GeoDistanceQuery { get; set; }
    Property Value
    Type Description
    GeoDistanceQuery
    | Edit this page View Source

    GeoPolygonQuery

    Declaration
    public GeoPolygonQuery GeoPolygonQuery { get; set; }
    Property Value
    Type Description
    GeoPolygonQuery
    | Edit this page View Source

    MatchAllQuery

    Declaration
    public MatchAllQuery MatchAllQuery { get; set; }
    Property Value
    Type Description
    MatchAllQuery
    | Edit this page View Source

    MatchNoneQuery

    Declaration
    public MatchNoneQuery MatchNoneQuery { get; set; }
    Property Value
    Type Description
    MatchNoneQuery
    | Edit this page View Source

    MatchPhraseQuery

    Declaration
    public MatchPhraseQuery MatchPhraseQuery { get; set; }
    Property Value
    Type Description
    MatchPhraseQuery
    | Edit this page View Source

    MatchQuery

    Declaration
    public MatchQuery MatchQuery { get; set; }
    Property Value
    Type Description
    MatchQuery
    | Edit this page View Source

    NumericRangeQuery

    Declaration
    public NumericRangeQuery NumericRangeQuery { get; set; }
    Property Value
    Type Description
    NumericRangeQuery
    | 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
    Type Description
    PhraseQuery
    | Edit this page View Source

    PrefixQuery

    Declaration
    public PrefixQuery PrefixQuery { get; set; }
    Property Value
    Type Description
    PrefixQuery
    | Edit this page View Source

    QueryCase

    Declaration
    public Query.QueryOneofCase QueryCase { get; }
    Property Value
    Type Description
    Query.QueryOneofCase
    | Edit this page View Source

    QueryStringQuery

    Declaration
    public QueryStringQuery QueryStringQuery { get; set; }
    Property Value
    Type Description
    QueryStringQuery
    | Edit this page View Source

    RegexpQuery

    Declaration
    public RegexpQuery RegexpQuery { get; set; }
    Property Value
    Type Description
    RegexpQuery
    | Edit this page View Source

    TermQuery

    Declaration
    public TermQuery TermQuery { get; set; }
    Property Value
    Type Description
    TermQuery
    | Edit this page View Source

    TermRangeQuery

    Declaration
    public TermRangeQuery TermRangeQuery { get; set; }
    Property Value
    Type Description
    TermRangeQuery
    | Edit this page View Source

    WildcardQuery

    Declaration
    public WildcardQuery WildcardQuery { get; set; }
    Property Value
    Type Description
    WildcardQuery

    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
    public void ClearQuery()
    | Edit this page View Source

    Clone()

    Creates a deep clone of this object.

    Declaration
    public Query Clone()
    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
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    object other
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | 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
    Remarks

    See the user guide for precise merge semantics.

    | Edit this page View Source

    MergeFrom(CodedInputStream)

    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
    Remarks

    See the user guide for precise merge semantics.

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    | 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>
    IEquatable<T>
    Google.Protobuf.IDeepCloneable<T>
    Google.Protobuf.IBufferMessage
    Google.Protobuf.IMessage
    • Edit this page
    • View Source
    In this article
    Back to top © 2026 Couchbase, Inc.