mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Merge branch 'main' of github.com:nosqlbench/nosqlbench
This commit is contained in:
commit
5979f1f10a
@ -43,7 +43,7 @@
|
||||
<dependency>
|
||||
<groupId>com.amazonaws</groupId>
|
||||
<artifactId>aws-java-sdk-dynamodb</artifactId>
|
||||
<version>1.12.518</version>
|
||||
<version>1.12.520</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
@ -34,7 +34,7 @@
|
||||
</description>
|
||||
|
||||
<properties>
|
||||
<pulsar.version>3.0.1</pulsar.version>
|
||||
<pulsar.version>3.1.0</pulsar.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -163,12 +163,12 @@
|
||||
<dependency>
|
||||
<groupId>org.openjdk.jmh</groupId>
|
||||
<artifactId>jmh-core</artifactId>
|
||||
<version>1.36</version>
|
||||
<version>1.37</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.openjdk.jmh</groupId>
|
||||
<artifactId>jmh-generator-annprocess</artifactId>
|
||||
<version>1.36</version>
|
||||
<version>1.37</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mitchtalmadge</groupId>
|
||||
@ -232,12 +232,12 @@
|
||||
<dependency>
|
||||
<groupId>org.apache.tinkerpop</groupId>
|
||||
<artifactId>gremlin-core</artifactId>
|
||||
<version>3.6.4</version>
|
||||
<version>3.7.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tinkerpop</groupId>
|
||||
<artifactId>tinkergraph-gremlin</artifactId>
|
||||
<version>3.6.4</version>
|
||||
<version>3.7.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.docker-java</groupId>
|
||||
@ -291,7 +291,7 @@
|
||||
<dependency>
|
||||
<groupId>com.amazonaws</groupId>
|
||||
<artifactId>aws-java-sdk-s3</artifactId>
|
||||
<version>1.12.518</version>
|
||||
<version>1.12.519</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.elega9t</groupId>
|
||||
|
@ -20,15 +20,13 @@ import io.jhdf.HdfFile;
|
||||
import io.jhdf.api.Dataset;
|
||||
import io.nosqlbench.api.content.NBIO;
|
||||
|
||||
import java.nio.file.Paths;
|
||||
|
||||
public abstract class AbstractHdfFileToVectorType {
|
||||
protected final HdfFile hdfFile;
|
||||
protected final Dataset dataset;
|
||||
protected final int[] dims;
|
||||
|
||||
public AbstractHdfFileToVectorType(String filename, String datasetName) {
|
||||
hdfFile = new HdfFile(NBIO.all().search(filename).first().get().asPath());
|
||||
hdfFile = new HdfFile(NBIO.all().search(filename).one().asPath());
|
||||
//TODO: implement a function to get the dataset by name only without needing the full path
|
||||
dataset = hdfFile.getDatasetByPath(datasetName);
|
||||
dims = dataset.getDimensions();
|
||||
|
Loading…
Reference in New Issue
Block a user