public abstract class OrdFrameProcessor<K1,V1,K2,V2>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
m_conf |
Constructor and Description |
---|
OrdFrameProcessor(org.apache.hadoop.conf.Configuration conf)
Creates an OrdFrameProcessor object that processes video frames in the mapper of a mapreduce job.
|
Modifier and Type | Method and Description |
---|---|
abstract K2 |
getKey()
Returns the key after processing a video frame in the mapper of a mapreduce job.
|
abstract V2 |
getValue()
Returns the value after processing a video frame in the mapper of a mapreduce job.
|
abstract void |
processFrame(K1 key, V1 value)
Processes the key-value pair of a video frame in the mapper of a mapreduce job.
|
public OrdFrameProcessor(org.apache.hadoop.conf.Configuration conf)
conf
- the mapreduce job Configuration in which the processing parameters are stored.public abstract K2 getKey()
public abstract V2 getValue()
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.