pub struct LocalAsyncIngestServiceClient<C> { /* private fields */ }Trait Implementations§
Source§impl<C> AsyncService<C> for LocalAsyncIngestServiceClient<C>
impl<C> AsyncService<C> for LocalAsyncIngestServiceClient<C>
Source§fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
Creates a new service wrapping an async HTTP client.
Source§impl<C: Clone> Clone for LocalAsyncIngestServiceClient<C>
impl<C: Clone> Clone for LocalAsyncIngestServiceClient<C>
Source§fn clone(&self) -> LocalAsyncIngestServiceClient<C>
fn clone(&self) -> LocalAsyncIngestServiceClient<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Debug> Debug for LocalAsyncIngestServiceClient<C>
impl<C: Debug> Debug for LocalAsyncIngestServiceClient<C>
Source§impl<I: Stream<Item = Result<Bytes, Error>>, __C> LocalAsyncIngestService<I> for LocalAsyncIngestServiceClient<__C>where
__C: LocalAsyncClient<ResponseBody = I>,
impl<I: Stream<Item = Result<Bytes, Error>>, __C> LocalAsyncIngestService<I> for LocalAsyncIngestServiceClient<__C>where
__C: LocalAsyncClient<ResponseBody = I>,
Source§async fn ingest(
&self,
auth_: &BearerToken,
trigger_ingest: &IngestRequest,
) -> Result<IngestResponse, Error>
async fn ingest( &self, auth_: &BearerToken, trigger_ingest: &IngestRequest, ) -> Result<IngestResponse, Error>
Triggers an ingest job, allowing either creating a new dataset or uploading to an
existing one. This endpoint is meant to supersede all other ingestion endpoints as their functionality
gets migrated to this one.
Source§async fn rerun_ingest(
&self,
auth_: &BearerToken,
request: &RerunIngestRequest,
) -> Result<IngestResponse, Error>
async fn rerun_ingest( &self, auth_: &BearerToken, request: &RerunIngestRequest, ) -> Result<IngestResponse, Error>
Triggers an ingest job using an existing ingest job RID.
Returns the same response format as the /ingest endpoint.
Source§async fn ingest_run(
&self,
auth_: &BearerToken,
request: &IngestRunRequest,
) -> Result<IngestRunResponse, Error>
async fn ingest_run( &self, auth_: &BearerToken, request: &IngestRunRequest, ) -> Result<IngestRunResponse, Error>
Creates a run and ingests data sources to be added to the run.
Source§async fn ingest_video(
&self,
auth_: &BearerToken,
ingest_video: &IngestVideoRequest,
) -> Result<IngestVideoResponse, Error>
async fn ingest_video( &self, auth_: &BearerToken, ingest_video: &IngestVideoRequest, ) -> Result<IngestVideoResponse, Error>
Ingests video data from a S3 Nominal upload bucket.
Source§async fn reingest_from_datasets(
&self,
auth_: &BearerToken,
request: &ReingestDatasetsRequest,
) -> Result<ReingestDatasetsResponse, Error>
async fn reingest_from_datasets( &self, auth_: &BearerToken, request: &ReingestDatasetsRequest, ) -> Result<ReingestDatasetsResponse, Error>
Re-ingests data from provided source datasets into either an existing target dataset, or a new one.
Only supported for CSV and Parquet dataset files.
Will only reingest dataset files and will drop streaming data from datasets.
Source§async fn delete_file(
&self,
auth_: &BearerToken,
dataset_rid: &DatasetRid,
file_id: Uuid,
) -> Result<(), Error>
async fn delete_file( &self, auth_: &BearerToken, dataset_rid: &DatasetRid, file_id: Uuid, ) -> Result<(), Error>
This is a best effort deletion of the file’s data based on the ingestedAt timestamp. This is an unreversible
action. Only v2 dataset file deletion is supported.
!!!WARNING!!!
It’s possible that the file has overwritten points, in which case, those older points will not be recovered.
Only use this endpoint if this is acceptable, the data across files are disjoint, or you’re willing to
re-ingest files to manually recover older points.
Auto Trait Implementations§
impl<C> Freeze for LocalAsyncIngestServiceClient<C>where
C: Freeze,
impl<C> !RefUnwindSafe for LocalAsyncIngestServiceClient<C>
impl<C> Send for LocalAsyncIngestServiceClient<C>where
C: Send,
impl<C> Sync for LocalAsyncIngestServiceClient<C>where
C: Sync,
impl<C> Unpin for LocalAsyncIngestServiceClient<C>where
C: Unpin,
impl<C> UnsafeUnpin for LocalAsyncIngestServiceClient<C>where
C: UnsafeUnpin,
impl<C> !UnwindSafe for LocalAsyncIngestServiceClient<C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request