public class AggrKeyFactory extends AggregatorModule implements Factory
config, logger
Constructor and Description |
---|
AggrKeyFactory(ConfigIfc config,
LoggerIfc logger)
Creates a new key factory with the configuration object and
a logger.
|
Modifier and Type | Method and Description |
---|---|
protected void |
getConfigData()
This method should obtain the necessary information from the
config class, in order to configure the module.
|
NARKey |
getKey(NAR nar)
Returns a NARkey, according to the given NAR
|
java.lang.Object |
getObject(java.lang.Object data)
Returns an Object key, according to the given Object record.
|
int[] |
recordInitFields()
Returns those fields that should be included in a newly created
record.
|
void |
shutdown()
Shutdown-related procedures are handled by this method
|
public int[] recordInitFields()
recordInitFields
in class AggregatorModule
protected void getConfigData()
AggregatorModule
getConfigData
in class AggregatorModule
public void shutdown()
shutdown
in class AggregatorModule
public java.lang.Object getObject(java.lang.Object data)