public class CountMode extends Object implements ProcessingMode
Constructor and Description |
---|
CountMode()
Constructs an instance with default parallelism.
|
CountMode(boolean isParallel)
Constructs an instance with specified paralellism.
|
Modifier and Type | Method and Description |
---|---|
TableConsumer |
createConsumer(Environment env)
Creates a TableConsumer, deriving any additional required
configuration from a given environment.
|
Parameter<?>[] |
getAssociatedParameters()
Returns a list of any parameters which are associated with this mode.
|
String |
getDescription()
Returns a textual description of this processing mode.
|
public CountMode()
public CountMode(boolean isParallel)
isParallel
- true to count in parallel where possiblepublic Parameter<?>[] getAssociatedParameters()
ProcessingMode
getAssociatedParameters
in interface ProcessingMode
public String getDescription()
ProcessingMode
getDescription
in interface ProcessingMode
public TableConsumer createConsumer(Environment env)
ProcessingMode
createConsumer
in interface ProcessingMode
env
- execution environmentCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.