@ThriftStruct public final class PrestoThriftInteger extends Object implements PrestoThriftColumnData
nulls array determine if a value for a corresponding row is null.
Elements of ints array are values for each row. If row is null then value is ignored.| Constructor and Description |
|---|
PrestoThriftInteger(boolean[] nulls,
int[] ints) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PrestoThriftBlock |
fromBlock(Block block) |
static PrestoThriftBlock |
fromRecordSetColumn(RecordSet recordSet,
int columnIndex,
int totalRecords) |
int[] |
getInts() |
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 int[] getInts()
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–2024. All rights reserved.