mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
docs update
This commit is contained in:
@@ -17,10 +17,16 @@ public class ToHexString implements Function<ByteBuffer,String> {
|
||||
|
||||
private final boolean useUpperCase;
|
||||
|
||||
/**
|
||||
* Convert the ByteBuffer's contents to a hex string using upper case by default.
|
||||
*/
|
||||
public ToHexString() {
|
||||
this(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the ByteBuffer's contents to a hex string upper or lower case.
|
||||
*/
|
||||
public ToHexString(boolean useUpperCase) {
|
||||
this.useUpperCase = useUpperCase;
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ import java.util.function.LongFunction;
|
||||
/**
|
||||
* Converts the byte image of the input long to a MD5 digest in ByteBuffer form.
|
||||
*/
|
||||
@Categories(Category.conversion)
|
||||
@Categories({Category.conversion,Category.premade})
|
||||
@ThreadSafeMapper
|
||||
public class ToMD5ByteBuffer implements LongFunction<ByteBuffer> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user