Class TermQuery
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class TermQuery : IMessage<TermQuery>, IEquatable<TermQuery>, IDeepCloneable<TermQuery>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
TermQuery()
Declaration
|
Edit this page
View Source
TermQuery(TermQuery)
Declaration
public TermQuery(TermQuery other)
Parameters
Fields
|
Edit this page
View Source
BoostFieldNumber
Field number for the "boost" field.
Declaration
public const int BoostFieldNumber = 1
Field Value
|
Edit this page
View Source
FieldFieldNumber
Field number for the "field" field.
Declaration
public const int FieldFieldNumber = 2
Field Value
|
Edit this page
View Source
FuzzinessFieldNumber
Field number for the "fuzziness" field.
Declaration
public const int FuzzinessFieldNumber = 4
Field Value
|
Edit this page
View Source
PrefixLengthFieldNumber
Field number for the "prefix_length" field.
Declaration
public const int PrefixLengthFieldNumber = 5
Field Value
|
Edit this page
View Source
TermFieldNumber
Field number for the "term" field.
Declaration
public const int TermFieldNumber = 3
Field Value
Properties
|
Edit this page
View Source
Boost
Declaration
public float Boost { 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
Field
Declaration
public string Field { get; set; }
Property Value
|
Edit this page
View Source
Fuzziness
Declaration
public ulong Fuzziness { get; set; }
Property Value
|
Edit this page
View Source
HasBoost
Gets whether the "boost" field is set
Declaration
public bool HasBoost { get; }
Property Value
|
Edit this page
View Source
HasField
Gets whether the "field" field is set
Declaration
public bool HasField { get; }
Property Value
|
Edit this page
View Source
HasFuzziness
Gets whether the "fuzziness" field is set
Declaration
public bool HasFuzziness { get; }
Property Value
|
Edit this page
View Source
HasPrefixLength
Gets whether the "prefix_length" field is set
Declaration
public bool HasPrefixLength { get; }
Property Value
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<TermQuery> Parser { get; }
Property Value
|
Edit this page
View Source
PrefixLength
Declaration
public ulong PrefixLength { get; set; }
Property Value
|
Edit this page
View Source
Term
Declaration
public string Term { 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
ClearBoost()
Clears the value of the "boost" field
Declaration
|
Edit this page
View Source
ClearField()
Clears the value of the "field" field
Declaration
|
Edit this page
View Source
ClearFuzziness()
Clears the value of the "fuzziness" field
Declaration
public void ClearFuzziness()
|
Edit this page
View Source
ClearPrefixLength()
Clears the value of the "prefix_length" field
Declaration
public void ClearPrefixLength()
|
Edit this page
View Source
Clone()
Creates a deep clone of this object.
Declaration
Returns
Type |
Description |
TermQuery |
A deep clone of this object.
|
|
Edit this page
View Source
Equals(TermQuery)
Declaration
public bool Equals(TermQuery 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(TermQuery)
Merges the given message into this one.
Declaration
public void MergeFrom(TermQuery 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