Class QueryExecution.QueryOutputInfo

java.lang.Object
io.trino.execution.QueryExecution.QueryOutputInfo
Enclosing interface:
QueryExecution

public static class QueryExecution.QueryOutputInfo extends Object
Output schema and buffer URIs for query. The info will always contain column names and types. Buffer locations will always contain the full location set, but may be empty. Users of this data should keep a private copy of the seen buffers to handle out of order events from the listener. Once noMoreBufferLocations is set the locations will never change, and it is guaranteed that all previously sent locations are contained in the buffer locations.
  • Constructor Details

    • QueryOutputInfo

      public QueryOutputInfo(List<String> columnNames, List<Type> columnTypes, Map<TaskId,URI> bufferLocations, boolean noMoreBufferLocations)
  • Method Details

    • getColumnNames

      public List<String> getColumnNames()
    • getColumnTypes

      public List<Type> getColumnTypes()
    • getBufferLocations

      public Map<TaskId,URI> getBufferLocations()
    • isNoMoreBufferLocations

      public boolean isNoMoreBufferLocations()