Class TrinoThriftSplit

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

@ThriftStruct public final class TrinoThriftSplit extends Object
  • Constructor Details

  • Method Details

    • getSplitId

      @ThriftField(1) public TrinoThriftId getSplitId()
      Encodes all the information needed to identify a batch of rows to return to Trino. For a basic scan, includes schema name, table name, and output constraint. For an index scan, includes schema name, table name, set of keys to lookup and output constraint.
    • getHosts

      @ThriftField(2) public List<TrinoThriftHostAddress> getHosts()
      Identifies the set of hosts on which the rows are available. If empty, then the rows are expected to be available on any host. The hosts in this list may be independent from the hosts used to serve metadata requests.
    • 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