| Package | Description |
|---|---|
| com.facebook.presto.spi |
| Modifier and Type | Class and Description |
|---|---|
class |
ConstantProperty<E> |
class |
GroupingProperty<E> |
class |
SortingProperty<E> |
| Modifier and Type | Method and Description |
|---|---|
default LocalProperty<E> |
LocalProperty.constrain(Set<E> columns)
Return a new instance with the give (reduced) set of columns
|
LocalProperty<E> |
GroupingProperty.constrain(Set<E> columns) |
| Modifier and Type | Method and Description |
|---|---|
List<LocalProperty<ColumnHandle>> |
ConnectorTableLayout.getLocalProperties()
Properties describing the layout of the data (grouping/sorting) within each partition
|
<T> Optional<LocalProperty<T>> |
SortingProperty.translate(Function<E,Optional<T>> translator)
Returns Optional.empty() if the column could not be translated
|
<T> Optional<LocalProperty<T>> |
LocalProperty.translate(Function<E,Optional<T>> translator) |
<T> Optional<LocalProperty<T>> |
GroupingProperty.translate(Function<E,Optional<T>> translator) |
<T> Optional<LocalProperty<T>> |
ConstantProperty.translate(Function<E,Optional<T>> translator) |
default Optional<LocalProperty<E>> |
LocalProperty.withConstants(Set<E> constants)
Simplifies this LocalProperty provided that the specified inputs are constants
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SortingProperty.isSimplifiedBy(LocalProperty<E> known) |
boolean |
LocalProperty.isSimplifiedBy(LocalProperty<E> actual)
Return true if the actual LocalProperty can be used to simplify this LocalProperty
|
boolean |
GroupingProperty.isSimplifiedBy(LocalProperty<E> known) |
boolean |
ConstantProperty.isSimplifiedBy(LocalProperty<E> known) |
| Constructor and Description |
|---|
ConnectorTableLayout(ConnectorTableLayoutHandle handle,
Optional<List<ColumnHandle>> columns,
TupleDomain<ColumnHandle> predicate,
Optional<ConnectorTablePartitioning> tablePartitioning,
Optional<Set<ColumnHandle>> streamPartitioningColumns,
Optional<DiscretePredicates> discretePredicates,
List<LocalProperty<ColumnHandle>> localProperties) |
ConnectorTableLayout(ConnectorTableLayoutHandle handle,
Optional<List<ColumnHandle>> columns,
TupleDomain<ColumnHandle> predicate,
Optional<ConnectorTablePartitioning> tablePartitioning,
Optional<Set<ColumnHandle>> streamPartitioningColumns,
Optional<DiscretePredicates> discretePredicates,
List<LocalProperty<ColumnHandle>> localProperties,
Optional<RowExpression> remainingPredicate) |
Copyright © 2012–2022. All rights reserved.