public abstract class OrdSparkResultWriter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Properties |
m_props |
| Modifier | Constructor and Description |
|---|---|
protected |
OrdSparkResultWriter(java.util.Properties props)
Create an OrdSparkResultWriter object that writes the processed video frame data to any cusomized writer in Spark.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
write(java.util.List<scala.Tuple2<org.apache.hadoop.io.Text,oracle.ord.hadoop.mapreduce.OrdImageWritable>> tuples)
Write a list of the tuples of Text and OrdImageWritable in Spark.
|
protected OrdSparkResultWriter(java.util.Properties props)
props - A java Properties object that contains all the properties set in SparkConfpublic abstract void write(java.util.List<scala.Tuple2<org.apache.hadoop.io.Text,oracle.ord.hadoop.mapreduce.OrdImageWritable>> tuples)
tuples - The list of the pairs of Text and OrdImageWritable, which includes text information and image information for a processed video frame.Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.