public class ConnectorTableLayout extends Object
| Constructor and Description |
|---|
ConnectorTableLayout(ConnectorTableLayoutHandle handle) |
ConnectorTableLayout(ConnectorTableLayoutHandle handle,
Optional<List<ColumnHandle>> columns,
TupleDomain<ColumnHandle> predicate,
Optional<ConnectorNodePartitioning> nodePartitioning,
Optional<Set<ColumnHandle>> streamPartitioningColumns,
Optional<DiscretePredicates> discretePredicates,
List<LocalProperty<ColumnHandle>> localProperties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Optional<List<ColumnHandle>> |
getColumns()
The columns from the original table provided by this layout.
|
Optional<DiscretePredicates> |
getDiscretePredicates()
A collection of discrete predicates describing the data in this layout.
|
ConnectorTableLayoutHandle |
getHandle() |
List<LocalProperty<ColumnHandle>> |
getLocalProperties()
Properties describing the layout of the data (grouping/sorting) within each partition
|
Optional<ConnectorNodePartitioning> |
getNodePartitioning()
The partitioning of the table across the worker nodes.
|
TupleDomain<ColumnHandle> |
getPredicate()
A predicate that describes the universe of data in this layout.
|
Optional<Set<ColumnHandle>> |
getStreamPartitioningColumns()
The partitioning for the table streams.
|
int |
hashCode() |
public ConnectorTableLayout(ConnectorTableLayoutHandle handle)
public ConnectorTableLayout(ConnectorTableLayoutHandle handle, Optional<List<ColumnHandle>> columns, TupleDomain<ColumnHandle> predicate, Optional<ConnectorNodePartitioning> nodePartitioning, Optional<Set<ColumnHandle>> streamPartitioningColumns, Optional<DiscretePredicates> discretePredicates, List<LocalProperty<ColumnHandle>> localProperties)
public ConnectorTableLayoutHandle getHandle()
public Optional<List<ColumnHandle>> getColumns()
public TupleDomain<ColumnHandle> getPredicate()
public Optional<ConnectorNodePartitioning> getNodePartitioning()
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.
public Optional<Set<ColumnHandle>> getStreamPartitioningColumns()
If the table is partitioned, the connector guarantees that each combination of values for the partition columns will be contained within a single split (i.e., partitions cannot straddle multiple splits)
public Optional<DiscretePredicates> getDiscretePredicates()
getPredicate(). They may be used by the engine for further optimizations.public List<LocalProperty<ColumnHandle>> getLocalProperties()
Copyright © 2012-2016. All Rights Reserved.