Class ConnectorTableProperties
java.lang.Object
io.trino.spi.connector.ConnectorTableProperties
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorTableProperties(TupleDomain<ColumnHandle> predicate, Optional<ConnectorTablePartitioning> tablePartitioning, Optional<DiscretePredicates> discretePredicates, List<LocalProperty<ColumnHandle>> localProperties) -
Method Summary
Modifier and TypeMethodDescriptionbooleanA collection of discrete predicates describing the data in this layout.Properties describing the layout of the data (grouping/sorting) within each partitionA TupleDomain that represents a predicate that every row in this table satisfies.The partitioning of the table across the worker nodes.inthashCode()
-
Constructor Details
-
ConnectorTableProperties
public ConnectorTableProperties() -
ConnectorTableProperties
public ConnectorTableProperties(TupleDomain<ColumnHandle> predicate, Optional<ConnectorTablePartitioning> tablePartitioning, Optional<DiscretePredicates> discretePredicates, List<LocalProperty<ColumnHandle>> localProperties)
-
-
Method Details
-
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
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
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 bygetPredicate(). They may be used by the engine for further optimizations. -
getLocalProperties
Properties describing the layout of the data (grouping/sorting) within each partition -
hashCode
-
equals
-