public static final class IsmFormat.KeyPrefixCoder extends AtomicCoder<IsmFormat.KeyPrefix>
Coder for IsmFormat.KeyPrefix.Coder.Context, Coder.NonDeterministicException| Constructor and Description |
|---|
KeyPrefixCoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
consistentWithEquals() |
IsmFormat.KeyPrefix |
decode(InputStream inStream) |
void |
encode(IsmFormat.KeyPrefix value,
OutputStream outStream) |
long |
getEncodedElementByteSize(IsmFormat.KeyPrefix value) |
boolean |
isRegisterByteSizeObserverCheap(IsmFormat.KeyPrefix value) |
static IsmFormat.KeyPrefixCoder |
of() |
void |
verifyDeterministic() |
equals, getCoderArguments, getComponents, hashCodetoStringdecode, encode, getEncodedTypeDescriptor, registerByteSizeObserver, structuralValue, verifyDeterministic, verifyDeterministicpublic static IsmFormat.KeyPrefixCoder of()
public void encode(IsmFormat.KeyPrefix value, OutputStream outStream) throws CoderException, IOException
encode in class Coder<IsmFormat.KeyPrefix>CoderExceptionIOExceptionpublic IsmFormat.KeyPrefix decode(InputStream inStream) throws CoderException, IOException
decode in class Coder<IsmFormat.KeyPrefix>CoderExceptionIOExceptionpublic void verifyDeterministic()
verifyDeterministic in class AtomicCoder<IsmFormat.KeyPrefix>public boolean consistentWithEquals()
consistentWithEquals in class Coder<IsmFormat.KeyPrefix>public boolean isRegisterByteSizeObserverCheap(IsmFormat.KeyPrefix value)
isRegisterByteSizeObserverCheap in class Coder<IsmFormat.KeyPrefix>public long getEncodedElementByteSize(IsmFormat.KeyPrefix value) throws Exception
getEncodedElementByteSize in class Coder<IsmFormat.KeyPrefix>ExceptionCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.