This repository was archived by the owner on Aug 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
StratioDeep/src/main/java/com/stratio/deep/config/impl Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 12
12
import com .stratio .deep .cql .DeepConfigHelper ;
13
13
import com .stratio .deep .entity .Cell ;
14
14
import com .stratio .deep .entity .Cells ;
15
- import com .stratio .deep .exception .*;
15
+ import com .stratio .deep .exception .DeepIOException ;
16
+ import com .stratio .deep .exception .DeepIllegalAccessException ;
17
+ import com .stratio .deep .exception .DeepIndexNotFoundException ;
18
+ import com .stratio .deep .exception .DeepNoSuchFieldException ;
16
19
import com .stratio .deep .util .Constants ;
17
20
import com .stratio .deep .util .Utils ;
21
+ import org .apache .cassandra .db .ConsistencyLevel ;
18
22
import org .apache .cassandra .dht .IPartitioner ;
19
23
import org .apache .cassandra .hadoop .ConfigHelper ;
20
24
import org .apache .cassandra .hadoop .cql3 .CqlConfigHelper ;
@@ -100,12 +104,12 @@ public abstract class GenericDeepJobConfig<T> implements IDeepJobConfig<T> {
100
104
/**
101
105
* Default read consistency level. Defaults to LOCAL_ONE.
102
106
*/
103
- private String readConsistencyLevel ;
107
+ private String readConsistencyLevel = ConsistencyLevel . LOCAL_ONE . name () ;
104
108
105
109
/**
106
110
* Default write consistency level. Defaults to LOCAL_ONE.
107
111
*/
108
- private String writeConsistencyLevel ;
112
+ private String writeConsistencyLevel = ConsistencyLevel . LOCAL_ONE . name () ;
109
113
110
114
/**
111
115
* Enables/Disables auto-creation of column family when writing to Cassandra.
You can’t perform that action at this time.
0 commit comments