C# OJAI Client API
|
Public Member Functions | |
string | ToJsonString () |
Parse document into JSON string. More... | |
string | ToJsonString (Formatting formatting) |
Parse document into JSON string. More... | |
IDictionary< string, OjaiValue > | ToDictionary () |
Return document as dictionary. More... | |
IDocument | SetID (string value) |
Set string ID of document. More... | |
IDocument | SetID (byte[] value) |
Set binary ID of document. More... | |
IDocument | Set (string path, string value) |
Set string value in document at given path. More... | |
IDocument | Set (string path, bool value) |
Set bool value in document at given path. More... | |
IDocument | Set (string path, byte value) |
Set byte value in document at given path. More... | |
IDocument | Set (string path, short value) |
Set short value in document at given path. More... | |
IDocument | Set (string path, int value) |
Set int value in document at given path. More... | |
IDocument | Set (string path, long value) |
Set long value in document at given path. More... | |
IDocument | Set (string path, float value) |
Set float value in document at given path. More... | |
IDocument | Set (string path, double value) |
Set double value in document at given path. More... | |
IDocument | Set (string path, decimal value) |
Set decimal value in document at given path. More... | |
IDocument | SetNull (string path) |
Set null value in document at given path. More... | |
IDocument | Set (string path, OjaiDate value) |
Set OJAI date value in document at given path. More... | |
IDocument | Set (string path, OjaiTime value) |
Set OJAI time value in document at given path. More... | |
IDocument | Set (string path, OjaiTimestamp value) |
Set OJAI timestamp value in document at given path. More... | |
IDocument | Set (string path, OjaiInterval value) |
Set OJAI interval value in document at given path. More... | |
IDocument | Set (string path, Byte[] value) |
Set binary value in document at given path. More... | |
IDocument | SetList (string path, IList< OjaiValue > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< string > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< bool > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< byte > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< short > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< int > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< long > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< float > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< double > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< decimal > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< OjaiDate > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< OjaiTime > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< OjaiTimestamp > value) |
Set IList value in document at given path. More... | |
IDocument | SetList (string path, IList< OjaiInterval > value) |
Set IList value in document at given path. More... | |
IDocument | Set (string path, IDictionary< string, OjaiValue > value) |
Set dictionary value in document at given path. More... | |
IDocument | Set (string path, IDocument value) |
Set document value in document at given path. More... | |
IDocument | Delete (string path) |
Deletes the value at the specified FieldPath if it exists. More... | |
IDocument | DeleteID () |
Deletes the ID field. More... | |
string | GetIdString () |
Returns the String "_id" of this document More... | |
byte [] | GetIdBinary () |
Returns the Binary "_id" of this document More... | |
string | GetString (string path) |
Returns the value at the specified fieldPath as a String object or null if the specified FieldPath does not exist in the document. More... | |
bool? | GetBool (string path) |
Returns the value at the specified fieldPath as a bool object or null if the specified FieldPath does not exist in the document. More... | |
byte? | GetByte (string path) |
Returns the value at the specified fieldPath as a byte object or null if the specified FieldPath does not exist in the document. More... | |
short? | GetShort (string path) |
Returns the value at the specified fieldPath as a short object or null if the specified FieldPath does not exist in the document. More... | |
int? | GetInt (string path) |
Returns the value at the specified fieldPath as a int object or null if the specified FieldPath does not exist in the document. More... | |
long? | GetLong (string path) |
Returns the value at the specified fieldPath as a long object or null if the specified FieldPath does not exist in the document. More... | |
float? | GetFloat (string path) |
Returns the value at the specified fieldPath as a float object or null if the specified FieldPath does not exist in the document. More... | |
double? | GetDouble (string path) |
Returns the value at the specified fieldPath as a double object or null if the specified FieldPath does not exist in the document. More... | |
decimal? | GetDecimal (string path) |
Returns the value at the specified fieldPath as a decimal object or null if the specified FieldPath does not exist in the document. More... | |
OjaiTime | GetTime (string path) |
Returns the value at the specified fieldPath as an OjaiTime object or null if the specified FieldPath does not exist in the document. More... | |
OjaiDate | GetDate (string path) |
Returns the value at the specified fieldPath as an OjaiDate object or null if the specified FieldPath does not exist in the document. More... | |
OjaiTimestamp | GetTimestamp (string path) |
Returns the value at the specified fieldPath as an OjaiTimestamp object or null if the specified FieldPath does not exist in the document. More... | |
byte [] | GetBinary (string path) |
Returns the value at the specified fieldPath as a byte[] object or null if the specified FieldPath does not exist in the document. More... | |
OjaiInterval | GetInterval (string path) |
Returns the value at the specified fieldPath as an OjaiInterval object or null if the specified FieldPath does not exist in the document. More... | |
OjaiValue | GetValue (string path) |
Returns the value at the specified fieldPath as an OjaiValue object or null if the specified FieldPath does not exist in the document. More... | |
IDictionary< string, OjaiValue > | GetDictionary (string path) |
Returns the value at the specified fieldPath as a Dictionary object or null if the specified FieldPath does not exist in the document. More... | |
IList< OjaiValue > | GetList (string path) |
Returns the value at the specified fieldPath as a List object or null if the specified FieldPath does not exist in the document. More... | |
IDocument | Clear () |
Clear document. More... | |
IDocument MapRDB.Driver.Ojai.IDocument.Clear | ( | ) |
Clear document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Delete | ( | string | path | ) |
Deletes the value at the specified FieldPath if it exists.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.DeleteID | ( | ) |
Deletes the ID field.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
byte [] MapRDB.Driver.Ojai.IDocument.GetBinary | ( | string | path | ) |
Returns the value at the specified fieldPath as a byte[] object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
bool? MapRDB.Driver.Ojai.IDocument.GetBool | ( | string | path | ) |
Returns the value at the specified fieldPath as a bool object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
byte? MapRDB.Driver.Ojai.IDocument.GetByte | ( | string | path | ) |
Returns the value at the specified fieldPath as a byte object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
OjaiDate MapRDB.Driver.Ojai.IDocument.GetDate | ( | string | path | ) |
Returns the value at the specified fieldPath as an OjaiDate object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
decimal? MapRDB.Driver.Ojai.IDocument.GetDecimal | ( | string | path | ) |
Returns the value at the specified fieldPath as a decimal object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDictionary<string, OjaiValue> MapRDB.Driver.Ojai.IDocument.GetDictionary | ( | string | path | ) |
Returns the value at the specified fieldPath as a Dictionary object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
double? MapRDB.Driver.Ojai.IDocument.GetDouble | ( | string | path | ) |
Returns the value at the specified fieldPath as a double object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
float? MapRDB.Driver.Ojai.IDocument.GetFloat | ( | string | path | ) |
Returns the value at the specified fieldPath as a float object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
byte [] MapRDB.Driver.Ojai.IDocument.GetIdBinary | ( | ) |
Returns the Binary "_id" of this document
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
string MapRDB.Driver.Ojai.IDocument.GetIdString | ( | ) |
Returns the String "_id" of this document
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
int? MapRDB.Driver.Ojai.IDocument.GetInt | ( | string | path | ) |
Returns the value at the specified fieldPath as a int object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
OjaiInterval MapRDB.Driver.Ojai.IDocument.GetInterval | ( | string | path | ) |
Returns the value at the specified fieldPath as an OjaiInterval object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IList<OjaiValue> MapRDB.Driver.Ojai.IDocument.GetList | ( | string | path | ) |
Returns the value at the specified fieldPath as a List object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
long? MapRDB.Driver.Ojai.IDocument.GetLong | ( | string | path | ) |
Returns the value at the specified fieldPath as a long object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
short? MapRDB.Driver.Ojai.IDocument.GetShort | ( | string | path | ) |
Returns the value at the specified fieldPath as a short object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
string MapRDB.Driver.Ojai.IDocument.GetString | ( | string | path | ) |
Returns the value at the specified fieldPath as a String object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
OjaiTime MapRDB.Driver.Ojai.IDocument.GetTime | ( | string | path | ) |
Returns the value at the specified fieldPath as an OjaiTime object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
OjaiTimestamp MapRDB.Driver.Ojai.IDocument.GetTimestamp | ( | string | path | ) |
Returns the value at the specified fieldPath as an OjaiTimestamp object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
OjaiValue MapRDB.Driver.Ojai.IDocument.GetValue | ( | string | path | ) |
Returns the value at the specified fieldPath as an OjaiValue object or null if the specified FieldPath does not exist in the document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
string | value | ||
) |
Set string value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
bool | value | ||
) |
Set bool value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
byte | value | ||
) |
Set byte value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
short | value | ||
) |
Set short value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
int | value | ||
) |
Set int value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
long | value | ||
) |
Set long value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
float | value | ||
) |
Set float value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
double | value | ||
) |
Set double value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
decimal | value | ||
) |
Set decimal value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
Set OJAI date value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
Set OJAI time value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
OjaiTimestamp | value | ||
) |
Set OJAI timestamp value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
OjaiInterval | value | ||
) |
Set OJAI interval value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.Set | ( | string | path, |
Byte [] | value | ||
) |
Set binary value in document at given path.
Set dictionary value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
Set document value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetID | ( | string | value | ) |
Set string ID of document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetID | ( | byte [] | value | ) |
Set binary ID of document.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< string > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< bool > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< byte > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< short > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< int > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< long > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< float > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< double > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< decimal > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< OjaiTimestamp > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetList | ( | string | path, |
IList< OjaiInterval > | value | ||
) |
Set IList value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDocument MapRDB.Driver.Ojai.IDocument.SetNull | ( | string | path | ) |
Set null value in document at given path.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
IDictionary<string, OjaiValue> MapRDB.Driver.Ojai.IDocument.ToDictionary | ( | ) |
Return document as dictionary.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
string MapRDB.Driver.Ojai.IDocument.ToJsonString | ( | ) |
Parse document into JSON string.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.
string MapRDB.Driver.Ojai.IDocument.ToJsonString | ( | Formatting | formatting | ) |
Parse document into JSON string.
Implemented in MapRDB.Driver.Ojai.OjaiDocument.