mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-11 08:22:04 -06:00
move cql and cqld3 stub warnings to active logic
This commit is contained in:
parent
c27630e5a6
commit
9560f3193e
@ -1,5 +1,7 @@
|
||||
package io.nosqlbench.adapter.cqld4;
|
||||
|
||||
import io.nosqlbench.adapter.cqld4.optypes.Cqld4BaseOp;
|
||||
import io.nosqlbench.engine.api.activityimpl.OpMapper;
|
||||
import io.nosqlbench.engine.api.activityimpl.uniform.DriverAdapter;
|
||||
import io.nosqlbench.nb.annotations.Service;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
@ -11,6 +13,11 @@ public class CqlDriverAdapterStub extends Cqld4DriverAdapter {
|
||||
|
||||
public CqlDriverAdapterStub() {
|
||||
super();
|
||||
}
|
||||
|
||||
@Override
|
||||
public OpMapper<Cqld4BaseOp> getOpMapper() {
|
||||
logger.warn("This version of NoSQLBench uses the DataStax Java Driver version 4 for all CQL workloads. In this preview version, advanced testing features present in the previous cql and cqld3 drivers are being back-ported. If you need those features, please use only the release artifacts. To suppress this message, use driver=cqld4. This warning will be removed in a future version when all features are completely back-ported.");
|
||||
return super.getOpMapper();
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
package io.nosqlbench.adapter.cqld4;
|
||||
|
||||
import io.nosqlbench.adapter.cqld4.optypes.Cqld4BaseOp;
|
||||
import io.nosqlbench.engine.api.activityimpl.OpMapper;
|
||||
import io.nosqlbench.engine.api.activityimpl.uniform.DriverAdapter;
|
||||
import io.nosqlbench.nb.annotations.Service;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
@ -11,6 +13,11 @@ public class Cqld3DriverAdapterStub extends Cqld4DriverAdapter {
|
||||
|
||||
public Cqld3DriverAdapterStub() {
|
||||
super();
|
||||
}
|
||||
|
||||
@Override
|
||||
public OpMapper<Cqld4BaseOp> getOpMapper() {
|
||||
logger.warn("This version of NoSQLBench uses the DataStax Java Driver version 4 for all CQL workloads. In this preview version, advanced testing features present in the previous cql and cqld3 drivers are being back-ported. If you need those features, please use only the release artifacts. To suppress this message, use driver=cqld4. This warning will be removed in a future version when all features are completely back-ported.");
|
||||
return super.getOpMapper();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user