Package com.azure.storage.blob.options
Class BlobQueryOptions
java.lang.Object
com.azure.storage.blob.options.BlobQueryOptions
Optional parameters for Blob Query.
-
Constructor Summary
ConstructorDescriptionBlobQueryOptions
(String expression) Constructs aBlobQueryOptions
.BlobQueryOptions
(String expression, OutputStream outputStream) Constructs aBlobQueryOptions
. -
Method Summary
Modifier and TypeMethodDescriptionGets the error consumer.Gets the query expression.Gets the input serialization.Gets the output serialization.Gets the outputStream where the downloaded data will be written.Gets the progress consumer.Gets the request conditions.setErrorConsumer
(Consumer<BlobQueryError> errorConsumer) Sets the error consumer.setInputSerialization
(BlobQuerySerialization inputSerialization) Sets the input serialization.setOutputSerialization
(BlobQuerySerialization outputSerialization) Sets the output serialization.setProgressConsumer
(Consumer<BlobQueryProgress> progressConsumer) Sets the progress consumer.setRequestConditions
(BlobRequestConditions requestConditions) Sets the request conditions.
-
Constructor Details
-
BlobQueryOptions
Constructs aBlobQueryOptions
.- Parameters:
expression
- The query expression.
-
BlobQueryOptions
Constructs aBlobQueryOptions
.- Parameters:
expression
- The query expression.outputStream
- The OutputStream where the downloaded data will be written.
-
-
Method Details
-
getExpression
Gets the query expression.- Returns:
- the query expression.
-
getOutputStream
Gets the outputStream where the downloaded data will be written.- Returns:
- the outputStream.
-
getInputSerialization
Gets the input serialization.- Returns:
- the input serialization.
-
setInputSerialization
Sets the input serialization.- Parameters:
inputSerialization
- The input serialization.- Returns:
- the updated BlobQueryOptions object.
-
getOutputSerialization
Gets the output serialization.- Returns:
- the output serialization.
-
setOutputSerialization
Sets the output serialization.- Parameters:
outputSerialization
- The output serialization.- Returns:
- the updated BlobQueryOptions object.
-
getRequestConditions
Gets the request conditions.- Returns:
- the request conditions.
-
setRequestConditions
Sets the request conditions.- Parameters:
requestConditions
- The request conditions.- Returns:
- the updated BlobQueryOptions object.
-
getErrorConsumer
Gets the error consumer.- Returns:
- the error consumer.
-
setErrorConsumer
Sets the error consumer.- Parameters:
errorConsumer
- The error consumer.- Returns:
- the updated BlobQueryOptions object.
-
getProgressConsumer
Gets the progress consumer.- Returns:
- the progress consumer.
-
setProgressConsumer
Sets the progress consumer.- Parameters:
progressConsumer
- The progress consumer.- Returns:
- the updated BlobQueryOptions object.
-