com.noenv.wiremongo.command.distinct.DistinctCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-wiremongo Show documentation
Show all versions of vertx-wiremongo Show documentation
Lightweight mongo mocking for Vert.x
package com.noenv.wiremongo.command.distinct;
import com.noenv.wiremongo.command.collection.WithCollectionCommand;
public class DistinctCommand extends WithCollectionCommand {
private final String fieldName;
private final String resultClassname;
public DistinctCommand(String collection, String fieldName, String resultClassname) {
super("distinct", collection);
this.fieldName = fieldName;
this.resultClassname = resultClassname;
}
public String getFieldName() {
return fieldName;
}
public String getResultClassname() {
return resultClassname;
}
@Override
public String toString() {
return super.toString() + ", fieldName: " + fieldName + ", resultClassname: " + resultClassname;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy