Interface DatasetServiceAsync
-
- All Implemented Interfaces:
public interface DatasetServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDatasetServiceAsync.WithRawResponseA view of DatasetServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract DatasetServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<Dataset> create(DatasetCreateParams params)
Create a new dataset. If there is an existing dataset in the project with the same name as the one specified in the request, will return the existing dataset unmodified
-
create
abstract CompletableFuture<Dataset> create(DatasetCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Dataset> retrieve(DatasetRetrieveParams params)
Get a dataset object by its id
-
retrieve
abstract CompletableFuture<Dataset> retrieve(DatasetRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Dataset> update(DatasetUpdateParams params)
Partially update a dataset object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
-
update
abstract CompletableFuture<Dataset> update(DatasetUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<DatasetListPageAsync> list()
List out all datasets. The datasets are sorted by creation date, with the most recently-created datasets coming first
-
list
abstract CompletableFuture<DatasetListPageAsync> list(DatasetListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<DatasetListPageAsync> list(DatasetListParams params)
-
list
CompletableFuture<DatasetListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<Dataset> delete(DatasetDeleteParams params)
Delete a dataset object by its id
-
delete
abstract CompletableFuture<Dataset> delete(DatasetDeleteParams params, RequestOptions requestOptions)
-
feedback
CompletableFuture<FeedbackResponseSchema> feedback(DatasetFeedbackParams params)
Log feedback for a set of dataset events
-
feedback
abstract CompletableFuture<FeedbackResponseSchema> feedback(DatasetFeedbackParams params, RequestOptions requestOptions)
-
fetch
CompletableFuture<FetchDatasetEventsResponse> fetch(DatasetFetchParams params)
Fetch the events in a dataset. Equivalent to the POST form of the same path, but with the parameters in the URL query rather than in the request body. For more complex queries, use the
POST /btqlendpoint.
-
fetch
abstract CompletableFuture<FetchDatasetEventsResponse> fetch(DatasetFetchParams params, RequestOptions requestOptions)
-
fetchPost
CompletableFuture<FetchDatasetEventsResponse> fetchPost(DatasetFetchPostParams params)
Fetch the events in a dataset. Equivalent to the GET form of the same path, but with the parameters in the request body rather than in the URL query. For more complex queries, use the
POST /btqlendpoint.
-
fetchPost
abstract CompletableFuture<FetchDatasetEventsResponse> fetchPost(DatasetFetchPostParams params, RequestOptions requestOptions)
-
insert
CompletableFuture<InsertEventsResponse> insert(DatasetInsertParams params)
Insert a set of events into the dataset
-
insert
abstract CompletableFuture<InsertEventsResponse> insert(DatasetInsertParams params, RequestOptions requestOptions)
-
summarize
CompletableFuture<SummarizeDatasetResponse> summarize(DatasetSummarizeParams params)
Summarize dataset
-
summarize
abstract CompletableFuture<SummarizeDatasetResponse> summarize(DatasetSummarizeParams params, RequestOptions requestOptions)
-
-
-
-