pub trait EncodedBatchWriteExt {
// Required methods
fn try_to_self_described_lance(&self) -> Result<Bytes>;
fn try_to_mini_lance(&self) -> Result<Bytes>;
}
Expand description
Utility trait for converting EncodedBatch to Bytes using the lance file format
Required Methods§
Sourcefn try_to_self_described_lance(&self) -> Result<Bytes>
fn try_to_self_described_lance(&self) -> Result<Bytes>
Serializes into a lance file, including the schema
Sourcefn try_to_mini_lance(&self) -> Result<Bytes>
fn try_to_mini_lance(&self) -> Result<Bytes>
Serializes into a lance file, without the schema.
The schema must be provided to deserialize the buffer