Package io.trino.plugin.thrift.api
Class TrinoThriftPageResult
java.lang.Object
io.trino.plugin.thrift.api.TrinoThriftPageResult
-
Constructor Summary
ConstructorsConstructorDescriptionTrinoThriftPageResult(List<TrinoThriftBlock> columnBlocks, int rowCount, TrinoThriftId nextToken) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TrinoThriftPageResultfromRecordSet(RecordSet recordSet) Returns data in a columnar format.intinthashCode()toString()
-
Constructor Details
-
TrinoThriftPageResult
@ThriftConstructor public TrinoThriftPageResult(List<TrinoThriftBlock> columnBlocks, int rowCount, @Nullable TrinoThriftId nextToken)
-
-
Method Details
-
getColumnBlocks
Returns data in a columnar format. Columns in this list must be in the order they were requested by the engine. -
getRowCount
@ThriftField(2) public int getRowCount() -
getNextToken
-
toPage
-
equals
-
hashCode
public int hashCode() -
toString
-
fromRecordSet
-