Skip to content

Commit 0847ac6

Browse files
feeblefakieinv-jishnuypeckstadt
authored
Backport to branch(3.13) : Add data import enums (#2430)
Co-authored-by: inv-jishnu <[email protected]> Co-authored-by: Peckstadt Yves <[email protected]>
1 parent 0a880ff commit 0847ac6

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.scalar.db.dataloader.core.dataimport;
2+
3+
/** Represents the way to be imported data is handled */
4+
public enum ImportMode {
5+
INSERT,
6+
UPDATE,
7+
UPSERT
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package com.scalar.db.dataloader.core.dataimport.controlfile;
2+
3+
/** Control file validation level */
4+
public enum ControlFileValidationLevel {
5+
/* All columns need to be mapped */
6+
FULL,
7+
/* All partition key and clustering key columns need to be mapped */
8+
KEYS,
9+
/* Only validate the columns that are mapped */
10+
MAPPED
11+
}

0 commit comments

Comments
 (0)