pub trait JsonEqual {
fn equals_json(&self, json: &[&Value]) -> bool;
fn equals_json_values(&self, json: &[Value]) -> bool { ... }
}
Expand description
Trait for comparing arrow array with json array
Required Methods
Provided Methods
Implementors
impl JsonEqual for BooleanArray
Implement array equals for numeric type
impl JsonEqual for DecimalArray
impl JsonEqual for FixedSizeBinaryArray
impl JsonEqual for FixedSizeListArray
impl JsonEqual for MapArray
impl JsonEqual for NullArray
impl JsonEqual for StructArray
impl JsonEqual for UnionArray
impl JsonEqual for ArrayRef
impl<OffsetSize: OffsetSizeTrait> JsonEqual for GenericBinaryArray<OffsetSize>
impl<OffsetSize: OffsetSizeTrait> JsonEqual for GenericListArray<OffsetSize>
impl<OffsetSize: OffsetSizeTrait> JsonEqual for GenericStringArray<OffsetSize>
impl<T: ArrowPrimitiveType> JsonEqual for DictionaryArray<T>
impl<T: ArrowPrimitiveType> JsonEqual for PrimitiveArray<T>
Implement array equals for numeric type