| 程序包 | 说明 |
|---|---|
| io.milvus.param.dml |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryParam.Builder |
QueryParam.Builder.addOutField(@NonNull String fieldName)
Specifies an output field (Optional).
|
QueryParam.Builder |
QueryParam.Builder.addPartitionName(@NonNull String partitionName)
Adds a partition to specify query scope (Optional).
|
static QueryParam.Builder |
QueryParam.newBuilder() |
QueryParam.Builder |
QueryParam.Builder.withCollectionName(@NonNull String collectionName)
Sets the collection name.
|
QueryParam.Builder |
QueryParam.Builder.withConsistencyLevel(ConsistencyLevelEnum consistencyLevel)
ConsistencyLevel of consistency level.
|
QueryParam.Builder |
QueryParam.Builder.withExpr(@NonNull String expr)
Sets the expression to query entities.
|
QueryParam.Builder |
QueryParam.Builder.withGracefulTime(Long gracefulTime)
Graceful time for BOUNDED Consistency Level
|
QueryParam.Builder |
QueryParam.Builder.withGuaranteeTimestamp(@NonNull Long ts)
Instructs server to see insert/delete operations performed before a provided timestamp.
|
QueryParam.Builder |
QueryParam.Builder.withLimit(@NonNull Long limit)
Specify a value to control the returned number of entities.
|
QueryParam.Builder |
QueryParam.Builder.withOffset(@NonNull Long offset)
Specify a position to return results.
|
QueryParam.Builder |
QueryParam.Builder.withOutFields(@NonNull List<String> outFields)
Specifies output fields (Optional).
|
QueryParam.Builder |
QueryParam.Builder.withPartitionNames(@NonNull List<String> partitionNames)
Sets partition names list to specify query scope (Optional).
|
QueryParam.Builder |
QueryParam.Builder.withTravelTimestamp(@NonNull Long ts)
Specify an absolute timestamp in a query to get results based on a data view at a specified point in time.
|
Copyright © 2023. All rights reserved.