VectorIndexServiceBase constructor
VectorIndexServiceBase()
Implementation
VectorIndexServiceBase() {
$addMethod($grpc.ServiceMethod<$5.UpsertItemBatchRequest_,
$5.UpsertItemBatchResponse_>(
'UpsertItemBatch',
upsertItemBatch_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.UpsertItemBatchRequest_.fromBuffer(value),
($5.UpsertItemBatchResponse_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.DeleteItemBatchRequest_,
$5.DeleteItemBatchResponse_>(
'DeleteItemBatch',
deleteItemBatch_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.DeleteItemBatchRequest_.fromBuffer(value),
($5.DeleteItemBatchResponse_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.SearchRequest_, $5.SearchResponse_>(
'Search',
search_Pre,
false,
false,
($core.List<$core.int> value) => $5.SearchRequest_.fromBuffer(value),
($5.SearchResponse_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.SearchAndFetchVectorsRequest_,
$5.SearchAndFetchVectorsResponse_>(
'SearchAndFetchVectors',
searchAndFetchVectors_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.SearchAndFetchVectorsRequest_.fromBuffer(value),
($5.SearchAndFetchVectorsResponse_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.GetItemMetadataBatchRequest_,
$5.GetItemMetadataBatchResponse_>(
'GetItemMetadataBatch',
getItemMetadataBatch_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.GetItemMetadataBatchRequest_.fromBuffer(value),
($5.GetItemMetadataBatchResponse_ value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$5.GetItemBatchRequest_, $5.GetItemBatchResponse_>(
'GetItemBatch',
getItemBatch_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.GetItemBatchRequest_.fromBuffer(value),
($5.GetItemBatchResponse_ value) => value.writeToBuffer()));
}