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