@ThriftStruct public final class PrestoThriftPageResult extends Object
| Constructor and Description |
|---|
PrestoThriftPageResult(List<PrestoThriftBlock> columnBlocks,
int rowCount,
PrestoThriftId nextToken) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PrestoThriftPageResult |
fromRecordSet(RecordSet recordSet) |
List<PrestoThriftBlock> |
getColumnBlocks()
Returns data in a columnar format.
|
PrestoThriftId |
getNextToken() |
int |
getRowCount() |
int |
hashCode() |
Page |
toPage(List<Type> columnTypes) |
String |
toString() |
@ThriftConstructor public PrestoThriftPageResult(List<PrestoThriftBlock> columnBlocks, int rowCount, @Nullable PrestoThriftId nextToken)
@ThriftField(value=1) public List<PrestoThriftBlock> getColumnBlocks()
@ThriftField(value=2) public int getRowCount()
@Nullable @ThriftField(value=3, requiredness=OPTIONAL) public PrestoThriftId getNextToken()
public static PrestoThriftPageResult fromRecordSet(RecordSet recordSet)
Copyright © 2012–2024. All rights reserved.