Struct parquet_format_safe::IntType
source · Expand description
Integer logical type annotation
bitWidth must be 8, 16, 32, or 64.
Allowed for physical types: INT32, INT64
Fields§
§bit_width: i8
§is_signed: bool
Implementations§
source§impl IntType
impl IntType
pub fn new(bit_width: i8, is_signed: bool) -> IntType
pub fn read_from_in_protocol<T: TInputProtocol>(
i_prot: &mut T
) -> Result<IntType>
pub async fn stream_from_in_protocol<T: TInputStreamProtocol>(
i_prot: &mut T
) -> Result<IntType>
pub fn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T
) -> Result<usize>
pub async fn write_to_out_stream_protocol<T: TOutputStreamProtocol>(
&self,
o_prot: &mut T
) -> Result<usize>
Trait Implementations§
source§impl AsyncReadThrift for IntType
impl AsyncReadThrift for IntType
source§fn stream_from_in_protocol<'life0, 'async_trait, T>(
i_prot: &'life0 mut T
) -> Pin<Box<dyn Future<Output = Result<IntType>> + Send + 'async_trait>>where
T: 'async_trait + TInputStreamProtocol,
'life0: 'async_trait,
fn stream_from_in_protocol<'life0, 'async_trait, T>(
i_prot: &'life0 mut T
) -> Pin<Box<dyn Future<Output = Result<IntType>> + Send + 'async_trait>>where
T: 'async_trait + TInputStreamProtocol,
'life0: 'async_trait,
Available on crate feature
async
only.source§impl Ord for IntType
impl Ord for IntType
source§impl PartialEq<IntType> for IntType
impl PartialEq<IntType> for IntType
source§impl PartialOrd<IntType> for IntType
impl PartialOrd<IntType> for IntType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more