Package io.milvus.bulkwriter
Class RemoteBulkWriterParam.Builder
java.lang.Object
io.milvus.bulkwriter.RemoteBulkWriterParam.Builder
- Enclosing class:
RemoteBulkWriterParam
Builder for
RemoteBulkWriterParam class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Verifies parameters and creates a newRemoteBulkWriterParaminstance.withChunkSize(int chunkSize) withCollectionSchema(@NonNull CollectionSchemaParam collectionSchema) Sets the collection info.withConnectParam(StorageConnectParam connectParam) withFileType(@NonNull BulkFileType fileType) withRemotePath(@NonNull String remotePath) Sets the remotePath.
-
Method Details
-
withCollectionSchema
public RemoteBulkWriterParam.Builder withCollectionSchema(@NonNull @NonNull CollectionSchemaParam collectionSchema) Sets the collection info.- Parameters:
collectionSchema- collection info- Returns:
Builder
-
withConnectParam
-
withRemotePath
Sets the remotePath.- Parameters:
remotePath- remote path- Returns:
Builder
-
withChunkSize
-
withFileType
-
build
Verifies parameters and creates a newRemoteBulkWriterParaminstance.- Returns:
RemoteBulkWriterParam- Throws:
ParamException
-