Class AsyncParserRunClient


  • public class AsyncParserRunClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncParserRunClient

        public AsyncParserRunClient​(ClientOptions clientOptions)
    • Method Detail

      • get

        public java.util.concurrent.CompletableFuture<ParserRunGetResponse> get​(java.lang.String id)
        Retrieve the status and results of a parser run.

        Use this endpoint to get results for a parser run that has already completed, or to check on the status of an asynchronous parser run initiated via the Parse File Asynchronously endpoint.

        If parsing is still in progress, you'll receive a response with just the status. Once complete, you'll receive the full parsed content in the response.

      • get

        public java.util.concurrent.CompletableFuture<ParserRunGetResponse> get​(java.lang.String id,
                                                                                ParserRunGetRequest request)
        Retrieve the status and results of a parser run.

        Use this endpoint to get results for a parser run that has already completed, or to check on the status of an asynchronous parser run initiated via the Parse File Asynchronously endpoint.

        If parsing is still in progress, you'll receive a response with just the status. Once complete, you'll receive the full parsed content in the response.

      • get

        public java.util.concurrent.CompletableFuture<ParserRunGetResponse> get​(java.lang.String id,
                                                                                ParserRunGetRequest request,
                                                                                RequestOptions requestOptions)
        Retrieve the status and results of a parser run.

        Use this endpoint to get results for a parser run that has already completed, or to check on the status of an asynchronous parser run initiated via the Parse File Asynchronously endpoint.

        If parsing is still in progress, you'll receive a response with just the status. Once complete, you'll receive the full parsed content in the response.

      • delete

        public java.util.concurrent.CompletableFuture<ParserRunDeleteResponse> delete​(java.lang.String id)
        Delete a parser run and all associated data from Extend. This operation is permanent and cannot be undone.

        This endpoint can be used if you'd like to manage data retention on your own rather than automated data retention policies. Or make one-off deletions for your downstream customers.

      • delete

        public java.util.concurrent.CompletableFuture<ParserRunDeleteResponse> delete​(java.lang.String id,
                                                                                      RequestOptions requestOptions)
        Delete a parser run and all associated data from Extend. This operation is permanent and cannot be undone.

        This endpoint can be used if you'd like to manage data retention on your own rather than automated data retention policies. Or make one-off deletions for your downstream customers.