pub struct LoadTableResult {
pub metadata_location: Option<String>,
pub metadata: TableMetadata,
pub config: HashMap<String, String>,
pub storage_credentials: Option<Vec<StorageCredential>>,
}Expand description
Result returned when a table is successfully loaded or created.
The table metadata JSON is returned in the metadata field. The corresponding file location
of table metadata should be returned in the metadata_location field, unless the metadata
is not yet committed. For example, a create transaction may return metadata that is staged
but not committed.
The config map returns table-specific configuration for the table’s resources, including
its HTTP client and FileIO. For example, config may contain a specific FileIO implementation
class for the table depending on its underlying storage.
Fields§
§metadata_location: Option<String>May be null if the table is staged as part of a transaction
metadata: TableMetadataThe table’s full metadata
config: HashMap<String, String>Table-specific configuration overriding catalog configuration
storage_credentials: Option<Vec<StorageCredential>>Storage credentials for accessing table data. Clients should check this field
before falling back to credentials in the config field.
Trait Implementations§
Source§impl Clone for LoadTableResult
impl Clone for LoadTableResult
Source§fn clone(&self) -> LoadTableResult
fn clone(&self) -> LoadTableResult
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LoadTableResult
impl Debug for LoadTableResult
Source§impl<'de> Deserialize<'de> for LoadTableResult
impl<'de> Deserialize<'de> for LoadTableResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for LoadTableResult
impl PartialEq for LoadTableResult
Source§impl Serialize for LoadTableResult
impl Serialize for LoadTableResult
impl Eq for LoadTableResult
impl StructuralPartialEq for LoadTableResult
Auto Trait Implementations§
impl !Freeze for LoadTableResult
impl RefUnwindSafe for LoadTableResult
impl Send for LoadTableResult
impl Sync for LoadTableResult
impl Unpin for LoadTableResult
impl UnwindSafe for LoadTableResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Any.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Any.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more