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