Package io.trino.hive.formats.line.json
Class JsonSerializer
java.lang.Object
io.trino.hive.formats.line.json.JsonSerializer
- All Implemented Interfaces:
LineSerializer
Deserializer that is bug for bug compatible with Hive JsonSerDe.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JsonSerializer
-
-
Method Details
-
getTypes
Description copied from interface:LineSerializerRequired types for the deserialize page builder.- Specified by:
getTypesin interfaceLineSerializer
-
write
public void write(Page page, int position, io.airlift.slice.SliceOutput sliceOutput) throws IOException Description copied from interface:LineSerializerSerialize the page position into the page builder.- Specified by:
writein interfaceLineSerializer- Throws:
IOException- if line can not be written and processing should stop
-