Class FileQueryOptions
java.lang.Object
com.azure.storage.file.datalake.options.FileQueryOptions
Optional parameters for File Query.
-
Constructor Summary
ConstructorsConstructorDescriptionFileQueryOptions
(String expression) Constructs aFileQueryOptions
.FileQueryOptions
(String expression, OutputStream outputStream) Constructs aFileQueryOptions
. -
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<FileQueryError> errorConsumer) Sets the error consumer.setInputSerialization
(FileQuerySerialization inputSerialization) Sets the input serialization.setOutputSerialization
(FileQuerySerialization outputSerialization) Sets the output serialization.setProgressConsumer
(Consumer<FileQueryProgress> progressConsumer) Sets the progress consumer.setRequestConditions
(DataLakeRequestConditions requestConditions) Sets the request conditions.
-
Constructor Details
-
FileQueryOptions
Constructs aFileQueryOptions
.- Parameters:
expression
- The query expression.
-
FileQueryOptions
Constructs aFileQueryOptions
.- Parameters:
expression
- The query expression.outputStream
- Gets 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 FileQueryOptions object.
-
getOutputSerialization
Gets the output serialization.- Returns:
- the output serialization.
-
setOutputSerialization
Sets the output serialization.- Parameters:
outputSerialization
- The output serialization.- Returns:
- the updated FileQueryOptions object.
-
getRequestConditions
Gets the request conditions.- Returns:
- the request conditions.
-
setRequestConditions
Sets the request conditions.- Parameters:
requestConditions
- The request conditions.- Returns:
- the updated FileQueryOptions object.
-
getErrorConsumer
Gets the error consumer.- Returns:
- the error consumer.
-
setErrorConsumer
Sets the error consumer.- Parameters:
errorConsumer
- The error consumer.- Returns:
- the updated FileQueryOptions object.
-
getProgressConsumer
Gets the progress consumer.- Returns:
- the progress consumer.
-
setProgressConsumer
Sets the progress consumer.- Parameters:
progressConsumer
- The progress consumer.- Returns:
- the updated FileQueryOptions object.
-