FileQueryError Class
- java.
lang. Object - com.
azure. storage. file. datalake. models. FileQueryError
- com.
public class FileQueryError
Defines a file query error that can be returned on parsing a file query request.
Constructor Summary
Constructor | Description |
---|---|
FileQueryError(boolean fatal, String name, String description, long position) |
Creates a new File |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets a description of the error. |
String |
getName()
Gets the name of the error. |
long |
getPosition()
Gets the file offset at which the error occurred. |
boolean |
isFatal()
Whether the error is fatal. |
String | toString() |
Methods inherited from java.lang.Object
Constructor Details
FileQueryError
public FileQueryError(boolean fatal, String name, String description, long position)
Creates a new FileQueryError object.
Parameters:
Method Details
getDescription
public String getDescription()
Gets a description of the error.
Returns:
getName
public String getName()
Gets the name of the error.
Returns:
getPosition
public long getPosition()
Gets the file offset at which the error occurred.
Returns:
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:
toString
public String toString()
Overrides:
FileQueryError.toString()