@ThriftStruct public final class PrestoThriftBlock extends Object
| Constructor and Description |
|---|
PrestoThriftBlock(PrestoThriftInteger integerData,
PrestoThriftBigint bigintData,
PrestoThriftDouble doubleData,
PrestoThriftVarchar varcharData,
PrestoThriftBoolean booleanData,
PrestoThriftDate dateData,
PrestoThriftTimestamp timestampData,
PrestoThriftJson jsonData,
PrestoThriftHyperLogLog hyperLogLogData,
PrestoThriftBigintArray bigintArrayData) |
@ThriftConstructor public PrestoThriftBlock(@Nullable PrestoThriftInteger integerData, @Nullable PrestoThriftBigint bigintData, @Nullable PrestoThriftDouble doubleData, @Nullable PrestoThriftVarchar varcharData, @Nullable PrestoThriftBoolean booleanData, @Nullable PrestoThriftDate dateData, @Nullable PrestoThriftTimestamp timestampData, @Nullable PrestoThriftJson jsonData, @Nullable PrestoThriftHyperLogLog hyperLogLogData, @Nullable PrestoThriftBigintArray bigintArrayData)
@Nullable @ThriftField(value=1, requiredness=OPTIONAL) public PrestoThriftInteger getIntegerData()
@Nullable @ThriftField(value=2, requiredness=OPTIONAL) public PrestoThriftBigint getBigintData()
@Nullable @ThriftField(value=3, requiredness=OPTIONAL) public PrestoThriftDouble getDoubleData()
@Nullable @ThriftField(value=4, requiredness=OPTIONAL) public PrestoThriftVarchar getVarcharData()
@Nullable @ThriftField(value=5, requiredness=OPTIONAL) public PrestoThriftBoolean getBooleanData()
@Nullable @ThriftField(value=6, requiredness=OPTIONAL) public PrestoThriftDate getDateData()
@Nullable @ThriftField(value=7, requiredness=OPTIONAL) public PrestoThriftTimestamp getTimestampData()
@Nullable @ThriftField(value=8, requiredness=OPTIONAL) public PrestoThriftJson getJsonData()
@Nullable @ThriftField(value=9, requiredness=OPTIONAL) public PrestoThriftHyperLogLog getHyperLogLogData()
@Nullable @ThriftField(value=10, requiredness=OPTIONAL) public PrestoThriftBigintArray getBigintArrayData()
public int numberOfRecords()
public static PrestoThriftBlock integerData(PrestoThriftInteger integerData)
public static PrestoThriftBlock bigintData(PrestoThriftBigint bigintData)
public static PrestoThriftBlock doubleData(PrestoThriftDouble doubleData)
public static PrestoThriftBlock varcharData(PrestoThriftVarchar varcharData)
public static PrestoThriftBlock booleanData(PrestoThriftBoolean booleanData)
public static PrestoThriftBlock dateData(PrestoThriftDate dateData)
public static PrestoThriftBlock timestampData(PrestoThriftTimestamp timestampData)
public static PrestoThriftBlock jsonData(PrestoThriftJson jsonData)
public static PrestoThriftBlock hyperLogLogData(PrestoThriftHyperLogLog hyperLogLogData)
public static PrestoThriftBlock bigintArrayData(PrestoThriftBigintArray bigintArrayData)
public static PrestoThriftBlock fromBlock(Block block, Type type)
public static PrestoThriftBlock fromRecordSetColumn(RecordSet recordSet, int columnIndex, int totalRecords)
Copyright © 2012–2024. All rights reserved.