Class FileQueryError
- java.lang.Object
-
- com.azure.storage.file.datalake.models.FileQueryError
-
public class FileQueryError extends Object
Defines a file query error that can be returned on parsing a file query request.
-
-
Constructor Summary
Constructors Constructor Description FileQueryError(boolean fatal, String name, String description, long position)
Creates a new FileQueryError object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getName()
long
getPosition()
boolean
isFatal()
Whether or not the error is fatal.String
toString()
-
-
-
Constructor Detail
-
FileQueryError
public FileQueryError(boolean fatal, String name, String description, long position)
Creates a new FileQueryError object.- Parameters:
fatal
- Whether or not 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 Detail
-
isFatal
public boolean isFatal()
Whether or not 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 of the original data will be processed. If false, this error does not prevent further query processing.- Returns:
- Whether or not the error is fatal.
-
getName
public String getName()
- Returns:
- The name of the error.
-
getDescription
public String getDescription()
- Returns:
- A description of the error.
-
getPosition
public long getPosition()
- Returns:
- The file offset at which the error occurred.
-
-