C# OJAI Client API
Com.Mapr.Data.Db.FindResponse Class Reference

More...

Inheritance diagram for Com.Mapr.Data.Db.FindResponse:

Public Types

enum  DataOneofCase { None = 0, JsonResponse = 30 }
 Enum of possible cases for the "data" oneof. More...
 

Public Member Functions

 FindResponse (FindResponse other)
 
FindResponse Clone ()
 
void ClearData ()
 
override bool Equals (object other)
 
bool Equals (FindResponse other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (FindResponse other)
 
void MergeFrom (pb::CodedInputStream input)
 

Public Attributes

const int ErrorFieldNumber = 1
 Field number for the "error" field. More...
 
const int PayloadEncodingFieldNumber = 2
 Field number for the "payload_encoding" field. More...
 
const int TypeFieldNumber = 3
 Field number for the "type" field. More...
 
const int JsonResponseFieldNumber = 30
 Field number for the "json_response" field. More...
 

Properties

static pb::MessageParser< FindResponseParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbr::MessageDescriptor pb::IMessage. Descriptor [get]
 
global::Com.Mapr.Data.Db.RpcError Error [get, set]
 
global::Com.Mapr.Data.Db.PayloadEncoding PayloadEncoding [get, set]
 
global::Com.Mapr.Data.Db.FindResponseType Type [get, set]
 
  • Indicates the type of this response
More...
 
string? JsonResponse [get, set]
 
  • Contains JSON encoded response if the payload_encoding is JSON_ENCODING
More...
 
DataOneofCase DataCase [get]
 

Private Member Functions

partial void OnConstruction ()
 

Private Attributes

pb::UnknownFieldSet _unknownFields
 
global::Com.Mapr.Data.Db.RpcError error_
 
global::Com.Mapr.Data.Db.PayloadEncoding payloadEncoding_ = 0
 
global::Com.Mapr.Data.Db.FindResponseType type_ = 0
 
object data_
 
DataOneofCase dataCase_ = DataOneofCase.None
 

Static Private Attributes

static readonly pb::MessageParser< FindResponse_parser = new pb::MessageParser<FindResponse>(() => new FindResponse())
 

Detailed Description

  • Results of Find() RPCs are streamed to the clients, with each FindResponse containing one OJAI document. If the include_query_plan in FindRequest was set to true, the first FindResponse will contain the query plan instead of OJAI Document

Member Enumeration Documentation

◆ DataOneofCase

Enum of possible cases for the "data" oneof.

Member Data Documentation

◆ ErrorFieldNumber

const int Com.Mapr.Data.Db.FindResponse.ErrorFieldNumber = 1

Field number for the "error" field.

◆ JsonResponseFieldNumber

const int Com.Mapr.Data.Db.FindResponse.JsonResponseFieldNumber = 30

Field number for the "json_response" field.

◆ PayloadEncodingFieldNumber

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

Field number for the "payload_encoding" field.

◆ TypeFieldNumber

const int Com.Mapr.Data.Db.FindResponse.TypeFieldNumber = 3

Field number for the "type" field.

Property Documentation

◆ JsonResponse

string? Com.Mapr.Data.Db.FindResponse.JsonResponse
getset

  • Contains JSON encoded response if the payload_encoding is JSON_ENCODING

◆ Type

global.Com.Mapr.Data.Db.FindResponseType Com.Mapr.Data.Db.FindResponse.Type
getset

  • Indicates the type of this response