Interface PointMethods
- All Known Subinterfaces:
QDrantHttpClient
- All Known Implementing Classes:
AbstractQDrantClient,QDrantHttpClientImpl
public interface PointMethods
-
Method Summary
Modifier and TypeMethodDescriptionclearPayload(String collectionName, PointsClearPayloadRequest request, boolean wait) Remove all payload for specified points.countPoints(String collectionName, PointCountRequest request) Count points which matches given filtering condition.deletePayload(String collectionName, PointDeletePayloadRequest request, boolean wait) Delete specified key payload for points.deletePoints(String collectionName, PointsDeleteRequest request, boolean wait) Delete points.default QDrantClientRequest<PointGetResponse>Retrieve full information of single point by id.default QDrantClientRequest<PointGetResponse>Retrieve full information of single point by id.Retrieve full information of single point by id.default QDrantClientRequest<PointGetResponse>Retrieve full information of single point by id.getPoints(String collectionName, PointsGetRequest request) Retrieve multiple points by specified IDs.overwritePayload(String collectionName, PointOverwritePayloadRequest request, boolean wait) Replace full payload of points with new one.recommendBatchPoints(String collectionName, PointsRecommendBatchRequest request) Look for the points which are closer to stored positive examples and at the same time further to negative examples.recommendPoints(String collectionName, PointsRecommendRequest request) Look for the points which are closer to stored positive examples and at the same time further to negative examples.scrollPoints(String collectionName, PointsScrollRequest request) Scroll request - paginate over all points which matches given filtering condition.searchBatchPoints(String collectionName, PointsSearchBatchRequest request) Retrieve by batch the closest points based on vector similarity and given filtering conditions.searchPoints(String collectionName, PointsSearchRequest request) Retrieve closest points based on vector similarity and given filtering conditions.setPointPayload(String collectionName, PointSetPayloadRequest request, boolean wait) Set payload values for points.upsertPoints(String collectionName, PointsUpsertRequest request, boolean wait) Perform insert + updates on points.
-
Method Details
-
getPoint
Retrieve full information of single point by id.- Parameters:
collectionName-pointId-- Returns:
-
getPoint
Retrieve full information of single point by id.- Parameters:
collectionName-pointId-- Returns:
-
getPoint
Retrieve full information of single point by id.- Parameters:
collectionName-id-- Returns:
-
getPoint
Retrieve full information of single point by id.- Parameters:
collectionName-uuid-- Returns:
-
getPoints
Retrieve multiple points by specified IDs.- Parameters:
collectionName-request-- Returns:
-
upsertPoints
QDrantClientRequest<UpdateResultResponse> upsertPoints(String collectionName, PointsUpsertRequest request, boolean wait) Perform insert + updates on points. If point with given ID already exists - it will be overwritten.- Parameters:
collectionName-request-wait-- Returns:
-
deletePoints
QDrantClientRequest<UpdateResultResponse> deletePoints(String collectionName, PointsDeleteRequest request, boolean wait) Delete points.- Parameters:
collectionName-request-wait-- Returns:
-
setPointPayload
QDrantClientRequest<UpdateResultResponse> setPointPayload(String collectionName, PointSetPayloadRequest request, boolean wait) Set payload values for points. This will merge the points payload and add new properties or update existing ones.- Parameters:
collectionName-request-wait-- Returns:
-
overwritePayload
QDrantClientRequest<UpdateResultResponse> overwritePayload(String collectionName, PointOverwritePayloadRequest request, boolean wait) Replace full payload of points with new one. This will overwrite the whole given payload with the new one. Existing properties will be remove.- Parameters:
collectionName-request-wait-- Returns:
-
deletePayload
QDrantClientRequest<UpdateResultResponse> deletePayload(String collectionName, PointDeletePayloadRequest request, boolean wait) Delete specified key payload for points. This will only delete the specified properties from the found payloads.- Parameters:
collectionName-request-wait-- Returns:
-
clearPayload
QDrantClientRequest<UpdateResultResponse> clearPayload(String collectionName, PointsClearPayloadRequest request, boolean wait) Remove all payload for specified points. Removes the whole payload from all selected points.- Parameters:
collectionName-request-wait-- Returns:
-
scrollPoints
QDrantClientRequest<PointsScrollResponse> scrollPoints(String collectionName, PointsScrollRequest request) Scroll request - paginate over all points which matches given filtering condition.- Parameters:
collectionName-request-- Returns:
-
searchPoints
QDrantClientRequest<PointsSearchResponse> searchPoints(String collectionName, PointsSearchRequest request) Retrieve closest points based on vector similarity and given filtering conditions.- Parameters:
collectionName-request-- Returns:
-
searchBatchPoints
QDrantClientRequest<PointsSearchBatchResponse> searchBatchPoints(String collectionName, PointsSearchBatchRequest request) Retrieve by batch the closest points based on vector similarity and given filtering conditions.- Parameters:
collectionName-request-- Returns:
-
recommendPoints
QDrantClientRequest<PointsRecommendResponse> recommendPoints(String collectionName, PointsRecommendRequest request) Look for the points which are closer to stored positive examples and at the same time further to negative examples.- Parameters:
collectionName-request-- Returns:
-
recommendBatchPoints
QDrantClientRequest<PointsRecommendBatchResponse> recommendBatchPoints(String collectionName, PointsRecommendBatchRequest request) Look for the points which are closer to stored positive examples and at the same time further to negative examples.- Parameters:
collectionName-request-- Returns:
-
countPoints
QDrantClientRequest<PointCountResponse> countPoints(String collectionName, PointCountRequest request) Count points which matches given filtering condition.- Parameters:
collectionName-request-- Returns:
-