Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

saveMode includes table structure saveMode and existing data saveMode. The different processing methods of respectively by two enumeration said org. Apacheapache. Seatunnelseatunnel. APIapi. Sinksink.SchemaSaveMode and org. Apacheapache. Seatunnelseatunnel. APIapi. Sinksink.DataSaveMode

package org.apache.seatunnel.api.sink;

public enum SchemaSaveMode {

// Will create when the table does not exist, delete and rebuild when the table is saved
RECREATE_SCHEMA,

// Will Created when the table does not exist, skipped when the table is saved
CREATE_SCHEMA_WHEN_NOT_EXIST,

// Error will be reported when the table does not exist
ERROR_WHEN_SCHEMA_NOT_EXIST,
}

...