Class TrinoThriftPageResult

java.lang.Object
io.trino.plugin.thrift.api.TrinoThriftPageResult

@ThriftStruct public final class TrinoThriftPageResult extends Object
  • Constructor Details

  • Method Details

    • getColumnBlocks

      @ThriftField(1) public List<TrinoThriftBlock> 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

      @Nullable @ThriftField(value=3, requiredness=OPTIONAL) public TrinoThriftId getNextToken()
    • toPage

      @Nullable public Page toPage(List<Type> columnTypes)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromRecordSet

      public static TrinoThriftPageResult fromRecordSet(RecordSet recordSet)