public class Partition extends Object
The following schema fragment specifies the expected content contained within this class.
<complexType name="Partition">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice minOccurs="0">
<element name="mapper" type="{http://xmlns.jcp.org/xml/ns/javaee}PartitionMapper"/>
<element name="plan" type="{http://xmlns.jcp.org/xml/ns/javaee}PartitionPlan"/>
</choice>
<element name="collector" type="{http://xmlns.jcp.org/xml/ns/javaee}Collector" minOccurs="0"/>
<element name="analyzer" type="{http://xmlns.jcp.org/xml/ns/javaee}Analyzer" minOccurs="0"/>
<element name="reducer" type="{http://xmlns.jcp.org/xml/ns/javaee}PartitionReducer" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Analyzer |
analyzer |
protected Collector |
collector |
protected PartitionMapper |
mapper |
protected PartitionPlan |
plan |
protected PartitionReducer |
reducer |
| Constructor and Description |
|---|
Partition() |
| Modifier and Type | Method and Description |
|---|---|
Analyzer |
getAnalyzer()
Gets the value of the analyzer property.
|
Collector |
getCollector()
Gets the value of the collector property.
|
PartitionMapper |
getMapper()
Gets the value of the mapper property.
|
PartitionPlan |
getPlan()
Gets the value of the plan property.
|
PartitionReducer |
getReducer()
Gets the value of the reducer property.
|
void |
setAnalyzer(Analyzer value)
Sets the value of the analyzer property.
|
void |
setCollector(Collector value)
Sets the value of the collector property.
|
void |
setMapper(PartitionMapper value)
Sets the value of the mapper property.
|
void |
setPlan(PartitionPlan value)
Sets the value of the plan property.
|
void |
setReducer(PartitionReducer value)
Sets the value of the reducer property.
|
protected PartitionMapper mapper
protected PartitionPlan plan
protected Collector collector
protected Analyzer analyzer
protected PartitionReducer reducer
public PartitionMapper getMapper()
PartitionMapperpublic void setMapper(PartitionMapper value)
value - allowed object is
PartitionMapperpublic PartitionPlan getPlan()
PartitionPlanpublic void setPlan(PartitionPlan value)
value - allowed object is
PartitionPlanpublic Collector getCollector()
Collectorpublic void setCollector(Collector value)
value - allowed object is
Collectorpublic Analyzer getAnalyzer()
Analyzerpublic void setAnalyzer(Analyzer value)
value - allowed object is
Analyzerpublic PartitionReducer getReducer()
PartitionReducerpublic void setReducer(PartitionReducer value)
value - allowed object is
PartitionReducerCopyright © 2022 The Apache Software Foundation. All rights reserved.