MCPcopy Create free account
hub / github.com/apache/arrow-rs / make_decoder

Method make_decoder

arrow-json/src/reader/mod.rs:752–758  ·  view source on GitHub ↗

Create a decoder for a type. This is the standard way to create child decoders from within a decoder implementation.

(
        &self,
        data_type: &DataType,
        is_nullable: bool,
    )

Source from the content-addressed store, hash-verified

750 /// This is the standard way to create child decoders from within a decoder
751 /// implementation.
752 fn make_decoder(
753 &self,
754 data_type: &DataType,
755 is_nullable: bool,
756 ) -> Result<Box<dyn ArrayDecoder>, ArrowError> {
757 make_decoder(self, data_type, is_nullable)
758 }
759}
760
761fn make_decoder(

Callers 5

build_decoderMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45

Calls 1

make_decoderFunction · 0.70

Tested by

no test coverage detected