@ThriftStruct public final class PrestoThriftBoolean extends Object implements PrestoThriftColumnData
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 and Description |
|---|
PrestoThriftBoolean(boolean[] nulls,
boolean[] booleans) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PrestoThriftBlock |
fromBlock(Block block) |
boolean[] |
getBooleans() |
boolean[] |
getNulls() |
int |
hashCode() |
int |
numberOfRecords() |
Block |
toBlock(Type desiredType) |
String |
toString() |
@Nullable @ThriftField(value=1, requiredness=OPTIONAL) public boolean[] getNulls()
@Nullable @ThriftField(value=2, requiredness=OPTIONAL) public boolean[] getBooleans()
public Block toBlock(Type desiredType)
toBlock in interface PrestoThriftColumnDatapublic int numberOfRecords()
numberOfRecords in interface PrestoThriftColumnDatapublic static PrestoThriftBlock fromBlock(Block block)
Copyright © 2012–2022. All rights reserved.