[−][src]Struct parquet::data_type::ByteArrayType
Trait Implementations
impl DataType for ByteArrayType
[src]
impl DataType for ByteArrayType
impl Decoder<ByteArrayType> for PlainDecoder<ByteArrayType>
[src]
impl Decoder<ByteArrayType> for PlainDecoder<ByteArrayType>
fn get(&mut self, buffer: &mut [ByteArray]) -> Result<usize>
[src]
fn get(&mut self, buffer: &mut [ByteArray]) -> Result<usize>
fn set_data(&mut self, data: ByteBufferPtr, num_values: usize) -> Result<()>
[src]
fn set_data(&mut self, data: ByteBufferPtr, num_values: usize) -> Result<()>
Sets the data to decode to be data
, which should contain num_values
of values to decode. Read more
fn values_left(&self) -> usize
[src]
fn values_left(&self) -> usize
Returns the number of values left in this decoder stream.
fn encoding(&self) -> Encoding
[src]
fn encoding(&self) -> Encoding
Returns the encoding for this decoder.
impl Decoder<ByteArrayType> for DeltaLengthByteArrayDecoder<ByteArrayType>
[src]
impl Decoder<ByteArrayType> for DeltaLengthByteArrayDecoder<ByteArrayType>
fn set_data(&mut self, data: ByteBufferPtr, num_values: usize) -> Result<()>
[src]
fn set_data(&mut self, data: ByteBufferPtr, num_values: usize) -> Result<()>
fn get(&mut self, buffer: &mut [ByteArray]) -> Result<usize>
[src]
fn get(&mut self, buffer: &mut [ByteArray]) -> Result<usize>
fn values_left(&self) -> usize
[src]
fn values_left(&self) -> usize
Returns the number of values left in this decoder stream.
fn encoding(&self) -> Encoding
[src]
fn encoding(&self) -> Encoding
Returns the encoding for this decoder.
impl Decoder<ByteArrayType> for DeltaByteArrayDecoder<ByteArrayType>
[src]
impl Decoder<ByteArrayType> for DeltaByteArrayDecoder<ByteArrayType>
fn set_data(&mut self, data: ByteBufferPtr, num_values: usize) -> Result<()>
[src]
fn set_data(&mut self, data: ByteBufferPtr, num_values: usize) -> Result<()>
fn get(&mut self, buffer: &mut [ByteArray]) -> Result<usize>
[src]
fn get(&mut self, buffer: &mut [ByteArray]) -> Result<usize>
fn values_left(&self) -> usize
[src]
fn values_left(&self) -> usize
Returns the number of values left in this decoder stream.
fn encoding(&self) -> Encoding
[src]
fn encoding(&self) -> Encoding
Returns the encoding for this decoder.
impl Encoder<ByteArrayType> for PlainEncoder<ByteArrayType>
[src]
impl Encoder<ByteArrayType> for PlainEncoder<ByteArrayType>
fn put(&mut self, values: &[ByteArray]) -> Result<()>
[src]
fn put(&mut self, values: &[ByteArray]) -> Result<()>
fn encoding(&self) -> Encoding
[src]
fn encoding(&self) -> Encoding
Returns the encoding type of this encoder.
fn estimated_data_encoded_size(&self) -> usize
[src]
fn estimated_data_encoded_size(&self) -> usize
Returns an estimate of the encoded data, in bytes. Method call must be O(1). Read more
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>
[src]
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>
Flushes the underlying byte buffer that's being processed by this encoder, and return the immutable copy of it. This will also reset the internal state. Read more
impl Encoder<ByteArrayType> for DeltaLengthByteArrayEncoder<ByteArrayType>
[src]
impl Encoder<ByteArrayType> for DeltaLengthByteArrayEncoder<ByteArrayType>
fn put(&mut self, values: &[ByteArray]) -> Result<()>
[src]
fn put(&mut self, values: &[ByteArray]) -> Result<()>
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>
[src]
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>
fn encoding(&self) -> Encoding
[src]
fn encoding(&self) -> Encoding
Returns the encoding type of this encoder.
fn estimated_data_encoded_size(&self) -> usize
[src]
fn estimated_data_encoded_size(&self) -> usize
Returns an estimate of the encoded data, in bytes. Method call must be O(1). Read more
impl Encoder<ByteArrayType> for DeltaByteArrayEncoder<ByteArrayType>
[src]
impl Encoder<ByteArrayType> for DeltaByteArrayEncoder<ByteArrayType>
fn put(&mut self, values: &[ByteArray]) -> Result<()>
[src]
fn put(&mut self, values: &[ByteArray]) -> Result<()>
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>
[src]
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>
fn encoding(&self) -> Encoding
[src]
fn encoding(&self) -> Encoding
Returns the encoding type of this encoder.
fn estimated_data_encoded_size(&self) -> usize
[src]
fn estimated_data_encoded_size(&self) -> usize
Returns an estimate of the encoded data, in bytes. Method call must be O(1). Read more
Auto Trait Implementations
impl Send for ByteArrayType
impl Send for ByteArrayType
impl Sync for ByteArrayType
impl Sync for ByteArrayType
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<E> SpecializationError for E
[src]
impl<E> SpecializationError for E
impl<T> Erased for T
[src]
impl<T> Erased for T
impl<T> Send for T where
T: ?Sized,
[src]
impl<T> Send for T where
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
impl<T> Sync for T where
T: ?Sized,
impl<T> Erased for T
impl<T> Erased for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
impl<T, U> TryInto for T where
U: TryFrom<T>,