Class TestDecodingOptions
Options to be passed to the test_decoding plugin
Inheritance
Namespace: Npgsql.Replication.TestDecoding
Assembly: Npgsql.dll
Syntax
public class TestDecodingOptions : IEquatable<TestDecodingOptions>
Constructors
| Improve this Doc View SourceTestDecodingOptions(bool?, bool?, bool?, bool?, bool?, bool?, bool?)
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 |
---|---|---|
bool? | includeXids | Include the transaction number for BEGIN and COMMIT command output |
bool? | includeTimestamp | Include the timestamp for COMMIT command output |
bool? | forceBinary | Set the output mode to binary |
bool? | skipEmptyXacts | Skip output for transactions that didn't change the database |
bool? | onlyLocal | Only output data that don't have the replication origin set |
bool? | includeRewrites | Include output from table rewrites that were caused by DDL statements |
bool? | streamChanges | Enable streaming output |
Properties
| Improve this Doc View SourceForceBinary
Set the output mode to binary
Declaration
public bool? ForceBinary { get; }
Property Value
Type | Description |
---|---|
bool? |
IncludeRewrites
Include output from table rewrites that were caused by DDL statements
Declaration
public bool? IncludeRewrites { get; }
Property Value
Type | Description |
---|---|
bool? |
IncludeTimestamp
Include the timestamp for COMMIT command output
Declaration
public bool? IncludeTimestamp { get; }
Property Value
Type | Description |
---|---|
bool? |
IncludeXids
Include the transaction number for BEGIN and COMMIT command output
Declaration
public bool? IncludeXids { get; }
Property Value
Type | Description |
---|---|
bool? |
OnlyLocal
Only output data that don't have the replication origin set
Declaration
public bool? OnlyLocal { get; }
Property Value
Type | Description |
---|---|
bool? |
SkipEmptyXacts
Skip output for transactions that didn't change the database
Declaration
public bool? SkipEmptyXacts { get; }
Property Value
Type | Description |
---|---|
bool? |
StreamChanges
Enable streaming output
Declaration
public bool? StreamChanges { get; }
Property Value
Type | Description |
---|---|
bool? |
Methods
| Improve this Doc View SourceEquals(TestDecodingOptions?)
Declaration
public bool Equals(TestDecodingOptions? other)
Parameters
Type | Name | Description |
---|---|---|
TestDecodingOptions | other |
Returns
Type | Description |
---|---|
bool |
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object? | obj |
Returns
Type | Description |
---|---|
bool |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |