Class QueryRequest
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class QueryRequest : IMessage<QueryRequest>, IEquatable<QueryRequest>, IDeepCloneable<QueryRequest>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
QueryRequest()
Declaration
|
Edit this page
View Source
QueryRequest(QueryRequest)
Declaration
public QueryRequest(QueryRequest other)
Parameters
Fields
|
Edit this page
View Source
BucketNameFieldNumber
Field number for the "bucket_name" field.
Declaration
public const int BucketNameFieldNumber = 1
Field Value
|
Edit this page
View Source
ClientContextIdFieldNumber
Field number for the "client_context_id" field.
Declaration
public const int ClientContextIdFieldNumber = 7
Field Value
|
Edit this page
View Source
ConsistentWithFieldNumber
Field number for the "consistent_with" field.
Declaration
public const int ConsistentWithFieldNumber = 13
Field Value
|
Edit this page
View Source
FlexIndexFieldNumber
Field number for the "flex_index" field.
Declaration
public const int FlexIndexFieldNumber = 11
Field Value
|
Edit this page
View Source
NamedParametersFieldNumber
Field number for the "named_parameters" field.
Declaration
public const int NamedParametersFieldNumber = 10
Field Value
|
Edit this page
View Source
PositionalParametersFieldNumber
Field number for the "positional_parameters" field.
Declaration
public const int PositionalParametersFieldNumber = 9
Field Value
|
Edit this page
View Source
PreparedFieldNumber
Field number for the "prepared" field.
Declaration
public const int PreparedFieldNumber = 5
Field Value
|
Edit this page
View Source
PreserveExpiryFieldNumber
Field number for the "preserve_expiry" field.
Declaration
public const int PreserveExpiryFieldNumber = 12
Field Value
|
Edit this page
View Source
ProfileModeFieldNumber
Field number for the "profile_mode" field.
Declaration
public const int ProfileModeFieldNumber = 14
Field Value
|
Edit this page
View Source
ReadOnlyFieldNumber
Field number for the "read_only" field.
Declaration
public const int ReadOnlyFieldNumber = 4
Field Value
|
Edit this page
View Source
ScanConsistencyFieldNumber
Field number for the "scan_consistency" field.
Declaration
public const int ScanConsistencyFieldNumber = 8
Field Value
|
Edit this page
View Source
ScopeNameFieldNumber
Field number for the "scope_name" field.
Declaration
public const int ScopeNameFieldNumber = 2
Field Value
|
Edit this page
View Source
StatementFieldNumber
Field number for the "statement" field.
Declaration
public const int StatementFieldNumber = 3
Field Value
|
Edit this page
View Source
TuningOptionsFieldNumber
Field number for the "tuning_options" field.
Declaration
public const int TuningOptionsFieldNumber = 6
Field Value
Properties
|
Edit this page
View Source
BucketName
Declaration
public string BucketName { get; set; }
Property Value
|
Edit this page
View Source
ClientContextId
Declaration
public string ClientContextId { get; set; }
Property Value
|
Edit this page
View Source
ConsistentWith
Declaration
public RepeatedField<MutationToken> ConsistentWith { get; }
Property Value
|
Edit this page
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
MessageDescriptor |
|
|
Edit this page
View Source
FlexIndex
Declaration
public bool FlexIndex { get; set; }
Property Value
|
Edit this page
View Source
HasBucketName
Gets whether the "bucket_name" field is set
Declaration
public bool HasBucketName { get; }
Property Value
|
Edit this page
View Source
HasClientContextId
Gets whether the "client_context_id" field is set
Declaration
public bool HasClientContextId { get; }
Property Value
|
Edit this page
View Source
HasFlexIndex
Gets whether the "flex_index" field is set
Declaration
public bool HasFlexIndex { get; }
Property Value
|
Edit this page
View Source
HasPrepared
Gets whether the "prepared" field is set
Declaration
public bool HasPrepared { get; }
Property Value
|
Edit this page
View Source
HasPreserveExpiry
Gets whether the "preserve_expiry" field is set
Declaration
public bool HasPreserveExpiry { get; }
Property Value
|
Edit this page
View Source
HasProfileMode
Gets whether the "profile_mode" field is set
Declaration
public bool HasProfileMode { get; }
Property Value
|
Edit this page
View Source
HasReadOnly
Gets whether the "read_only" field is set
Declaration
public bool HasReadOnly { get; }
Property Value
|
Edit this page
View Source
HasScanConsistency
Gets whether the "scan_consistency" field is set
Declaration
public bool HasScanConsistency { get; }
Property Value
|
Edit this page
View Source
HasScopeName
Gets whether the "scope_name" field is set
Declaration
public bool HasScopeName { get; }
Property Value
|
Edit this page
View Source
NamedParameters
Declaration
public MapField<string, ByteString> NamedParameters { get; }
Property Value
Type |
Description |
MapField<string, ByteString> |
|
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<QueryRequest> Parser { get; }
Property Value
|
Edit this page
View Source
PositionalParameters
Declaration
public RepeatedField<ByteString> PositionalParameters { get; }
Property Value
Type |
Description |
RepeatedField<ByteString> |
|
|
Edit this page
View Source
Prepared
Declaration
public bool Prepared { get; set; }
Property Value
|
Edit this page
View Source
PreserveExpiry
Declaration
public bool PreserveExpiry { get; set; }
Property Value
|
Edit this page
View Source
ProfileMode
Declaration
public QueryRequest.Types.ProfileMode ProfileMode { get; set; }
Property Value
|
Edit this page
View Source
ReadOnly
Declaration
public bool ReadOnly { get; set; }
Property Value
|
Edit this page
View Source
ScanConsistency
Declaration
public QueryRequest.Types.ScanConsistency ScanConsistency { get; set; }
Property Value
|
Edit this page
View Source
ScopeName
Declaration
public string ScopeName { get; set; }
Property Value
|
Edit this page
View Source
Statement
Declaration
public string Statement { get; set; }
Property Value
|
Edit this page
View Source
TuningOptions
Declaration
public QueryRequest.Types.TuningOptions TuningOptions { 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
ClearBucketName()
Clears the value of the "bucket_name" field
Declaration
public void ClearBucketName()
|
Edit this page
View Source
ClearClientContextId()
Clears the value of the "client_context_id" field
Declaration
public void ClearClientContextId()
|
Edit this page
View Source
ClearFlexIndex()
Clears the value of the "flex_index" field
Declaration
public void ClearFlexIndex()
|
Edit this page
View Source
ClearPrepared()
Clears the value of the "prepared" field
Declaration
public void ClearPrepared()
|
Edit this page
View Source
ClearPreserveExpiry()
Clears the value of the "preserve_expiry" field
Declaration
public void ClearPreserveExpiry()
|
Edit this page
View Source
ClearProfileMode()
Clears the value of the "profile_mode" field
Declaration
public void ClearProfileMode()
|
Edit this page
View Source
ClearReadOnly()
Clears the value of the "read_only" field
Declaration
public void ClearReadOnly()
|
Edit this page
View Source
ClearScanConsistency()
Clears the value of the "scan_consistency" field
Declaration
public void ClearScanConsistency()
|
Edit this page
View Source
ClearScopeName()
Clears the value of the "scope_name" field
Declaration
public void ClearScopeName()
|
Edit this page
View Source
Clone()
Creates a deep clone of this object.
Declaration
public QueryRequest Clone()
Returns
|
Edit this page
View Source
Equals(QueryRequest)
Declaration
public bool Equals(QueryRequest other)
Parameters
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(QueryRequest)
Merges the given message into this one.
Declaration
public void MergeFrom(QueryRequest other)
Parameters
|
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