readIndexDatapoints method
Future<ReadIndexDatapointsResponse>
readIndexDatapoints(
- ReadIndexDatapointsRequest request
override
Reads the datapoints/vectors of the given IDs. A maximum of 1000 datapoints can be retrieved in a batch.
Throws a http.ClientException if there were problems communicating with
the API service. Throws a ServiceException if the API method failed for
any reason.
Implementation
@override
Future<ReadIndexDatapointsResponse> readIndexDatapoints(
ReadIndexDatapointsRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_readIndexDatapoints case final readIndexDatapoints?) {
return readIndexDatapoints(request);
}
throw UnsupportedError('readIndexDatapoints');
}