private static class PersistentMapCache.Serde extends Object implements SerDe<PersistentMapCache.MapWaliRecord>
| Modifier | Constructor and Description |
|---|---|
private |
Serde() |
| Modifier and Type | Method and Description |
|---|---|
PersistentMapCache.MapWaliRecord |
deserializeEdit(DataInputStream in,
Map<Object,PersistentMapCache.MapWaliRecord> currentRecordStates,
int version) |
PersistentMapCache.MapWaliRecord |
deserializeRecord(DataInputStream in,
int version) |
String |
getLocation(PersistentMapCache.MapWaliRecord record) |
Object |
getRecordIdentifier(PersistentMapCache.MapWaliRecord record) |
UpdateType |
getUpdateType(PersistentMapCache.MapWaliRecord record) |
int |
getVersion() |
void |
serializeEdit(PersistentMapCache.MapWaliRecord previousRecordState,
PersistentMapCache.MapWaliRecord newRecordState,
DataOutputStream out) |
void |
serializeRecord(PersistentMapCache.MapWaliRecord record,
DataOutputStream out) |
public void serializeEdit(PersistentMapCache.MapWaliRecord previousRecordState, PersistentMapCache.MapWaliRecord newRecordState, DataOutputStream out) throws IOException
serializeEdit in interface SerDe<PersistentMapCache.MapWaliRecord>IOExceptionpublic void serializeRecord(PersistentMapCache.MapWaliRecord record, DataOutputStream out) throws IOException
serializeRecord in interface SerDe<PersistentMapCache.MapWaliRecord>IOExceptionpublic PersistentMapCache.MapWaliRecord deserializeEdit(DataInputStream in, Map<Object,PersistentMapCache.MapWaliRecord> currentRecordStates, int version) throws IOException
deserializeEdit in interface SerDe<PersistentMapCache.MapWaliRecord>IOExceptionpublic PersistentMapCache.MapWaliRecord deserializeRecord(DataInputStream in, int version) throws IOException
deserializeRecord in interface SerDe<PersistentMapCache.MapWaliRecord>IOExceptionpublic Object getRecordIdentifier(PersistentMapCache.MapWaliRecord record)
getRecordIdentifier in interface SerDe<PersistentMapCache.MapWaliRecord>public UpdateType getUpdateType(PersistentMapCache.MapWaliRecord record)
getUpdateType in interface SerDe<PersistentMapCache.MapWaliRecord>public String getLocation(PersistentMapCache.MapWaliRecord record)
getLocation in interface SerDe<PersistentMapCache.MapWaliRecord>public int getVersion()
getVersion in interface SerDe<PersistentMapCache.MapWaliRecord>Copyright © 2015 Apache NiFi Project. All rights reserved.