Package io.trino.hive.formats.avro
Class BaseAvroTypeBlockHandlerImpls.LongBlockBuildingDecoder
java.lang.Object
io.trino.hive.formats.avro.BaseAvroTypeBlockHandlerImpls.LongBlockBuildingDecoder
- All Implemented Interfaces:
BlockBuildingDecoder
- Enclosing class:
BaseAvroTypeBlockHandlerImpls
public static class BaseAvroTypeBlockHandlerImpls.LongBlockBuildingDecoder
extends Object
implements BlockBuildingDecoder
-
Constructor Summary
ConstructorsConstructorDescriptionLongBlockBuildingDecoder(AvroReadAction.LongIoFunction<org.apache.avro.io.Decoder> extractLong) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecodeIntoBlock(org.apache.avro.io.Decoder decoder, BlockBuilder builder)
-
Constructor Details
-
LongBlockBuildingDecoder
public LongBlockBuildingDecoder(AvroReadAction.LongIoFunction<org.apache.avro.io.Decoder> extractLong)
-
-
Method Details
-
decodeIntoBlock
public void decodeIntoBlock(org.apache.avro.io.Decoder decoder, BlockBuilder builder) throws IOException - Specified by:
decodeIntoBlockin interfaceBlockBuildingDecoder- Throws:
IOException
-