共用方式為


BlobQueryError Class

  • java.lang.Object
    • com.azure.storage.blob.models.BlobQueryError

public class BlobQueryError

Defines a blob query error that can be returned on parsing a blob query request.

Constructor Summary

Constructor Description
BlobQueryError(boolean fatal, String name, String description, long position)

Creates a new BlobQueryError object.

Method Summary

Modifier and Type Method and Description
String getDescription()
String getName()
long getPosition()
boolean isFatal()

Whether or not the error is fatal.

String toString()

Methods inherited from java.lang.Object

Constructor Details

BlobQueryError

public BlobQueryError(boolean fatal, String name, String description, long position)

Creates a new BlobQueryError object.

Parameters:

fatal - Whether or not the error is fatal.
name - The name of the error.
description - A description of the error.
position - The blob offset at which the error occurred.

Method Details

getDescription

public String getDescription()

Returns:

A description of the error.

getName

public String getName()

Returns:

The name of the error.

getPosition

public long getPosition()

Returns:

The blob offset at which the error occurred.

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.

toString

public String toString()

Overrides:

BlobQueryError.toString()

Applies to