public class KeyIdentifierCodec extends Object implements Codec<KeyIdentifier>
| Constructor and Description |
|---|
KeyIdentifierCodec(DatumReaderFactory readerFactory,
DatumWriterFactory writerFactory) |
@Inject public KeyIdentifierCodec(DatumReaderFactory readerFactory, DatumWriterFactory writerFactory)
public byte[] encode(KeyIdentifier keyIdentifier) throws IOException
encode in interface Codec<KeyIdentifier>IOExceptionpublic KeyIdentifier decode(byte[] data) throws IOException
decode in interface Codec<KeyIdentifier>IOExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.