Class FileQueryError
java.lang.Object
com.azure.storage.file.datalake.models.FileQueryError
Defines a file query error that can be returned on parsing a file query request.
-
Constructor Summary
ConstructorsConstructorDescriptionFileQueryError
(boolean fatal, String name, String description, long position) Creates a new FileQueryError object. -
Method Summary
-
Constructor Details
-
FileQueryError
Creates a new FileQueryError object.- Parameters:
fatal
- Whether the error is fatal.name
- The name of the error.description
- A description of the error.position
- The file offset at which the error occurred.
-
-
Method Details
-
isFatal
public boolean isFatal()Whether the error is fatal. If true, this error prevents further query processing. More result data may be returned, but there is no guarantee that all the original data will be processed. If false, this error does not prevent further query processing.- Returns:
- Whether the error is fatal.
-
getName
Gets the name of the error.- Returns:
- The name of the error.
-
getDescription
Gets a description of the error.- Returns:
- A description of the error.
-
getPosition
public long getPosition()Gets the file offset at which the error occurred.- Returns:
- The file offset at which the error occurred.
-
toString
-