Class TrinoThriftBigint
java.lang.Object
io.trino.plugin.thrift.api.datatypes.TrinoThriftBigint
- All Implemented Interfaces:
TrinoThriftColumnData
Elements of
nulls array determine if a value for a corresponding row is null.
Elements of longs array are values for each row. If row is null then value is ignored.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TrinoThriftBlockstatic TrinoThriftBlockfromRecordSetColumn(RecordSet recordSet, int columnIndex, int totalRecords) long[]getLongs()boolean[]getNulls()inthashCode()inttoString()
-
Constructor Details
-
TrinoThriftBigint
@ThriftConstructor public TrinoThriftBigint(@ThriftField(name="nulls") @Nullable boolean[] nulls, @ThriftField(name="longs") @Nullable long[] longs)
-
-
Method Details
-
getNulls
@Nullable @ThriftField(value=1, requiredness=OPTIONAL) public boolean[] getNulls() -
getLongs
@Nullable @ThriftField(value=2, requiredness=OPTIONAL) public long[] getLongs() -
toBlock
- Specified by:
toBlockin interfaceTrinoThriftColumnData
-
numberOfRecords
public int numberOfRecords()- Specified by:
numberOfRecordsin interfaceTrinoThriftColumnData
-
equals
-
hashCode
public int hashCode() -
toString
-
fromBlock
-
fromRecordSetColumn
public static TrinoThriftBlock fromRecordSetColumn(RecordSet recordSet, int columnIndex, int totalRecords)
-