C# OJAI Client API
|
Public Member Functions | |
IDocumentStore | CreateStore (string storePath) |
Create new store. More... | |
Task< IDocumentStore > | CreateStoreAsync (string storePath) |
Create new store asynchronously. More... | |
IDocumentStore | GetStore (string storePath) |
Get existed store. More... | |
Task< IDocumentStore > | GetStoreAsync (string storePath) |
Get existed store asynchronously. More... | |
bool | DeleteStore (string storePath) |
Delete store. More... | |
Task< bool > | DeleteStoreAsync (string storePath) |
Delete store asynchronously. More... | |
bool | StoreExist (string storePath) |
Check if store exist. More... | |
Task< bool > | StoreExistAsync (string storePath) |
Check if store exist asynchronously. More... | |
IDocument | NewDocument () |
Create new empty document. More... | |
IDocument | NewDocument (string jsonString) |
Create new document from JSON string. More... | |
IDocument | NewDocument (IDictionary< string, OjaiValue > dictionary) |
Create new document from dictionary. More... | |
IDocumentMutation | NewDocumentMutation () |
Create new document mutation. More... | |
IQueryCondition | NewQueryCondition () |
Create new query condition. More... | |
IQuery | NewQuery () |
Create new query. More... | |
void | Close () |
Close this connection. More... | |
void MapRDB.Driver.IConnection.Close | ( | ) |
Close this connection.
Implemented in MapRDB.Driver.MapRDBConnection.
IDocumentStore MapRDB.Driver.IConnection.CreateStore | ( | string | storePath | ) |
Create new store.
Implemented in MapRDB.Driver.MapRDBConnection.
Task<IDocumentStore> MapRDB.Driver.IConnection.CreateStoreAsync | ( | string | storePath | ) |
Create new store asynchronously.
Implemented in MapRDB.Driver.MapRDBConnection.
bool MapRDB.Driver.IConnection.DeleteStore | ( | string | storePath | ) |
Delete store.
Implemented in MapRDB.Driver.MapRDBConnection.
Task<bool> MapRDB.Driver.IConnection.DeleteStoreAsync | ( | string | storePath | ) |
Delete store asynchronously.
Implemented in MapRDB.Driver.MapRDBConnection.
IDocumentStore MapRDB.Driver.IConnection.GetStore | ( | string | storePath | ) |
Get existed store.
Implemented in MapRDB.Driver.MapRDBConnection.
Task<IDocumentStore> MapRDB.Driver.IConnection.GetStoreAsync | ( | string | storePath | ) |
Get existed store asynchronously.
Implemented in MapRDB.Driver.MapRDBConnection.
IDocument MapRDB.Driver.IConnection.NewDocument | ( | ) |
Create new empty document.
Implemented in MapRDB.Driver.MapRDBConnection.
IDocument MapRDB.Driver.IConnection.NewDocument | ( | string | jsonString | ) |
Create new document from JSON string.
Implemented in MapRDB.Driver.MapRDBConnection.
Create new document from dictionary.
Implemented in MapRDB.Driver.MapRDBConnection.
IDocumentMutation MapRDB.Driver.IConnection.NewDocumentMutation | ( | ) |
Create new document mutation.
Implemented in MapRDB.Driver.MapRDBConnection.
IQuery MapRDB.Driver.IConnection.NewQuery | ( | ) |
Create new query.
Implemented in MapRDB.Driver.MapRDBConnection.
IQueryCondition MapRDB.Driver.IConnection.NewQueryCondition | ( | ) |
Create new query condition.
Implemented in MapRDB.Driver.MapRDBConnection.
bool MapRDB.Driver.IConnection.StoreExist | ( | string | storePath | ) |
Check if store exist.
Implemented in MapRDB.Driver.MapRDBConnection.
Task<bool> MapRDB.Driver.IConnection.StoreExistAsync | ( | string | storePath | ) |
Check if store exist asynchronously.
Implemented in MapRDB.Driver.MapRDBConnection.