Class TestDecodingOptions
Options to be passed to the test_decoding plugin
Implements
Inherited Members
Namespace: Npgsql.Replication.TestDecoding
Assembly: Npgsql.dll
Syntax
public class TestDecodingOptions : IEquatable<TestDecodingOptions>
Constructors
TestDecodingOptions(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)
Creates a new instance of TestDecodingOptions.
Declaration
public TestDecodingOptions(bool? includeXids = null, bool? includeTimestamp = null, bool? forceBinary = null, bool? skipEmptyXacts = null, bool? onlyLocal = null, bool? includeRewrites = null, bool? streamChanges = null)
Parameters
Type | Name | Description |
---|---|---|
Nullable<Boolean> | includeXids | Include the transaction number for BEGIN and COMMIT command output |
Nullable<Boolean> | includeTimestamp | Include the timestamp for COMMIT command output |
Nullable<Boolean> | forceBinary | Set the output mode to binary |
Nullable<Boolean> | skipEmptyXacts | Skip output for transactions that didn't change the database |
Nullable<Boolean> | onlyLocal | Only output data that don't have the replication origin set |
Nullable<Boolean> | includeRewrites | Include output from table rewrites that were caused by DDL statements |
Nullable<Boolean> | streamChanges | Enable streaming output |
Properties
ForceBinary
Set the output mode to binary
Declaration
public bool? ForceBinary { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
IncludeRewrites
Include output from table rewrites that were caused by DDL statements
Declaration
public bool? IncludeRewrites { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
IncludeTimestamp
Include the timestamp for COMMIT command output
Declaration
public bool? IncludeTimestamp { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
IncludeXids
Include the transaction number for BEGIN and COMMIT command output
Declaration
public bool? IncludeXids { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
OnlyLocal
Only output data that don't have the replication origin set
Declaration
public bool? OnlyLocal { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
SkipEmptyXacts
Skip output for transactions that didn't change the database
Declaration
public bool? SkipEmptyXacts { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
StreamChanges
Enable streaming output
Declaration
public bool? StreamChanges { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
Methods
Equals(TestDecodingOptions)
Declaration
public bool Equals(TestDecodingOptions other)
Parameters
Type | Name | Description |
---|---|---|
TestDecodingOptions | other |
Returns
Type | Description |
---|---|
Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |