Package io.trino.hive.formats.avro
Class AvroPagePositionDataWriter
java.lang.Object
io.trino.hive.formats.avro.AvroPagePositionDataWriter
- All Implemented Interfaces:
org.apache.avro.io.DatumWriter<Integer>
-
Constructor Summary
ConstructorsConstructorDescriptionAvroPagePositionDataWriter(org.apache.avro.Schema schema, AvroTypeManager avroTypeManager, List<String> channelNames, List<Type> channelTypes) -
Method Summary
-
Constructor Details
-
AvroPagePositionDataWriter
public AvroPagePositionDataWriter(org.apache.avro.Schema schema, AvroTypeManager avroTypeManager, List<String> channelNames, List<Type> channelTypes) throws AvroTypeException - Throws:
AvroTypeException
-
-
Method Details
-
setSchema
public void setSchema(org.apache.avro.Schema schema) - Specified by:
setSchemain interfaceorg.apache.avro.io.DatumWriter<Integer>
-
setPage
-
write
- Specified by:
writein interfaceorg.apache.avro.io.DatumWriter<Integer>- Throws:
IOException
-