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