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