C# OJAI Client API
MapRDB.Driver.IConnection Interface Reference
Inheritance diagram for MapRDB.Driver.IConnection:
MapRDB.Driver.MapRDBConnection

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...
 

Member Function Documentation

◆ Close()

void MapRDB.Driver.IConnection.Close ( )

Close this connection.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ CreateStore()

IDocumentStore MapRDB.Driver.IConnection.CreateStore ( string  storePath)

Create new store.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ CreateStoreAsync()

Task<IDocumentStore> MapRDB.Driver.IConnection.CreateStoreAsync ( string  storePath)

Create new store asynchronously.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ DeleteStore()

bool MapRDB.Driver.IConnection.DeleteStore ( string  storePath)

Delete store.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ DeleteStoreAsync()

Task<bool> MapRDB.Driver.IConnection.DeleteStoreAsync ( string  storePath)

Delete store asynchronously.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ GetStore()

IDocumentStore MapRDB.Driver.IConnection.GetStore ( string  storePath)

Get existed store.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ GetStoreAsync()

Task<IDocumentStore> MapRDB.Driver.IConnection.GetStoreAsync ( string  storePath)

Get existed store asynchronously.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ NewDocument() [1/3]

IDocument MapRDB.Driver.IConnection.NewDocument ( )

Create new empty document.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ NewDocument() [2/3]

IDocument MapRDB.Driver.IConnection.NewDocument ( string  jsonString)

Create new document from JSON string.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ NewDocument() [3/3]

IDocument MapRDB.Driver.IConnection.NewDocument ( IDictionary< string, OjaiValue dictionary)

Create new document from dictionary.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ NewDocumentMutation()

IDocumentMutation MapRDB.Driver.IConnection.NewDocumentMutation ( )

Create new document mutation.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ NewQuery()

IQuery MapRDB.Driver.IConnection.NewQuery ( )

Create new query.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ NewQueryCondition()

IQueryCondition MapRDB.Driver.IConnection.NewQueryCondition ( )

Create new query condition.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ StoreExist()

bool MapRDB.Driver.IConnection.StoreExist ( string  storePath)

Check if store exist.

Implemented in MapRDB.Driver.MapRDBConnection.

◆ StoreExistAsync()

Task<bool> MapRDB.Driver.IConnection.StoreExistAsync ( string  storePath)

Check if store exist asynchronously.

Implemented in MapRDB.Driver.MapRDBConnection.