Package dev.frostlake.executor.copy
Class CopyErrorTaxonomy
java.lang.Object
dev.frostlake.executor.copy.CopyErrorTaxonomy
The category / code / SQLSTATE triple a
VALIDATION_MODE = RETURN_ERRORS row carries for
one rejected record, live-verified per family: a value that would not convert is
conversion / 100038 / 22018; a record whose field count misses the table is
parsing / 22000 with code 100080 (short or long record) or 100068 (end of record reached
mid-column, the blank-line case); a FILES entry the stage does not hold is
other / 100112 / 22000. Families not yet measured ride the conversion triple.-
Method Summary
Modifier and TypeMethodDescriptionintgetCode()static CopyErrorTaxonomyThe triple for aFILES = (…)entry the stage does not hold.static CopyErrorTaxonomyof(RuntimeException rowError, String message) The triple for a rejected record, chosen by the failure kind.
-
Method Details
-
of
The triple for a rejected record, chosen by the failure kind. -
missingFile
The triple for aFILES = (…)entry the stage does not hold. -
getCategory
-
getCode
public int getCode() -
getSqlState
-