Class ConnectorTableProperties

java.lang.Object
io.trino.spi.connector.ConnectorTableProperties

public class ConnectorTableProperties extends Object
  • Constructor Details

  • Method Details

    • getPredicate

      public TupleDomain<ColumnHandle> getPredicate()
      A TupleDomain that represents a predicate that every row in this table satisfies.

      This guarantee can have different origins. For example, it may be successful predicate push down, or inherent guarantee provided by the underlying data.

    • getTablePartitioning

      public Optional<ConnectorTablePartitioning> getTablePartitioning()
      The partitioning of the table across the worker nodes.

      If the table is node partitioned, the connector guarantees that each combination of values for the distributed columns will be contained within a single worker.

    • getDiscretePredicates

      public Optional<DiscretePredicates> getDiscretePredicates()
      A collection of discrete predicates describing the data in this layout. The union of these predicates is expected to be equivalent to the overall predicate returned by getPredicate(). They may be used by the engine for further optimizations.
    • getLocalProperties

      public List<LocalProperty<ColumnHandle>> getLocalProperties()
      Properties describing the layout of the data (grouping/sorting) within each partition
    • hashCode

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

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