public class PedestrianReIDUsingAttrApp extends SparkStreamingApp
| Modifier and Type | Class and Description |
|---|---|
static class |
PedestrianReIDUsingAttrApp.ReIDStream
|
| Modifier and Type | Field and Description |
|---|---|
static String |
APP_NAME
The name of this application.
|
private static long |
serialVersionUID
|
loggerSingleton
| Constructor and Description |
|---|
PedestrianReIDUsingAttrApp(SystemPropertyCenter propCenter)
Constructor of the application, configuring properties read from
a
property center.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToContext()
Add streaming actions directly to the global streaming context.
|
static void |
main(String[] args)
|
awaitTermination,
buildDirectStream,
buildDirectStream,
finalize,
initialize,
registerStreams,
start,
stop
public static final String APP_NAME
private static final long serialVersionUID
public PedestrianReIDUsingAttrApp(SystemPropertyCenter propCenter) throws Exception
propCenter - A class saving all the properties this application may
need.
Exception - On failure in
Spark.
public static void main(String[] args) throws Exception
args - No options supported currently.Exception - On failure in
Spark.
public void addToContext()
throws Exception
SparkStreamingApp
TaskData.
Actions that take TaskData as input
should be implemented in the
Stream.addToGlobalStream(Map),
in order to save time of deserialization.
Note that existence of Kafka topics used in this method is not automatically
checked.
addToContext in
class SparkStreamingApp
Exception