FileQueryOptions Class
- java.
lang. Object - com.
azure. storage. file. datalake. options. FileQueryOptions
- com.
public class FileQueryOptions
Optional parameters for File Query.
Constructor Summary
Constructor | Description |
---|---|
FileQueryOptions(String expression) |
Constructs a FileQueryOptions. |
FileQueryOptions(String expression, OutputStream outputStream) |
Constructs a FileQueryOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
FileQueryOptions
public FileQueryOptions(String expression)
Constructs a FileQueryOptions.
Parameters:
FileQueryOptions
public FileQueryOptions(String expression, OutputStream outputStream)
Constructs a FileQueryOptions.
Parameters:
Method Details
getErrorConsumer
public Consumer
Gets the error consumer.
Returns:
getExpression
public String getExpression()
Gets the query expression.
Returns:
getInputSerialization
public FileQuerySerialization getInputSerialization()
Gets the input serialization.
Returns:
getOutputSerialization
public FileQuerySerialization getOutputSerialization()
Gets the output serialization.
Returns:
getOutputStream
public OutputStream getOutputStream()
Gets the outputStream where the downloaded data will be written.
Returns:
getProgressConsumer
public Consumer
Gets the progress consumer.
Returns:
getRequestConditions
public DataLakeRequestConditions getRequestConditions()
Gets the request conditions.
Returns:
setErrorConsumer
public FileQueryOptions setErrorConsumer(Consumer
Sets the error consumer.
Parameters:
Returns:
setInputSerialization
public FileQueryOptions setInputSerialization(FileQuerySerialization inputSerialization)
Sets the input serialization.
Parameters:
Returns:
setOutputSerialization
public FileQueryOptions setOutputSerialization(FileQuerySerialization outputSerialization)
Sets the output serialization.
Parameters:
Returns:
setProgressConsumer
public FileQueryOptions setProgressConsumer(Consumer
Sets the progress consumer.
Parameters:
Returns:
setRequestConditions
public FileQueryOptions setRequestConditions(DataLakeRequestConditions requestConditions)
Sets the request conditions.
Parameters:
Returns:
Applies to
Azure SDK for Java