minor formatting fixes

This commit is contained in:
Jonathan Shook 2022-07-19 12:19:30 -05:00
parent 1df11fa776
commit 080b40b08f
3 changed files with 10 additions and 4 deletions

View File

@ -98,12 +98,15 @@ public class CqlColumnDef implements NBNamedElement, Labeled {
public boolean isPartitionKey() {
return table.isPartitionKey(position);
}
public boolean isLastPartitionKey() {
return table.isLastPartitionKey(position);
}
public boolean isClusteringColumn() {
return table.isClusteringColumn(position);
}
public boolean isLastClusteringColumn() {
return table.isLastClusteringColumn(position);
}

View File

@ -80,7 +80,9 @@ model_transformers:
# 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
# op templates will be named in all logs and metric views.
naming_template: "[OPTYPE-][KEYSPACE-][TYPE-][NAME]"
# for more distinction in metric names if needed:
#naming_template: "[BLOCKNAME-][OPTYPE-][KEYSPACE-][TYPE-][NAME]"

View File

@ -25,6 +25,7 @@ import org.junit.jupiter.api.Test;
import static io.nosqlbench.nb.spectest.traversal.STPredicateVerbs.*;
public class UniformWorkloadSpecificationTest {
private final static Logger logger = LogManager.getLogger(UniformWorkloadSpecificationTest.class);
private final static Object[] mdPredicate = new Object[] {