Class TrinoThriftVarchar

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

@ThriftStruct public final class TrinoThriftVarchar 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. 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.