Engine class abstract

Implementers

Constructors

Engine({required String schema, required Map<String, String> datasources})
const

Properties

datasources Map<String, String>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema String
final

Methods

commitTransaction({required TransactionHeaders headers, required Transaction transaction}) Future<void>
Commits a transaction.
metrics({Map<String, String>? globalLabels, required MetricsFormat format}) Future
Returns the metrics for the engine.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request(JsonQuery query, {TransactionHeaders? headers, Transaction? transaction}) Future<Map>
Sends a request to the engine.
rollbackTransaction({required TransactionHeaders headers, required Transaction transaction}) Future<void>
Rolls back a transaction.
start() Future<void>
Starts the engine.
startTransaction({required TransactionHeaders headers, int maxWait = 2000, int timeout = 5000, TransactionIsolationLevel? isolationLevel}) Future<Transaction>
Starts a transaction.
stop() Future<void>
Stops the engine.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited