Uses of Class
org.apache.drill.common.exceptions.UserException.Builder
Packages that use UserException.Builder
Package
Description
Various exceptions used in logical, physical and execution contexts.
Handles optional file metadata columns: implicit columns and
partition columns.
-
Uses of UserException.Builder in org.apache.drill.common.exceptions
Methods in org.apache.drill.common.exceptions that return UserException.BuilderModifier and TypeMethodDescriptionUserException.Builder.addContext(String value) add a string line to the bottom of the contextUserException.Builder.addContext(String name, double value) add a double value to the bottom of the contextUserException.Builder.addContext(String name, long value) add a long value to the bottom of the contextUserException.Builder.addContext(String value, Object... args) add a string line to the bottom of the contextUserException.Builder.addContext(String name, String value) add a string value to the bottom of the contextUserException.Builder.addContext(CustomErrorContext context) UserException.Builder.addIdentity(CoordinationProtos.DrillbitEndpoint endpoint) add DrillbitEndpoint identity to the context.static UserException.BuilderUserException.connectionError()Creates a new user exception builder.static UserException.BuilderUserException.connectionError(Throwable cause) Wraps the passed exception inside a connection error.static UserException.BuilderUserException.dataReadError()Creates a new user exception builder.static UserException.BuilderUserException.dataReadError(Throwable cause) Wraps the passed exception inside a data read error.static UserException.BuilderUserException.dataWriteError()Creates a new user exception builder .static UserException.BuilderUserException.dataWriteError(Throwable cause) Wraps the passed exception inside a data write error.UserException.Builder.errorType(UserBitShared.DrillPBError.ErrorType errorType) Sets the error type.static UserException.BuilderUserException.executionError(Throwable cause) Wraps an error that arises from execution due to issues in the query, in the environment and so on -- anything other than "this should never occur" type checks.static UserException.BuilderUserException.functionError()Creates a new user exception builder .static UserException.BuilderUserException.functionError(Throwable cause) Wraps the passed exception inside a function error.static UserException.BuilderUserException.internalError()static UserException.BuilderUserException.internalError(Throwable cause) Indicates an internal validation failed or similar unexpected error.static UserException.BuilderUserException.memoryError()Creates a RESOURCE error with a prebuilt message for out of memory exceptionsstatic UserException.BuilderUserException.memoryError(String format, Object... args) static UserException.BuilderUserException.memoryError(Throwable cause) Creates a RESOURCE error with a prebuilt message for out of memory exceptionssets or replaces the error message.static UserException.BuilderUserException.parseError()Creates a new user exception builder .static UserException.BuilderUserException.parseError(Throwable cause) Wraps the passed exception inside a parse error.static UserException.BuilderUserException.permissionError()creates a new user exception builder .static UserException.BuilderUserException.permissionError(Throwable cause) Wraps the passed exception inside a permission error.static UserException.BuilderUserException.planError()Creates a new user exception builder .static UserException.BuilderWraps the passed exception inside a plan error.static UserException.BuilderUserException.pluginError(Throwable cause) Wraps the passed exception inside a plugin error.UserException.Builder.pushContext(String value) pushes a string value to the top of the contextUserException.Builder.pushContext(String name, double value) pushes a double value to the top of the contextUserException.Builder.pushContext(String name, long value) pushes a long value to the top of the contextUserException.Builder.pushContext(String name, String value) pushes a string value to the top of the contextUserException.rebuild()static UserException.BuilderUserException.resourceError()Creates a new user exception builder .static UserException.BuilderUserException.resourceError(Throwable cause) Wraps the passed exception inside a resource error.static UserException.BuilderUserException.schemaChangeError()static UserException.BuilderUserException.schemaChangeError(Throwable cause) Report an unsupported schema change.static UserException.BuilderUserException.systemError(Throwable cause) Wraps the passed exception inside a system error.static UserException.BuilderUserException.unspecifiedError(Throwable cause) Indicates an unspecified error: code caught the exception, but does not have visibility into the cause well enough to pick one of the more specific error types.static UserException.BuilderUserException.unsupportedError()Creates a new user exception builder .static UserException.BuilderUserException.unsupportedError(Throwable cause) Wraps the passed exception inside a unsupported error.static UserException.BuilderUserException.validationError()Creates a new user exception builder .static UserException.BuilderUserException.validationError(Throwable cause) wraps the passed exception inside a validation error.Methods in org.apache.drill.common.exceptions with parameters of type UserException.BuilderModifier and TypeMethodDescriptionvoidChildErrorContext.addContext(UserException.Builder builder) voidCustomErrorContext.addContext(UserException.Builder builder) voidEmptyErrorContext.addContext(UserException.Builder builder) -
Uses of UserException.Builder in org.apache.drill.exec.physical.impl.scan.file
Methods in org.apache.drill.exec.physical.impl.scan.file with parameters of type UserException.BuilderModifier and TypeMethodDescriptionvoidFileScanFramework.FileRowSetContext.addContext(UserException.Builder builder) -
Uses of UserException.Builder in org.apache.drill.exec.physical.impl.scan.v3.file
Methods in org.apache.drill.exec.physical.impl.scan.v3.file with parameters of type UserException.BuilderModifier and TypeMethodDescriptionvoidFileSchemaNegotiatorImpl.SplitErrorContext.addContext(UserException.Builder builder) -
Uses of UserException.Builder in org.apache.drill.exec.store.dfs.easy
Methods in org.apache.drill.exec.store.dfs.easy with parameters of type UserException.BuilderModifier and TypeMethodDescriptionvoidEasyFileScanBuilder.EvfErrorContext.addContext(UserException.Builder builder) -
Uses of UserException.Builder in org.apache.drill.exec.store.easy.json
Methods in org.apache.drill.exec.store.easy.json that return UserException.BuilderModifier and TypeMethodDescriptionJsonProcessor.getExceptionWithContext(Throwable exception, String message) JsonProcessor.getExceptionWithContext(UserException.Builder exceptionBuilder, String message) Methods in org.apache.drill.exec.store.easy.json with parameters of type UserException.BuilderModifier and TypeMethodDescriptionJsonProcessor.getExceptionWithContext(UserException.Builder exceptionBuilder, String message) -
Uses of UserException.Builder in org.apache.drill.exec.store.easy.json.loader
Methods in org.apache.drill.exec.store.easy.json.loader with parameters of type UserException.BuilderModifier and TypeMethodDescriptionprotected UserExceptionJsonLoaderImpl.buildError(UserException.Builder builder) JsonLoaderImpl.buildError(ColumnMetadata schema, UserException.Builder builder) -
Uses of UserException.Builder in org.apache.drill.exec.store.easy.json.reader
Methods in org.apache.drill.exec.store.easy.json.reader that return UserException.BuilderModifier and TypeMethodDescriptionBaseJsonProcessor.getExceptionWithContext(Throwable e, String message) BaseJsonProcessor.getExceptionWithContext(UserException.Builder builder, String message) Methods in org.apache.drill.exec.store.easy.json.reader with parameters of type UserException.BuilderModifier and TypeMethodDescriptionBaseJsonProcessor.getExceptionWithContext(UserException.Builder builder, String message)