C# OJAI Client API
Com.Mapr.Data.Db.UpdateRequest Class Reference
Inheritance diagram for Com.Mapr.Data.Db.UpdateRequest:

Public Types

enum  DocumentOneofCase { None = 0, JsonDocument = 3 }
 Enum of possible cases for the "document" oneof. More...
 
enum  ConditionOneofCase { None = 0, JsonCondition = 4 }
 Enum of possible cases for the "condition" oneof. More...
 
enum  MutationOneofCase { None = 0, JsonMutation = 30 }
 Enum of possible cases for the "mutation" oneof. More...
 

Public Member Functions

 UpdateRequest (UpdateRequest other)
 
UpdateRequest Clone ()
 
void ClearDocument ()
 
void ClearCondition ()
 
void ClearMutation ()
 
override bool Equals (object other)
 
bool Equals (UpdateRequest other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (UpdateRequest other)
 
void MergeFrom (pb::CodedInputStream input)
 

Public Attributes

const int TablePathFieldNumber = 1
 Field number for the "table_path" field. More...
 
const int PayloadEncodingFieldNumber = 2
 Field number for the "payload_encoding" field. More...
 
const int JsonDocumentFieldNumber = 3
 Field number for the "json_document" field. More...
 
const int JsonConditionFieldNumber = 4
 Field number for the "json_condition" field. More...
 
const int JsonMutationFieldNumber = 30
 Field number for the "json_mutation" field. More...
 

Properties

static pb::MessageParser< UpdateRequestParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbr::MessageDescriptor pb::IMessage. Descriptor [get]
 
string TablePath [get, set]
 
global::Com.Mapr.Data.Db.PayloadEncoding PayloadEncoding [get, set]
 
string? JsonDocument [get, set]
 
  • <b>[Required]</b><p/> Contains JSON encoded OJAI Document with _id field when payload_encoding is JSON_ENCODING.<p/>
More...
 
string? JsonCondition [get, set]
 
  • <b>[Optional]</b><p/> Contains JSON encoded OJAI QueryCondition when payload_encoding is JSON_ENCODING.<p/>
More...
 
string? JsonMutation [get, set]
 
  • <b>[Required]</b><p/> Contains JSON encoded OJAI DocumentMutation when payload_encoding is JSON_ENCODING.<p/>
More...
 
DocumentOneofCase DocumentCase [get]
 
ConditionOneofCase ConditionCase [get]
 
MutationOneofCase MutationCase [get]
 

Private Member Functions

partial void OnConstruction ()
 

Private Attributes

pb::UnknownFieldSet _unknownFields
 
string tablePath_ = ""
 
global::Com.Mapr.Data.Db.PayloadEncoding payloadEncoding_ = 0
 
object document_
 
DocumentOneofCase documentCase_ = DocumentOneofCase.None
 
object condition_
 
ConditionOneofCase conditionCase_ = ConditionOneofCase.None
 
object mutation_
 
MutationOneofCase mutationCase_ = MutationOneofCase.None
 

Static Private Attributes

static readonly pb::MessageParser< UpdateRequest_parser = new pb::MessageParser<UpdateRequest>(() => new UpdateRequest())
 

Member Enumeration Documentation

◆ ConditionOneofCase

Enum of possible cases for the "condition" oneof.

◆ DocumentOneofCase

Enum of possible cases for the "document" oneof.

◆ MutationOneofCase

Enum of possible cases for the "mutation" oneof.

Member Data Documentation

◆ JsonConditionFieldNumber

const int Com.Mapr.Data.Db.UpdateRequest.JsonConditionFieldNumber = 4

Field number for the "json_condition" field.

◆ JsonDocumentFieldNumber

const int Com.Mapr.Data.Db.UpdateRequest.JsonDocumentFieldNumber = 3

Field number for the "json_document" field.

◆ JsonMutationFieldNumber

const int Com.Mapr.Data.Db.UpdateRequest.JsonMutationFieldNumber = 30

Field number for the "json_mutation" field.

◆ PayloadEncodingFieldNumber

const int Com.Mapr.Data.Db.UpdateRequest.PayloadEncodingFieldNumber = 2

Field number for the "payload_encoding" field.

◆ TablePathFieldNumber

const int Com.Mapr.Data.Db.UpdateRequest.TablePathFieldNumber = 1

Field number for the "table_path" field.

Property Documentation

◆ JsonCondition

string? Com.Mapr.Data.Db.UpdateRequest.JsonCondition
getset

  • <b>[Optional]</b><p/> Contains JSON encoded OJAI QueryCondition when payload_encoding is JSON_ENCODING.<p/>

◆ JsonDocument

string? Com.Mapr.Data.Db.UpdateRequest.JsonDocument
getset

  • <b>[Required]</b><p/> Contains JSON encoded OJAI Document with _id field when payload_encoding is JSON_ENCODING.<p/>

◆ JsonMutation

string? Com.Mapr.Data.Db.UpdateRequest.JsonMutation
getset

  • <b>[Required]</b><p/> Contains JSON encoded OJAI DocumentMutation when payload_encoding is JSON_ENCODING.<p/>