Package io.milvus.client
Class MilvusServiceClient
- java.lang.Object
-
- io.milvus.client.AbstractMilvusGrpcClient
-
- io.milvus.client.MilvusServiceClient
-
- All Implemented Interfaces:
MilvusClient
public class MilvusServiceClient extends AbstractMilvusGrpcClient
-
-
Constructor Summary
Constructors Constructor Description MilvusServiceClient(@NonNull ConnectParam connectParam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.milvus.grpc.MilvusServiceGrpc.MilvusServiceBlockingStubblockingStub()protected booleanclientIsReady()voidclose(long maxWaitSeconds)Disconnects from a Milvus server with configurable timeout.protected io.milvus.grpc.MilvusServiceGrpc.MilvusServiceFutureStubfutureStub()MilvusClientwithTimeout(long timeout, java.util.concurrent.TimeUnit timeoutUnit)Timeout setting for rpc call.-
Methods inherited from class io.milvus.client.AbstractMilvusGrpcClient
alterAlias, calcDistance, createAlias, createCollection, createIndex, createPartition, delete, describeCollection, describeIndex, dropAlias, dropCollection, dropIndex, dropPartition, getCollectionStatistics, getCompactionState, getCompactionStateWithPlans, getFlushState, getIndexBuildProgress, getIndexState, getMetrics, getPartitionStatistics, getPersistentSegmentInfo, getQuerySegmentInfo, hasCollection, hasPartition, insert, loadBalance, loadCollection, loadPartitions, manualCompaction, query, releaseCollection, releasePartitions, search, showCollections, showPartitions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.milvus.client.MilvusClient
close
-
-
-
-
Constructor Detail
-
MilvusServiceClient
public MilvusServiceClient(@NonNull @NonNull ConnectParam connectParam)
-
-
Method Detail
-
blockingStub
protected io.milvus.grpc.MilvusServiceGrpc.MilvusServiceBlockingStub blockingStub()
- Specified by:
blockingStubin classAbstractMilvusGrpcClient
-
futureStub
protected io.milvus.grpc.MilvusServiceGrpc.MilvusServiceFutureStub futureStub()
- Specified by:
futureStubin classAbstractMilvusGrpcClient
-
clientIsReady
protected boolean clientIsReady()
- Specified by:
clientIsReadyin classAbstractMilvusGrpcClient
-
close
public void close(long maxWaitSeconds) throws java.lang.InterruptedExceptionDescription copied from interface:MilvusClientDisconnects from a Milvus server with configurable timeout.- Parameters:
maxWaitSeconds- timeout unit: second- Throws:
java.lang.InterruptedException
-
withTimeout
public MilvusClient withTimeout(long timeout, java.util.concurrent.TimeUnit timeoutUnit)
Description copied from interface:MilvusClientTimeout setting for rpc call.- Parameters:
timeout- set time waiting for a rpc call.timeoutUnit- time unit
-
-