Options
All
  • Public
  • Public/Protected
  • All
Menu

Base transformation class, can be used/extended for custom EventStore transformations. Is most useful when used in conjunction with a Transformer.

export default new Transformation({
  name: 'My custom transformation',

  source: new AwsEventStore({tableName: 'tableA'}),
  target: new AwsEventStore({tableName: 'tableB'}),

  async perform(input) {
    // do work within deadline
    return result
  }
})

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

name

name: string

source

source: EventStore

target

target: EventStore

Optional transformerConfig

transformerConfig: any

Accessors

isInPlaceTransformation

  • get isInPlaceTransformation(): boolean

Methods

perform

Generated using TypeDoc