public static class GlobalWindow.Coder extends AtomicCoder<GlobalWindow>
GlobalWindow.Coder for encoding and decoding GlobalWindows.Coder.Context, Coder.NonDeterministicException| Modifier and Type | Field and Description |
|---|---|
static GlobalWindow.Coder |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
GlobalWindow |
decode(InputStream inStream,
Coder.Context context)
Decodes a value of type
T from the given input stream in
the given context. |
void |
encode(GlobalWindow window,
OutputStream outStream,
Coder.Context context)
Encodes the given value of type
T onto the given output stream
in the given context. |
getCoderArguments, getInstanceComponentsverifyDeterministicasCloudObject, consistentWithEquals, equals, getAllowedEncodings, getComponents, getEncodedElementByteSize, getEncodingId, hashCode, isRegisterByteSizeObserverCheap, registerByteSizeObserver, structuralValue, toString, verifyDeterministic, verifyDeterministicpublic static final GlobalWindow.Coder INSTANCE
public void encode(GlobalWindow window, OutputStream outStream, Coder.Context context)
CoderT onto the given output stream
in the given context.public GlobalWindow decode(InputStream inStream, Coder.Context context)
CoderT from the given input stream in
the given context. Returns the decoded value.