Package io.trino.hive.formats.avro
Class RowBlockBuildingDecoder
java.lang.Object
io.trino.hive.formats.avro.RowBlockBuildingDecoder
- All Implemented Interfaces:
BlockBuildingDecoder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final classstatic final class -
Constructor Summary
ConstructorsConstructorDescriptionRowBlockBuildingDecoder(AvroReadAction action, AvroTypeBlockHandler typeManager) RowBlockBuildingDecoder(org.apache.avro.Schema writeSchema, org.apache.avro.Schema readSchema, AvroTypeBlockHandler typeManager) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecodeIntoBlock(org.apache.avro.io.Decoder decoder, BlockBuilder builder) protected voiddecodeIntoBlockProvided(org.apache.avro.io.Decoder decoder, IntFunction<BlockBuilder> fieldBlockBuilder) protected voiddecodeIntoPageBuilder(org.apache.avro.io.Decoder decoder, PageBuilder builder)
-
Constructor Details
-
RowBlockBuildingDecoder
public RowBlockBuildingDecoder(org.apache.avro.Schema writeSchema, org.apache.avro.Schema readSchema, AvroTypeBlockHandler typeManager) throws AvroTypeException - Throws:
AvroTypeException
-
RowBlockBuildingDecoder
public RowBlockBuildingDecoder(AvroReadAction action, AvroTypeBlockHandler typeManager) throws AvroTypeException - Throws:
AvroTypeException
-
-
Method Details
-
decodeIntoBlock
public void decodeIntoBlock(org.apache.avro.io.Decoder decoder, BlockBuilder builder) throws IOException - Specified by:
decodeIntoBlockin interfaceBlockBuildingDecoder- Throws:
IOException
-
decodeIntoPageBuilder
protected void decodeIntoPageBuilder(org.apache.avro.io.Decoder decoder, PageBuilder builder) throws IOException - Throws:
IOException
-
decodeIntoBlockProvided
protected void decodeIntoBlockProvided(org.apache.avro.io.Decoder decoder, IntFunction<BlockBuilder> fieldBlockBuilder) throws IOException - Throws:
IOException
-