Class SegmentErrorInfo
- java.lang.Object
-
- org.apache.pinot.common.restlet.resources.SegmentErrorInfo
-
public class SegmentErrorInfo extends Object
This class is used to represent errors related to a segment.
-
-
Constructor Summary
Constructors Constructor Description SegmentErrorInfo(long timestampMs, String errorMessage, Exception exception)Constructor for the classSegmentErrorInfo(String timestamp, String errorMessage, String stackTrace)This constructor is specifically for JSON ser/de.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()StringgetStackTrace()StringgetTimestamp()
-
-
-
Constructor Detail
-
SegmentErrorInfo
public SegmentErrorInfo(String timestamp, String errorMessage, String stackTrace)
This constructor is specifically for JSON ser/de.- Parameters:
timestamp- Time stamp of the error in Simple Date Format.errorMessage- Error messagestackTrace- Exception stack trace
-
-