Package elki.parallel.processor
Class WriteIntegerDataStoreProcessor
- java.lang.Object
-
- elki.parallel.processor.WriteIntegerDataStoreProcessor
-
- All Implemented Interfaces:
Processor
public class WriteIntegerDataStoreProcessor extends java.lang.Object implements Processor
Write int values into aWritableIntegerDataStore
.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
WriteIntegerDataStoreProcessor.Instance
Instance for a sub-channel.
-
Field Summary
Fields Modifier and Type Field Description (package private) SharedInteger
input
Shared int variable(package private) WritableIntegerDataStore
store
Store to write to
-
Constructor Summary
Constructors Constructor Description WriteIntegerDataStoreProcessor(WritableIntegerDataStore store)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup(Processor.Instance inst)
Invoke cleanup.void
connectInput(SharedInteger input)
Connect the input variableWriteIntegerDataStoreProcessor.Instance
instantiate(Executor executor)
Create an instance.
-
-
-
Field Detail
-
store
WritableIntegerDataStore store
Store to write to
-
input
SharedInteger input
Shared int variable
-
-
Constructor Detail
-
WriteIntegerDataStoreProcessor
public WriteIntegerDataStoreProcessor(WritableIntegerDataStore store)
Constructor.- Parameters:
store
- Data store to write to
-
-
Method Detail
-
connectInput
public void connectInput(SharedInteger input)
Connect the input variable- Parameters:
input
- Input variable
-
instantiate
public WriteIntegerDataStoreProcessor.Instance instantiate(Executor executor)
Description copied from interface:Processor
Create an instance. May be called multiple times, for example for multiple threads.- Specified by:
instantiate
in interfaceProcessor
- Parameters:
executor
- Job executor- Returns:
- Instance
-
cleanup
public void cleanup(Processor.Instance inst)
Description copied from interface:Processor
Invoke cleanup.
-
-