azure-docs-sdk-java/docs-ref-autogen/com.azure.storage.blob.mode...

93 строки
5.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.storage.blob.models.BlobRange"
fullName: "com.azure.storage.blob.models.BlobRange"
name: "BlobRange"
nameWithType: "BlobRange"
summary: "This is a representation of a range of bytes on a blob, typically used during a download operation."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **BlobRange**"
constructors:
- uid: "com.azure.storage.blob.models.BlobRange.BlobRange(long)"
fullName: "com.azure.storage.blob.models.BlobRange.BlobRange(long offset)"
name: "BlobRange(long offset)"
nameWithType: "BlobRange.BlobRange(long offset)"
summary: "Specifies the download operation to start from the offset position (zero-based) and download the rest of the entire blob to the end."
parameters:
- description: "the zero-based position to start downloading"
name: "offset"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlobRange(long offset)"
desc: "Specifies the download operation to start from the offset position (zero-based) and download the rest of the entire blob to the end."
- uid: "com.azure.storage.blob.models.BlobRange.BlobRange(long,java.lang.Long)"
fullName: "com.azure.storage.blob.models.BlobRange.BlobRange(long offset, Long count)"
name: "BlobRange(long offset, Long count)"
nameWithType: "BlobRange.BlobRange(long offset, Long count)"
summary: "Specifies the download operation to start from the offset position (zero-based) and download the count number of bytes."
parameters:
- description: "the zero-based position to start downloading"
name: "offset"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- description: "the number of bytes to download"
name: "count"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
syntax: "public BlobRange(long offset, Long count)"
desc: "Specifies the download operation to start from the offset position (zero-based) and download the count number of bytes."
methods:
- uid: "com.azure.storage.blob.models.BlobRange.getCount()"
fullName: "com.azure.storage.blob.models.BlobRange.getCount()"
name: "getCount()"
nameWithType: "BlobRange.getCount()"
summary: "How many bytes to include in the range."
syntax: "public Long getCount()"
desc: "How many bytes to include in the range. Must be greater than or equal to 0 if specified."
returns:
description: "the number bytes to include in the range"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.storage.blob.models.BlobRange.getOffset()"
fullName: "com.azure.storage.blob.models.BlobRange.getOffset()"
name: "getOffset()"
nameWithType: "BlobRange.getOffset()"
summary: "The start of the range."
syntax: "public long getOffset()"
desc: "The start of the range. Must be greater than or equal to 0."
returns:
description: "the offset for the range"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.blob.models.BlobRange.toHeaderValue()"
fullName: "com.azure.storage.blob.models.BlobRange.toHeaderValue()"
name: "toHeaderValue()"
nameWithType: "BlobRange.toHeaderValue()"
syntax: "public String toHeaderValue()"
returns:
description: "<xref uid=\"com.azure.storage.blob.models.BlobRange.toString()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobRange#toString()\"></xref> if <code>count</code> isn't <code>null</code> or <code>offset</code> isn't 0, otherwise\n null."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.storage.blob.models.BlobRange.toString()"
fullName: "com.azure.storage.blob.models.BlobRange.toString()"
name: "toString()"
nameWithType: "BlobRange.toString()"
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
returns:
description: "A <code>String</code> compliant with the format of the Azure Storage x-ms-range and Range headers."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "This is a representation of a range of bytes on a blob, typically used during a download operation. This type is immutable to ensure thread-safety of requests, so changing the values for a different operation requires construction of a new object. Passing null as a BlobRange value will default to the entire range of the blob."
metadata: {}
package: "com.azure.storage.blob.models"
artifact: com.azure:azure-storage-blob:12.28.1