mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
added missing categories
This commit is contained in:
@@ -33,5 +33,6 @@ public enum Category {
|
||||
experimental,
|
||||
combinitoric,
|
||||
vectors,
|
||||
HOF
|
||||
HOF,
|
||||
readers
|
||||
}
|
||||
|
||||
@@ -18,6 +18,8 @@ package io.nosqlbench.virtdata.library.ivecfvec;
|
||||
|
||||
import io.nosqlbench.api.content.Content;
|
||||
import io.nosqlbench.api.content.NBIO;
|
||||
import io.nosqlbench.virtdata.api.annotations.Categories;
|
||||
import io.nosqlbench.virtdata.api.annotations.Category;
|
||||
import io.nosqlbench.virtdata.api.annotations.ThreadSafeMapper;
|
||||
|
||||
import java.io.IOException;
|
||||
@@ -33,6 +35,7 @@ import java.util.function.LongFunction;
|
||||
* Reads ivec files with random access, using the input to specify the record number.
|
||||
*/
|
||||
@ThreadSafeMapper
|
||||
@Categories(Category.readers)
|
||||
public class FVecReader implements LongFunction<float[]> {
|
||||
|
||||
private final MappedByteBuffer bb;
|
||||
|
||||
@@ -19,6 +19,8 @@ package io.nosqlbench.virtdata.library.ivecfvec;
|
||||
import io.nosqlbench.api.config.standard.ConfigModel;
|
||||
import io.nosqlbench.api.content.Content;
|
||||
import io.nosqlbench.api.content.NBIO;
|
||||
import io.nosqlbench.virtdata.api.annotations.Categories;
|
||||
import io.nosqlbench.virtdata.api.annotations.Category;
|
||||
import io.nosqlbench.virtdata.api.annotations.Example;
|
||||
import io.nosqlbench.virtdata.api.annotations.ThreadSafeMapper;
|
||||
|
||||
@@ -39,6 +41,7 @@ import java.util.function.LongToIntFunction;
|
||||
* function honors the pure-function behavior of other NB binding functions. This requires uniform record structure for random access.
|
||||
*/
|
||||
@ThreadSafeMapper
|
||||
@Categories(Category.readers)
|
||||
public class IVecReader implements LongFunction<int[]> {
|
||||
|
||||
private final MappedByteBuffer bb;
|
||||
|
||||
Reference in New Issue
Block a user