| Modifier and Type | Field and Description |
|---|---|
| private final Object |
| Access | Constructor and Description |
|---|---|
| public | ReplacementErrorHandler()
Constructs a ReplacementErrorHandler which replaces all errored values with |
| public | ReplacementErrorHandler(Object replacement)
Constructs a ReplacementErrorHandler which replaces all errored values with the given Object. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | handleRowError(Column column, byte[] columnData, ErrorHandler.
Implements io. Handles an error encountered while reading a column of data from a Table row. |
| replacement | back to summary |
|---|---|
| private final Object replacement | |
| ReplacementErrorHandler | back to summary |
|---|---|
| public ReplacementErrorHandler() Constructs a ReplacementErrorHandler which replaces all errored values with | |
| ReplacementErrorHandler | back to summary |
|---|---|
| public ReplacementErrorHandler(Object replacement) Constructs a ReplacementErrorHandler which replaces all errored values with the given Object. | |
| handleRowError | back to summary |
|---|---|
| public Object handleRowError(Column column, byte[] columnData, ErrorHandler. Implements io. Doc from io. Handles an error encountered while reading a column of data from a Table row. Handler may either throw an exception (which will be propagated back to the caller) or return a replacement for this row's column value (in which case the row will continue to be read normally).
| |