Class InvalidConversionError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
org.apache.drill.exec.vector.accessor.InvalidConversionError
- All Implemented Interfaces:
Serializable
Raised when a conversion from one type to another is supported at
setup type, but a value provided at runtime is not valid for that
conversion. Example: trying to convert the string "foo" to an INT
column.
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidConversionError
(String message) InvalidConversionError
(String message, Exception e) -
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidConversionError
writeError
(ColumnMetadata schema, Object value) static InvalidConversionError
writeError
(ColumnMetadata schema, Object value, Exception e) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidConversionError
-
InvalidConversionError
-
-
Method Details
-
writeError
-
writeError
-