Struct parpulse_client::client::StorageClientImpl
source · pub struct StorageClientImpl { /* private fields */ }Implementations§
source§impl StorageClientImpl
impl StorageClientImpl
pub fn new( storage_server_endpoint_str: &str, catalog_server_endpoint_str: &str ) -> Result<Self>
pub async fn request_data_test( &self, request: StorageRequest ) -> Result<Receiver<RecordBatch>>
Trait Implementations§
source§impl StorageClient for StorageClientImpl
impl StorageClient for StorageClientImpl
source§fn request_data<'life0, 'async_trait>(
&'life0 self,
request: StorageRequest
) -> Pin<Box<dyn Future<Output = Result<Receiver<RecordBatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn request_data<'life0, 'async_trait>(
&'life0 self,
request: StorageRequest
) -> Pin<Box<dyn Future<Output = Result<Receiver<RecordBatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the requested data as a stream.
source§fn request_data_sync<'life0, 'async_trait>(
&'life0 self,
_request: StorageRequest
) -> Pin<Box<dyn Future<Output = Result<Vec<RecordBatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn request_data_sync<'life0, 'async_trait>(
&'life0 self,
_request: StorageRequest
) -> Pin<Box<dyn Future<Output = Result<Vec<RecordBatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns all the requested data as a whole.
Auto Trait Implementations§
impl !Freeze for StorageClientImpl
impl RefUnwindSafe for StorageClientImpl
impl Send for StorageClientImpl
impl Sync for StorageClientImpl
impl Unpin for StorageClientImpl
impl UnwindSafe for StorageClientImpl
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