C# Class Deveel.Data.Client.ConnectionClient

Inheritance: IDisposable
显示文件 Open project: deveel/deveeldb Class Usage Examples

Private Properties

Property Type Description
CreateConnector IClientConnector
CreateDatabase IDatabase
CreateDbConfig IConfiguration
CreateNetworkConnector IClientConnector
Dispose void
IsInMemory bool
IsJournaled bool
IsSingleFile bool
MakeRemoteEndPoint Deveel.Data.Protocol.ConnectionEndPoint
MapIsolationLevel Deveel.Data.Transactions.IsolationLevel
SendMessage IMessage

Public Methods

Method Description
Authenticate ( ) : bool
BeginTransaction ( Deveel.Data.Transactions.IsolationLevel isolationLevel ) : int
BeginTransaction ( System isolationLevel ) : int
CommitTransaction ( int transactionId ) : void
Connect ( ) : void
ConnectionClient ( DeveelDbConnectionStringBuilder settings ) : System
ConnectionClient ( IClientConnector connector, DeveelDbConnectionStringBuilder settings ) : System
CreateLargeObject ( long size ) : ObjectId
CreateLargeObjectChannel ( ObjectId objId ) : ILargeObjectChannel
Disconnect ( ) : void
Dispose ( ) : void
DisposeLargeObject ( ObjectId objId ) : void
DisposeResult ( int resultId ) : void
ExecuteQuery ( int commitId, Deveel.Data.Sql.SqlQuery query ) : IQueryResponse[]
GetResultPart ( int resultId, int rowIndex, int count ) : QueryResultPart
RollbackTransaction ( int transactionId ) : void

Private Methods

Method Description
CreateConnector ( ) : IClientConnector
CreateDatabase ( IConfiguration configuration, IConfiguration dbConfig, string userName, string password, bool createIfNotExists ) : IDatabase
CreateDbConfig ( DeveelDbConnectionStringBuilder settings ) : IConfiguration
CreateNetworkConnector ( ) : IClientConnector
Dispose ( bool disposing ) : void
IsInMemory ( string source ) : bool
IsJournaled ( string source ) : bool
IsSingleFile ( string source ) : bool
MakeRemoteEndPoint ( ) : ConnectionEndPoint
MapIsolationLevel ( System isolationLevel ) : Deveel.Data.Transactions.IsolationLevel
SendMessage ( IMessage message ) : IMessage

Method Details

Authenticate() public method

public Authenticate ( ) : bool
return bool

BeginTransaction() public method

public BeginTransaction ( Deveel.Data.Transactions.IsolationLevel isolationLevel ) : int
isolationLevel Deveel.Data.Transactions.IsolationLevel
return int

BeginTransaction() public method

public BeginTransaction ( System isolationLevel ) : int
isolationLevel System
return int

CommitTransaction() public method

public CommitTransaction ( int transactionId ) : void
transactionId int
return void

Connect() public method

public Connect ( ) : void
return void

ConnectionClient() public method

public ConnectionClient ( DeveelDbConnectionStringBuilder settings ) : System
settings DeveelDbConnectionStringBuilder
return System

ConnectionClient() public method

public ConnectionClient ( IClientConnector connector, DeveelDbConnectionStringBuilder settings ) : System
connector IClientConnector
settings DeveelDbConnectionStringBuilder
return System

CreateLargeObject() public method

public CreateLargeObject ( long size ) : ObjectId
size long
return ObjectId

CreateLargeObjectChannel() public method

public CreateLargeObjectChannel ( ObjectId objId ) : ILargeObjectChannel
objId ObjectId
return ILargeObjectChannel

Disconnect() public method

public Disconnect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DisposeLargeObject() public method

public DisposeLargeObject ( ObjectId objId ) : void
objId ObjectId
return void

DisposeResult() public method

public DisposeResult ( int resultId ) : void
resultId int
return void

ExecuteQuery() public method

public ExecuteQuery ( int commitId, Deveel.Data.Sql.SqlQuery query ) : IQueryResponse[]
commitId int
query Deveel.Data.Sql.SqlQuery
return IQueryResponse[]

GetResultPart() public method

public GetResultPart ( int resultId, int rowIndex, int count ) : QueryResultPart
resultId int
rowIndex int
count int
return Deveel.Data.Protocol.QueryResultPart

RollbackTransaction() public method

public RollbackTransaction ( int transactionId ) : void
transactionId int
return void