public class LocationMarshaller extends Object implements Marshaller<Location>
Modifier and Type | Field and Description |
---|---|
static LocationMarshaller |
INSTANCE |
Constructor and Description |
---|
LocationMarshaller() |
Modifier and Type | Method and Description |
---|---|
Location |
deepCopy(Location source) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
Location |
readPayload(DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
writePayload(Location object,
DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
public static final LocationMarshaller INSTANCE
public LocationMarshaller()
public Location readPayload(DataInput dataIn) throws IOException
Marshaller
readPayload
in interface Marshaller<Location>
IOException
public void writePayload(Location object, DataOutput dataOut) throws IOException
Marshaller
writePayload
in interface Marshaller<Location>
IOException
public int getFixedSize()
getFixedSize
in interface Marshaller<Location>
public Location deepCopy(Location source)
deepCopy
in interface Marshaller<Location>
public boolean isDeepCopySupported()
isDeepCopySupported
in interface Marshaller<Location>
Marshaller.deepCopy(Object)
operations is supported.Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.