Class WeaviateSpace
java.lang.Object
io.nosqlbench.adapters.api.activityimpl.uniform.BaseSpace<WeaviateSpace>
io.nosqlbench.adapter.weaviate.WeaviateSpace
- All Implemented Interfaces:
Space,NBNamedElement,AutoCloseable
The
WeaviateSpace class is a context object which stores all stateful
contextual information needed to interact with the Weaviate database
instance.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.nosqlbench.adapters.api.activityimpl.uniform.BaseSpace
BaseSpace.BasicSpace -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWeaviateSpace(WeaviateDriverAdapter adapter, long idx, NBConfiguration cfg) Create a new WeaviateSpace Object which stores all stateful contextual information needed to interact with the Weaviate database instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()io.weaviate.client.WeaviateClientstatic NBConfigModel
-
Field Details
-
client
protected io.weaviate.client.WeaviateClient client
-
-
Constructor Details
-
WeaviateSpace
Create a new WeaviateSpace Object which stores all stateful contextual information needed to interact with the Weaviate database instance.- Parameters:
cfg- The configuration (NBConfiguration) for this nb run
-
-
Method Details
-
getClient
public io.weaviate.client.WeaviateClient getClient() -
getConfigModel
-
close
-