Interface DataServiceAsync
-
- All Implemented Interfaces:
public interface DataServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDataServiceAsync.WithRawResponseA view of DataServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract DataServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract DataServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<DataStreamResponse>stream(String inferencePipelineId, DataStreamParams params)Publish an inference data point to an inference pipeline. CompletableFuture<DataStreamResponse>stream(String inferencePipelineId, DataStreamParams params, RequestOptions requestOptions)CompletableFuture<DataStreamResponse>stream(DataStreamParams params)abstract CompletableFuture<DataStreamResponse>stream(DataStreamParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract DataServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract DataServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
stream
CompletableFuture<DataStreamResponse> stream(String inferencePipelineId, DataStreamParams params)
Publish an inference data point to an inference pipeline.
-
stream
CompletableFuture<DataStreamResponse> stream(String inferencePipelineId, DataStreamParams params, RequestOptions requestOptions)
-
stream
CompletableFuture<DataStreamResponse> stream(DataStreamParams params)
-
stream
abstract CompletableFuture<DataStreamResponse> stream(DataStreamParams params, RequestOptions requestOptions)
-
-
-
-