mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
enable label filtering and validation
This commit is contained in:
@@ -124,6 +124,8 @@ public class Annotators {
|
||||
public static synchronized void recordAnnotation(Annotation annotation) {
|
||||
annotation.applyLabelFunction(filter);
|
||||
annotation.applyLabelFunction(validator);
|
||||
// sanity check here first
|
||||
annotation.getLabels();
|
||||
for (Annotator annotator : getAnnotators()) {
|
||||
try {
|
||||
logger.trace(() -> "calling annotator " + annotator.getClass().getAnnotation(Service.class).selector());
|
||||
|
||||
Reference in New Issue
Block a user