Skip to content

Commit

Permalink
Backport to branch(3.10) : Add data import enums (#2433)
Browse files Browse the repository at this point in the history
Co-authored-by: inv-jishnu <[email protected]>
Co-authored-by: Peckstadt Yves <[email protected]>
  • Loading branch information
3 people authored Dec 19, 2024
1 parent 0c8aeff commit 2f0c09e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.scalar.db.dataloader.core.dataimport;

/** Represents the way to be imported data is handled */
public enum ImportMode {
INSERT,
UPDATE,
UPSERT
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.scalar.db.dataloader.core.dataimport.controlfile;

/** Control file validation level */
public enum ControlFileValidationLevel {
/* All columns need to be mapped */
FULL,
/* All partition key and clustering key columns need to be mapped */
KEYS,
/* Only validate the columns that are mapped */
MAPPED
}

0 comments on commit 2f0c09e

Please sign in to comment.