Package io.milvus.client
Class InsertParam.Builder
- java.lang.Object
-
- io.milvus.client.InsertParam.Builder
-
- Enclosing class:
- InsertParam
public static class InsertParam.Builder extends Object
Builder forInsertParam
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsertParambuild()InsertParam.BuilderwithTimeout(long timeout)Optional.InsertParam.BuilderwithVectorIds(List<Long> vectorIds)Optional.
-
-
-
Method Detail
-
withVectorIds
public InsertParam.Builder withVectorIds(@Nonnull List<Long> vectorIds)
Optional. Default to an emptyArrayList- Parameters:
vectorIds- aListof ids associated with the vectors to insert- Returns:
Builder
-
withTimeout
public InsertParam.Builder withTimeout(long timeout)
Optional. Sets the deadline from when the client RPC is set to when the response is picked up by the client. Default to 86400s (1 day).- Parameters:
timeout- in seconds- Returns:
Builder
-
build
public InsertParam build()
-
-