public class SplunkEventCoder extends AtomicCoder<SplunkEvent>
Coder for SplunkEvent objects.Coder.Context, Coder.NonDeterministicException| Constructor and Description | 
|---|
| SplunkEventCoder() | 
| Modifier and Type | Method and Description | 
|---|---|
| SplunkEvent | decode(java.io.InputStream in)Decodes a value of type  Tfrom the given input stream in the given context. | 
| void | encode(SplunkEvent value,
      java.io.OutputStream out)Encodes the given value of type  Tonto the given output stream. | 
| static CoderProvider | getCoderProvider() | 
| TypeDescriptor<SplunkEvent> | getEncodedTypeDescriptor()Returns the  TypeDescriptorfor the type encoded. | 
| static SplunkEventCoder | of() | 
| void | verifyDeterministic()Throw  Coder.NonDeterministicExceptionif the coding is not deterministic. | 
equals, getCoderArguments, getComponents, hashCodetoStringconsistentWithEquals, decode, encode, getEncodedElementByteSize, isRegisterByteSizeObserverCheap, registerByteSizeObserver, structuralValue, verifyDeterministic, verifyDeterministicpublic static SplunkEventCoder of()
public static CoderProvider getCoderProvider()
public void encode(SplunkEvent value, java.io.OutputStream out) throws java.io.IOException
CoderT onto the given output stream. Multiple elements can
 be encoded next to each other on the output stream, each coder should encode information to
 know how many bytes to read when decoding. A common approach is to prefix the encoding with the
 element's encoded length.encode in class Coder<SplunkEvent>java.io.IOException - if writing to the OutputStream fails for some reasonCoderException - if the value could not be encoded for some reasonpublic SplunkEvent decode(java.io.InputStream in) throws CoderException, java.io.IOException
CoderT from the given input stream in the given context. Returns the
 decoded value. Multiple elements can be encoded next to each other on the input stream, each
 coder should encode information to know how many bytes to read when decoding. A common approach
 is to prefix the encoding with the element's encoded length.decode in class Coder<SplunkEvent>CoderException - if the value could not be decoded for some reasonjava.io.IOException - if reading from the InputStream fails for some reasonpublic TypeDescriptor<SplunkEvent> getEncodedTypeDescriptor()
CoderTypeDescriptor for the type encoded.getEncodedTypeDescriptor in class Coder<SplunkEvent>public void verifyDeterministic()
                         throws Coder.NonDeterministicException
AtomicCoderCoder.NonDeterministicException if the coding is not deterministic.
 In order for a Coder to be considered deterministic, the following must be true:
 
Object.equals() or Comparable.compareTo(), if supported) have the same encoding.
   Coder always produces a canonical encoding, which is the same for an instance
       of an object even if produced on different computers at different times.
 Unless overridden, does not throw. An AtomicCoder is presumed to be deterministic
verifyDeterministic in class AtomicCoder<SplunkEvent>Coder.NonDeterministicException - if this coder is not deterministic.