public static interface BuiltInMetadata.Parallelism extends Metadata
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BuiltInMetadata.Parallelism.Handler
Handler API.
|
| Modifier and Type | Field and Description |
|---|---|
static MetadataDef<BuiltInMetadata.Parallelism> |
DEF |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
isPhaseTransition()
Returns whether each physical operator implementing this relational
expression belongs to a different process than its inputs.
|
Integer |
splitCount()
Returns the number of distinct splits of the data.
|
static final MetadataDef<BuiltInMetadata.Parallelism> DEF
Boolean isPhaseTransition()
A collection of operators processing all of the splits of a particular
stage in the query pipeline is called a "phase". A phase starts with
a leaf node such as a TableScan,
or with a phase-change node such as an
Exchange. Hadoop's shuffle operator
(a form of sort-exchange) causes data to be sent across the network.
Integer splitCount()
Note that splits must be distinct. For broadcast, where each copy is the same, returns 1.
Thus the split count is the proportion of the data seen by each operator instance.
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.