@ThriftStruct public final class PrestoThriftBigint extends Object implements PrestoThriftColumnData
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 and Description |
|---|
PrestoThriftBigint(boolean[] nulls,
long[] longs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PrestoThriftBlock |
fromBlock(Block block) |
static PrestoThriftBlock |
fromRecordSetColumn(RecordSet recordSet,
int columnIndex,
int totalRecords) |
long[] |
getLongs() |
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 long[] getLongs()
public Block toBlock(Type desiredType)
toBlock in interface PrestoThriftColumnDatapublic int numberOfRecords()
numberOfRecords in interface PrestoThriftColumnDatapublic static PrestoThriftBlock fromBlock(Block block)
public static PrestoThriftBlock fromRecordSetColumn(RecordSet recordSet, int columnIndex, int totalRecords)
Copyright © 2012–2023. All rights reserved.