pub trait OneshotObject { // Required methods fn name(&self) -> &str; fn path(&self) -> &str; fn size(&self) -> usize; fn encodings(&self) -> &[Encoding]; }
An object that will be fetched from a OneshotSource.
OneshotSource
Name of the object, including any extensions.
Path of the object within the remote source.
Size of this object in bytes.
Encodings of the entire object, if any.
Note: The object may internally use compression, e.g. a Parquet file could compress its column chunks, but if the Parquet file itself is not compressed then this would return None.
None