Class AgentDB.Types.Wire.Types.Column
Values are typed per row, as SQLite types them, so a column may mix
classes: walk types and take the next entry from the matching array. Text
and blobs are concatenated with one exclusive end offset each, so value i
is data[ends[i-1]:ends[i]] with 0 implied before the first. A NULL occupies
a tag only.
public sealed class AgentDB.Types.Wire.Types.Column : IMessage<AgentDB.Types.Wire.Types.Column>, IEquatable<AgentDB.Types.Wire.Types.Column>, IDeepCloneable<AgentDB.Types.Wire.Types.Column>, IBufferMessage, IMessage
- Inheritance
-
AgentDB.Types.Wire.Types.Column
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
Column()
public Column()
Column(Column)
public Column(AgentDB.Types.Wire.Types.Column other)
Parameters
Fields
BlobDataFieldNumber
Field number for the "blob_data" field.
public const int BlobDataFieldNumber = 6
Field Value
BlobEndsFieldNumber
Field number for the "blob_ends" field.
public const int BlobEndsFieldNumber = 7
Field Value
DoublesFieldNumber
Field number for the "doubles" field.
public const int DoublesFieldNumber = 3
Field Value
IntsFieldNumber
Field number for the "ints" field.
public const int IntsFieldNumber = 2
Field Value
TextDataFieldNumber
Field number for the "text_data" field.
public const int TextDataFieldNumber = 4
Field Value
TextEndsFieldNumber
Field number for the "text_ends" field.
public const int TextEndsFieldNumber = 5
Field Value
Types_FieldNumber
Field number for the "types" field.
public const int Types_FieldNumber = 1
Field Value
Properties
BlobData
public ByteString BlobData { get; set; }
Property Value
- ByteString
BlobEnds
public RepeatedField<uint> BlobEnds { get; }
Property Value
- RepeatedField<uint>
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Doubles
public RepeatedField<double> Doubles { get; }
Property Value
- RepeatedField<double>
Ints
public RepeatedField<long> Ints { get; }
Property Value
- RepeatedField<long>
Parser
public static MessageParser<AgentDB.Types.Wire.Types.Column> Parser { get; }
Property Value
TextData
public ByteString TextData { get; set; }
Property Value
- ByteString
TextEnds
public RepeatedField<uint> TextEnds { get; }
Property Value
- RepeatedField<uint>
Types_
one ValueType per row
public ByteString Types_ { get; set; }
Property Value
- ByteString
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
public AgentDB.Types.Wire.Types.Column Clone()
Returns
Equals(Column)
public bool Equals(AgentDB.Types.Wire.Types.Column other)
Parameters
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(Column)
Merges the given message into this one.
public void MergeFrom(AgentDB.Types.Wire.Types.Column other)
Parameters
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.