HiveFailureMapper class final
Специализированный маппер ошибок Hive.
Преобразует ошибки Hive (отсутствие бокса, повреждение данных, нехватка места, ошибки шифрования/расшифровки и т.д.) в соответствующие Failure. Определяет тип ошибки по stackTrace и ключевым словам в сообщении исключения.
Используется в цепочке FailureSubMapper как часть FailureMapper2.
См. также: FailureSubMapper, CommonFailureMapper.
- Implemented types
Constructors
- HiveFailureMapper()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
tryMap(
Object error, [StackTrace? stackTrace]) → Failure? -
Пытается преобразовать
errorв Failure, если это ошибка Hive.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited