pub struct Api {}Implementations§
Trait Implementations§
Source§impl SqlFunServerApi for Api
impl SqlFunServerApi for Api
Source§fn initialize_schema_context<'life0, 'async_trait>(
&'life0 self,
_args: InitializeSchemaArgs,
) -> Pin<Box<dyn Future<Output = Result<SchemaContext, SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn initialize_schema_context<'life0, 'async_trait>(
&'life0 self,
_args: InitializeSchemaArgs,
) -> Pin<Box<dyn Future<Output = Result<SchemaContext, SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Initialize schema-aware query analysis context
Source§fn read_collection<'life0, 'async_trait>(
&'life0 self,
_args: ReadCollectionArgs,
) -> Pin<Box<dyn Future<Output = Result<Value, SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_collection<'life0, 'async_trait>(
&'life0 self,
_args: ReadCollectionArgs,
) -> Pin<Box<dyn Future<Output = Result<Value, SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Read a collection
When server returns multiple items, server keeps scrollable collection,
[read_collection] reads items in collection.
§Return value
returns Collection
Source§fn release_collection<'life0, 'async_trait>(
&'life0 self,
_args: ReleaseCollectionArgs,
) -> Pin<Box<dyn Future<Output = Result<(), SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn release_collection<'life0, 'async_trait>(
&'life0 self,
_args: ReleaseCollectionArgs,
) -> Pin<Box<dyn Future<Output = Result<(), SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Release a collection
When server returns collection, server keeps scrollable collection,
[release_collection] release a server side collection.
Source§fn analyze_query<'life0, 'async_trait>(
&'life0 self,
_args: AnalyzeQueryArgs,
) -> Pin<Box<dyn Future<Output = Result<AnalyzeQueryResponse, SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn analyze_query<'life0, 'async_trait>(
&'life0 self,
_args: AnalyzeQueryArgs,
) -> Pin<Box<dyn Future<Output = Result<AnalyzeQueryResponse, SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
analyze query
Source§fn list_objects<'life0, 'async_trait>(
&'life0 self,
_args: ListObjectArgs,
) -> Pin<Box<dyn Future<Output = Result<Collection<ObjectSummary>, SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_objects<'life0, 'async_trait>(
&'life0 self,
_args: ListObjectArgs,
) -> Pin<Box<dyn Future<Output = Result<Collection<ObjectSummary>, SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
list schema objects
Source§fn describe_table<'life0, 'async_trait>(
&'life0 self,
_args: DescribeTableArgs,
) -> Pin<Box<dyn Future<Output = Result<DescribeTableResponse, SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_table<'life0, 'async_trait>(
&'life0 self,
_args: DescribeTableArgs,
) -> Pin<Box<dyn Future<Output = Result<DescribeTableResponse, SqlFunServerApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
describe a table
Auto Trait Implementations§
impl Freeze for Api
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnwindSafe for Api
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