public class SplitParsingException extends DRException
Constructor and Description |
---|
SplitParsingException(DataSplit split,
Exception e)
Report a parse error in the specified split at the given location,
possibly approximate.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
long |
getOffsetInSplit()
Gets the byte offset into the data source at which the
error was found.
|
String |
getSource()
Gets a string describing the data source of the split.
|
long |
getSplitStart() |
void |
setOffsetInSplit(long offset)
Sets the index of the record raising the error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SplitParsingException(DataSplit split, Exception e)
split
- the split being parsede
- the underlying cause of the errorpublic String getMessage()
getMessage
in class Throwable
public String getSource()
public long getSplitStart()
public long getOffsetInSplit()
public void setOffsetInSplit(long offset)
record
- the record indexCopyright © 2021 Actian Corporation. All rights reserved.