Interface Space

All Superinterfaces:
AutoCloseable, NBNamedElement
All Known Implementing Classes:
AmqpSpace, AzureAISearchSpace, BaseSpace, BaseSpace.BasicSpace, Cqld4Space, DataApiSpace, DiagSpace, DynamoDBSpace, ExampleSpace, GCPSpannerSpace, HttpSpace, KafkaSpace, MongoSpace, Neo4JSpace, PulsarSpace, QdrantSpace, S4JSpace, StdoutSpace, TcpClientAdapterSpace, TcpServerAdapterSpace, WeaviateSpace

public interface Space extends NBNamedElement, AutoCloseable

A space is simply a separate namespace associated with an instance of a native client or driver. This allows for the emulation of many clients in testing scenarios. Within the operations for an adapter, the space may be needed, for example, to construct prepared statements, or other 'session-attached' objects. Put any state that you would normally associate with an instance of a native driver into a space. A function to access the cycle-specific space instance is provided where you might needed, such as in the mapping or dispensing APIs.

  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     

    Methods inherited from interface io.nosqlbench.nb.api.components.core.NBNamedElement

    getName