Package org.apache.pinot.spi.stream
Class StreamDataDecoderResult
- java.lang.Object
-
- org.apache.pinot.spi.stream.StreamDataDecoderResult
-
public final class StreamDataDecoderResult extends Object
A container class for holding the result of a decoder At any point in time, only one of Result or exception is set as null.
-
-
Constructor Summary
Constructors Constructor Description StreamDataDecoderResult(GenericRow result, Exception exception)
-
-
-
Constructor Detail
-
StreamDataDecoderResult
public StreamDataDecoderResult(GenericRow result, Exception exception)
-
-
Method Detail
-
getResult
@Nullable public GenericRow getResult()
-
getException
@Nullable public Exception getException()
-
-