Class UnsupportedConversionError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
org.apache.drill.exec.vector.accessor.UnsupportedConversionError
- All Implemented Interfaces:
Serializable
Raised when a column accessor reads or writes the value using the wrong
Java type (which may indicate an data inconsistency in the input data.)
Also raised during setup if no conversion is available between input and output types.
This exception means that there is no conversion in principal: it is a static error due to the schema provided or the implementation of the code.
- See Also:
-
Constructor Summary
ConstructorDescriptionUnsupportedConversionError
(String message) UnsupportedConversionError
(String message, Exception e) -
Method Summary
Modifier and TypeMethodDescriptionstatic UnsupportedConversionError
nullError
(ColumnMetadata schema) static UnsupportedConversionError
readError
(ColumnMetadata schema, String javaType) static UnsupportedConversionError
writeError
(ColumnMetadata schema, String javaType) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedConversionError
-
UnsupportedConversionError
-
-
Method Details
-
readError
-
writeError
-
nullError
-