Class PostgreSqlPipelineBuilderExtensions
- Namespace
- Pipelinez.PostgreSql
- Assembly
- Pipelinez.PostgreSql.dll
Provides PostgreSQL transport extension methods for PipelineBuilder<T>.
public static class PostgreSqlPipelineBuilderExtensions
- Inheritance
-
PostgreSqlPipelineBuilderExtensions
- Inherited Members
Methods
WithPostgreSqlDeadLetterDestination<TRecord>(PipelineBuilder<TRecord>, PostgreSqlDeadLetterOptions, PostgreSqlTableMap<PipelineDeadLetterRecord<TRecord>>)
Configures the pipeline to write dead-letter records to PostgreSQL using a generated insert from a table map.
public static PipelineBuilder<TRecord> WithPostgreSqlDeadLetterDestination<TRecord>(this PipelineBuilder<TRecord> builder, PostgreSqlDeadLetterOptions options, PostgreSqlTableMap<PipelineDeadLetterRecord<TRecord>> tableMap) where TRecord : PipelineRecord
Parameters
builderPipelineBuilder<TRecord>The pipeline builder to configure.
optionsPostgreSqlDeadLetterOptionsThe PostgreSQL dead-letter destination options.
tableMapPostgreSqlTableMap<PipelineDeadLetterRecord<TRecord>>The table map that defines the dead-letter schema, table, and columns.
Returns
- PipelineBuilder<TRecord>
The same builder for chaining.
Type Parameters
TRecordThe pipeline record type contained in the dead-letter envelope.
WithPostgreSqlDeadLetterDestination<TRecord>(PipelineBuilder<TRecord>, PostgreSqlDeadLetterOptions, Func<PipelineDeadLetterRecord<TRecord>, PostgreSqlCommandDefinition>)
Configures the pipeline to write dead-letter records to PostgreSQL using consumer-provided SQL.
public static PipelineBuilder<TRecord> WithPostgreSqlDeadLetterDestination<TRecord>(this PipelineBuilder<TRecord> builder, PostgreSqlDeadLetterOptions options, Func<PipelineDeadLetterRecord<TRecord>, PostgreSqlCommandDefinition> commandFactory) where TRecord : PipelineRecord
Parameters
builderPipelineBuilder<TRecord>The pipeline builder to configure.
optionsPostgreSqlDeadLetterOptionsThe PostgreSQL dead-letter destination options.
commandFactoryFunc<PipelineDeadLetterRecord<TRecord>, PostgreSqlCommandDefinition>The callback that creates a parameterized command definition for each dead-letter record.
Returns
- PipelineBuilder<TRecord>
The same builder for chaining.
Type Parameters
TRecordThe pipeline record type contained in the dead-letter envelope.
WithPostgreSqlDestination<TRecord>(PipelineBuilder<TRecord>, PostgreSqlDestinationOptions, PostgreSqlTableMap<TRecord>)
Configures the pipeline to write successful records to PostgreSQL using a generated insert from a table map.
public static PipelineBuilder<TRecord> WithPostgreSqlDestination<TRecord>(this PipelineBuilder<TRecord> builder, PostgreSqlDestinationOptions options, PostgreSqlTableMap<TRecord> tableMap) where TRecord : PipelineRecord
Parameters
builderPipelineBuilder<TRecord>The pipeline builder to configure.
optionsPostgreSqlDestinationOptionsThe PostgreSQL destination options.
tableMapPostgreSqlTableMap<TRecord>The table map that defines the destination schema, table, and columns.
Returns
- PipelineBuilder<TRecord>
The same builder for chaining.
Type Parameters
TRecordThe pipeline record type.
WithPostgreSqlDestination<TRecord>(PipelineBuilder<TRecord>, PostgreSqlDestinationOptions, Func<TRecord, PostgreSqlCommandDefinition>)
Configures the pipeline to write successful records to PostgreSQL using consumer-provided SQL.
public static PipelineBuilder<TRecord> WithPostgreSqlDestination<TRecord>(this PipelineBuilder<TRecord> builder, PostgreSqlDestinationOptions options, Func<TRecord, PostgreSqlCommandDefinition> commandFactory) where TRecord : PipelineRecord
Parameters
builderPipelineBuilder<TRecord>The pipeline builder to configure.
optionsPostgreSqlDestinationOptionsThe PostgreSQL destination options.
commandFactoryFunc<TRecord, PostgreSqlCommandDefinition>The callback that creates a parameterized command definition for each record.
Returns
- PipelineBuilder<TRecord>
The same builder for chaining.
Type Parameters
TRecordThe pipeline record type.