Class QueryConfiguration
TBD
Inherited Members
Namespace: Akka.Persistence.Sql.Common.Snapshot
Assembly: Akka.Persistence.Sqlite.dll
Syntax
public class QueryConfiguration
Constructors
| Improve this Doc View SourceQueryConfiguration(String, String, String, String, String, String, String, String, TimeSpan, String, Boolean)
TBD
Declaration
[Obsolete("Use the constructor that takes read and write isolation level argument (since v1.5.2)")]
public QueryConfiguration(string schemaName, string snapshotTableName, string persistenceIdColumnName, string sequenceNrColumnName, string payloadColumnName, string manifestColumnName, string timestampColumnName, string serializerIdColumnName, TimeSpan timeout, string defaultSerializer, bool useSequentialAccess)
Parameters
| Type | Name | Description |
|---|---|---|
| String | schemaName | TBD |
| String | snapshotTableName | TBD |
| String | persistenceIdColumnName | TBD |
| String | sequenceNrColumnName | TBD |
| String | payloadColumnName | TBD |
| String | manifestColumnName | TBD |
| String | timestampColumnName | TBD |
| String | serializerIdColumnName | TBD |
| TimeSpan | timeout | TBD |
| String | defaultSerializer | The default serializer used when not type override matching is found |
| Boolean | useSequentialAccess | Uses the CommandBehavior.SequentialAccess when creating the command, providing a performance improvement for reading large BLOBS. |
QueryConfiguration(String, String, String, String, String, String, String, String, TimeSpan, String, Boolean, Nullable<IsolationLevel>, Nullable<IsolationLevel>)
TBD
Declaration
public QueryConfiguration(string schemaName, string snapshotTableName, string persistenceIdColumnName, string sequenceNrColumnName, string payloadColumnName, string manifestColumnName, string timestampColumnName, string serializerIdColumnName, TimeSpan timeout, string defaultSerializer, bool useSequentialAccess, IsolationLevel? readIsolationLevel, IsolationLevel? writeIsolationLevel)
Parameters
| Type | Name | Description |
|---|---|---|
| String | schemaName | TBD |
| String | snapshotTableName | TBD |
| String | persistenceIdColumnName | TBD |
| String | sequenceNrColumnName | TBD |
| String | payloadColumnName | TBD |
| String | manifestColumnName | TBD |
| String | timestampColumnName | TBD |
| String | serializerIdColumnName | TBD |
| TimeSpan | timeout | TBD |
| String | defaultSerializer | The default serializer used when not type override matching is found |
| Boolean | useSequentialAccess | Uses the CommandBehavior.SequentialAccess when creating the command, providing a performance improvement for reading large BLOBS. |
| Nullable<IsolationLevel> | readIsolationLevel | Isolation level of transactions used during read query execution. |
| Nullable<IsolationLevel> | writeIsolationLevel | Isolation level of transactions used during write query execution. |
Fields
| Improve this Doc View SourceDefaultSerializer
The default serializer used when not type override matching is found
Declaration
[Obsolete("This property should never be used for writes, use the default `System.Object` serializer instead")]
public readonly string DefaultSerializer
Field Value
| Type | Description |
|---|---|
| String |
ManifestColumnName
TBD
Declaration
public readonly string ManifestColumnName
Field Value
| Type | Description |
|---|---|
| String |
PayloadColumnName
TBD
Declaration
public readonly string PayloadColumnName
Field Value
| Type | Description |
|---|---|
| String |
PersistenceIdColumnName
TBD
Declaration
public readonly string PersistenceIdColumnName
Field Value
| Type | Description |
|---|---|
| String |
SchemaName
TBD
Declaration
public readonly string SchemaName
Field Value
| Type | Description |
|---|---|
| String |
SequenceNrColumnName
TBD
Declaration
public readonly string SequenceNrColumnName
Field Value
| Type | Description |
|---|---|
| String |
SerializerIdColumnName
TBD
Declaration
public readonly string SerializerIdColumnName
Field Value
| Type | Description |
|---|---|
| String |
SnapshotTableName
TBD
Declaration
public readonly string SnapshotTableName
Field Value
| Type | Description |
|---|---|
| String |
Timeout
TBD
Declaration
public readonly TimeSpan Timeout
Field Value
| Type | Description |
|---|---|
| TimeSpan |
TimestampColumnName
TBD
Declaration
public readonly string TimestampColumnName
Field Value
| Type | Description |
|---|---|
| String |
Properties
| Improve this Doc View SourceFullSnapshotTableName
TBD
Declaration
public string FullSnapshotTableName { get; }
Property Value
| Type | Description |
|---|---|
| String |
ReadIsolationLevel
Isolation level of transactions used during read query execution.
Declaration
public IsolationLevel ReadIsolationLevel { get; }
Property Value
| Type | Description |
|---|---|
| IsolationLevel |
UseSequentialAccess
Uses the CommandBehavior.SequentialAccess when creating the command, providing a performance improvement for reading large BLOBS.
Declaration
public bool UseSequentialAccess { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
WriteIsolationLevel
Isolation level of transactions used during write query execution.
Declaration
public IsolationLevel WriteIsolationLevel { get; }
Property Value
| Type | Description |
|---|---|
| IsolationLevel |
Improve this Doc