public class PineconeConnection
extends java.lang.Object
implements java.lang.AutoCloseable
| Constructor and Description |
|---|
PineconeConnection(PineconeClientConfig clientConfig,
PineconeConnectionConfig connectionConfig) |
| Modifier and Type | Method and Description |
|---|---|
static io.grpc.ManagedChannel |
buildChannel(PineconeClientConfig clientConfig,
PineconeConnectionConfig config) |
void |
close()
Close the connection and release all resources.
|
VectorServiceGrpc.VectorServiceBlockingStub |
getBlockingStub() |
io.grpc.ManagedChannel |
getChannel() |
void |
setBlockingStub(VectorServiceGrpc.VectorServiceBlockingStub blockingStub) |
public PineconeConnection(PineconeClientConfig clientConfig, PineconeConnectionConfig connectionConfig)
public void close()
close in interface java.lang.AutoCloseablepublic io.grpc.ManagedChannel getChannel()
public VectorServiceGrpc.VectorServiceBlockingStub getBlockingStub()
public void setBlockingStub(VectorServiceGrpc.VectorServiceBlockingStub blockingStub)
public static io.grpc.ManagedChannel buildChannel(PineconeClientConfig clientConfig, PineconeConnectionConfig config)