mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
minor formatting fixes
This commit is contained in:
parent
1df11fa776
commit
080b40b08f
@ -98,12 +98,15 @@ public class CqlColumnDef implements NBNamedElement, Labeled {
|
|||||||
public boolean isPartitionKey() {
|
public boolean isPartitionKey() {
|
||||||
return table.isPartitionKey(position);
|
return table.isPartitionKey(position);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isLastPartitionKey() {
|
public boolean isLastPartitionKey() {
|
||||||
return table.isLastPartitionKey(position);
|
return table.isLastPartitionKey(position);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isClusteringColumn() {
|
public boolean isClusteringColumn() {
|
||||||
return table.isClusteringColumn(position);
|
return table.isClusteringColumn(position);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isLastClusteringColumn() {
|
public boolean isLastClusteringColumn() {
|
||||||
return table.isLastClusteringColumn(position);
|
return table.isLastClusteringColumn(position);
|
||||||
}
|
}
|
||||||
|
@ -80,7 +80,9 @@ model_transformers:
|
|||||||
# This controls how the elements in the schema are named in the yaml.
|
# This controls how the elements in the schema are named in the yaml.
|
||||||
# This affects block names, op template names and so on, and also how
|
# This affects block names, op template names and so on, and also how
|
||||||
# op templates will be named in all logs and metric views.
|
# op templates will be named in all logs and metric views.
|
||||||
|
|
||||||
naming_template: "[OPTYPE-][KEYSPACE-][TYPE-][NAME]"
|
naming_template: "[OPTYPE-][KEYSPACE-][TYPE-][NAME]"
|
||||||
|
|
||||||
# for more distinction in metric names if needed:
|
# for more distinction in metric names if needed:
|
||||||
#naming_template: "[BLOCKNAME-][OPTYPE-][KEYSPACE-][TYPE-][NAME]"
|
#naming_template: "[BLOCKNAME-][OPTYPE-][KEYSPACE-][TYPE-][NAME]"
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ import org.junit.jupiter.api.Test;
|
|||||||
import static io.nosqlbench.nb.spectest.traversal.STPredicateVerbs.*;
|
import static io.nosqlbench.nb.spectest.traversal.STPredicateVerbs.*;
|
||||||
|
|
||||||
public class UniformWorkloadSpecificationTest {
|
public class UniformWorkloadSpecificationTest {
|
||||||
|
|
||||||
private final static Logger logger = LogManager.getLogger(UniformWorkloadSpecificationTest.class);
|
private final static Logger logger = LogManager.getLogger(UniformWorkloadSpecificationTest.class);
|
||||||
|
|
||||||
private final static Object[] mdPredicate = new Object[] {
|
private final static Object[] mdPredicate = new Object[] {
|
||||||
|
Loading…
Reference in New Issue
Block a user