Class TrinoThriftJson

java.lang.Object
io.trino.plugin.thrift.api.datatypes.TrinoThriftJson
All Implemented Interfaces:
TrinoThriftColumnData

@ThriftStruct public final class TrinoThriftJson extends Object implements TrinoThriftColumnData
Elements of nulls array determine if a value for a corresponding row is null. Each elements of sizes array contains the length in bytes for the corresponding element. If row is null then the corresponding element in sizes is ignored. bytes array contains UTF-8 encoded byte values for string representation of json. Values for all rows are written to bytes array one after another. The total number of bytes must be equal to the sum of all sizes.