Points

Trait Points 

Source
pub trait Points:
    Send
    + Sync
    + 'static {
Show 13 methods // Required methods fn upsert<'life0, 'async_trait>( &'life0 self, request: Request<UpsertPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete<'life0, 'async_trait>( &'life0 self, request: Request<DeletePoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get<'life0, 'async_trait>( &'life0 self, request: Request<GetPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn set_payload<'life0, 'async_trait>( &'life0 self, request: Request<SetPayloadPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_payload<'life0, 'async_trait>( &'life0 self, request: Request<DeletePayloadPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn clear_payload<'life0, 'async_trait>( &'life0 self, request: Request<ClearPayloadPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_field_index<'life0, 'async_trait>( &'life0 self, request: Request<CreateFieldIndexCollection>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_field_index<'life0, 'async_trait>( &'life0 self, request: Request<DeleteFieldIndexCollection>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn search<'life0, 'async_trait>( &'life0 self, request: Request<SearchPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<SearchResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn scroll<'life0, 'async_trait>( &'life0 self, request: Request<ScrollPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<ScrollResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn recommend<'life0, 'async_trait>( &'life0 self, request: Request<RecommendPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<RecommendResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn count<'life0, 'async_trait>( &'life0 self, request: Request<CountPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<CountResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn query<'life0, 'async_trait>( &'life0 self, request: Request<QueryPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<QueryResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with PointsServer.

Required Methods§

Source

fn upsert<'life0, 'async_trait>( &'life0 self, request: Request<UpsertPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Upsert points

Source

fn delete<'life0, 'async_trait>( &'life0 self, request: Request<DeletePoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Delete points

Source

fn get<'life0, 'async_trait>( &'life0 self, request: Request<GetPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get points by IDs

Source

fn set_payload<'life0, 'async_trait>( &'life0 self, request: Request<SetPayloadPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Set payload for points

Source

fn delete_payload<'life0, 'async_trait>( &'life0 self, request: Request<DeletePayloadPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Delete payload keys from points

Source

fn clear_payload<'life0, 'async_trait>( &'life0 self, request: Request<ClearPayloadPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Clear all payload from points

Source

fn create_field_index<'life0, 'async_trait>( &'life0 self, request: Request<CreateFieldIndexCollection>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Create field index

Source

fn delete_field_index<'life0, 'async_trait>( &'life0 self, request: Request<DeleteFieldIndexCollection>, ) -> Pin<Box<dyn Future<Output = Result<Response<PointsOperationResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Delete field index

Source

fn search<'life0, 'async_trait>( &'life0 self, request: Request<SearchPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<SearchResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Search for similar points

Source

fn scroll<'life0, 'async_trait>( &'life0 self, request: Request<ScrollPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<ScrollResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Scroll through points

Source

fn recommend<'life0, 'async_trait>( &'life0 self, request: Request<RecommendPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<RecommendResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Recommend points

Source

fn count<'life0, 'async_trait>( &'life0 self, request: Request<CountPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<CountResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Count points

Source

fn query<'life0, 'async_trait>( &'life0 self, request: Request<QueryPoints>, ) -> Pin<Box<dyn Future<Output = Result<Response<QueryResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Universal query endpoint

Implementors§