Class TrinoThriftDouble
java.lang.Object
io.trino.plugin.thrift.api.datatypes.TrinoThriftDouble
- All Implemented Interfaces:
TrinoThriftColumnData
Elements of
nulls array determine if a value for a corresponding row is null.
Elements of doubles array are values for each row. If row is null then value is ignored.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TrinoThriftBlockdouble[]boolean[]getNulls()inthashCode()inttoString()
-
Constructor Details
-
TrinoThriftDouble
@ThriftConstructor public TrinoThriftDouble(@Nullable boolean[] nulls, @Nullable double[] doubles)
-
-
Method Details
-
getNulls
@Nullable @ThriftField(value=1, requiredness=OPTIONAL) public boolean[] getNulls() -
getDoubles
@Nullable @ThriftField(value=2, requiredness=OPTIONAL) public double[] getDoubles() -
toBlock
- Specified by:
toBlockin interfaceTrinoThriftColumnData
-
numberOfRecords
public int numberOfRecords()- Specified by:
numberOfRecordsin interfaceTrinoThriftColumnData
-
equals
-
hashCode
public int hashCode() -
toString
-
fromBlock
-