pub struct IngestMetadata { /* private fields */ }Implementations§
Source§impl IngestMetadata
impl IngestMetadata
Sourcepub fn new() -> IngestMetadata
pub fn new() -> IngestMetadata
Constructs a new instance of the type.
Sourcepub fn timestamp_metadata(&self) -> Option<&TimestampMetadata>
pub fn timestamp_metadata(&self) -> Option<&TimestampMetadata>
The timestamp metadata will be recovered from the dataset files if possible. Older datasets may have unrecoverable timestamp metadata. If unrecoverable, reingestion will throw MissingMetadataForReingest if not provided in request.
Sourcepub fn channel_prefix(&self) -> Option<&str>
pub fn channel_prefix(&self) -> Option<&str>
Channel prefix to use when reingesting the dataset. Defaults to empty string. Not recoverable from prior ingests and must be provided in request if needed.
Sourcepub fn channel_name_overrides(&self) -> &BTreeMap<String, String>
pub fn channel_name_overrides(&self) -> &BTreeMap<String, String>
Renames individual columns to explicit channel names. Composes with channelPrefix:
final name = channelPrefix + channelNameOverrides.getOrDefault(column, column).
Defaults to empty map. Not recoverable from prior ingests and must be provided in request if needed.
At most 1000 entries may be provided. Resolved channel names must be unique across columns;
renaming a column onto another column’s name fails the ingest.
Sourcepub fn tag_columns(&self) -> Option<&BTreeMap<String, String>>
pub fn tag_columns(&self) -> Option<&BTreeMap<String, String>>
A map of tag names to column names to derive the tag values from. Not recoverable from prior ingests and must be provided in request if needed.
Additional tags to apply to all dataset files within the the given dataset. Not recoverable from prior ingests and must be provided in request if needed.
Trait Implementations§
Source§impl Clone for IngestMetadata
impl Clone for IngestMetadata
Source§fn clone(&self) -> IngestMetadata
fn clone(&self) -> IngestMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IngestMetadata
impl Debug for IngestMetadata
Source§impl<'de> Deserialize<'de> for IngestMetadata
impl<'de> Deserialize<'de> for IngestMetadata
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IngestMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IngestMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for IngestMetadata
Source§impl Hash for IngestMetadata
impl Hash for IngestMetadata
Source§impl Ord for IngestMetadata
impl Ord for IngestMetadata
Source§fn cmp(&self, other: &IngestMetadata) -> Ordering
fn cmp(&self, other: &IngestMetadata) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for IngestMetadata
impl PartialEq for IngestMetadata
Source§fn eq(&self, other: &IngestMetadata) -> bool
fn eq(&self, other: &IngestMetadata) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IngestMetadata
impl PartialOrd for IngestMetadata
Source§impl Serialize for IngestMetadata
impl Serialize for IngestMetadata
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for IngestMetadata
Auto Trait Implementations§
impl Freeze for IngestMetadata
impl RefUnwindSafe for IngestMetadata
impl Send for IngestMetadata
impl Sync for IngestMetadata
impl Unpin for IngestMetadata
impl UnsafeUnpin for IngestMetadata
impl UnwindSafe for IngestMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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>
T in a tonic::Request