Class WeaviateSpace

All Implemented Interfaces:
Space, NBNamedElement, AutoCloseable

public class WeaviateSpace extends BaseSpace<WeaviateSpace>
The WeaviateSpace class is a context object which stores all stateful contextual information needed to interact with the Weaviate database instance.
See Also:
  • Field Details

    • client

      protected io.weaviate.client.WeaviateClient client
  • Constructor Details

    • WeaviateSpace

      public WeaviateSpace(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.
      Parameters:
      cfg - The configuration (NBConfiguration) for this nb run
  • Method Details

    • getClient

      public io.weaviate.client.WeaviateClient getClient()
    • getConfigModel

      public static NBConfigModel getConfigModel()
    • close

      public void close() throws Exception
      Throws:
      Exception