protected class ExternPedestrianComparerUsingAttr.RequestMessage extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
UUID |
id
|
(package private) PedestrianInfo
|
personA
|
(package private) PedestrianInfo
|
personB
|
private static long |
serialVersionUID
|
Constructor and Description |
---|
RequestMessage(PedestrianInfo personA,
PedestrianInfo personB)
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
getBytes(OutputStream outputStream)
Given an output stream, the RequestMessage writes itself to the
stream as a byte array in a specialized form.
|
private void |
getBytesFromPedestrianInfo(PedestrianInfo pedestrianInfo,
OutputStream outputStream)
Get the byte array of a PedestrianInfo in a specified format then
output to a stream.
|
private static final long serialVersionUID
public UUID id
PedestrianInfo personA
PedestrianInfo personB
public RequestMessage(@Nonnull PedestrianInfo personA, @Nonnull PedestrianInfo personB)
private void getBytesFromPedestrianInfo(@Nonnull PedestrianInfo pedestrianInfo, @Nonnull OutputStream outputStream) throws Exception
pedestrianInfo
- Information of a pedestrian.outputStream
- The stream to output the byte array to.Exception
- on failure of
getting tracklet from HDFS.
void getBytes(@Nonnull OutputStream outputStream) throws Exception
outputStream
- The output stream to write to.Exception
- on failure of
getting tracklet from HDFS.