public class SelectObjectRequest extends Object
| 构造器和说明 |
|---|
SelectObjectRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
convertToXml()
Generates the request in XML format
|
String |
getBucketName()
Returns the name of the bucket
|
String |
getExpression()
Returns the request (SQL) expression
|
String |
getKey()
Returns the key of the input file
|
SelectObjectRequest |
withBucketName(String bucketName)
Sets the name of the bucket
|
SelectObjectRequest |
withExpression(String expression)
Sets the (SQL) expression to be evaluated
|
SelectObjectRequest |
withExpressionType(ExpressionType expressionType)
Informs the type of the expression.
|
SelectObjectRequest |
withInputSerialization(InputSerialization inputSerialization)
Configures the input serialization
|
SelectObjectRequest |
withKey(String key)
Sets the key of the input file
|
SelectObjectRequest |
withOutputSerialization(OutputSerialization outputSerialization)
Configures the output serialization
|
SelectObjectRequest |
withRequestProgress(RequestProgress requestProgress)
Informs that periodic request progress may be enabled
|
SelectObjectRequest |
withScanRange(ScanRange scanRange)
Configures the range of bytes of the input file to scan
|
public String getBucketName()
public String getKey()
public String getExpression()
public SelectObjectRequest withBucketName(String bucketName)
bucketName - Bucket namepublic SelectObjectRequest withKey(String key)
key - Key of input filepublic SelectObjectRequest withExpression(String expression)
expression - Expression to evaluatepublic SelectObjectRequest withRequestProgress(RequestProgress requestProgress)
requestProgress - Enable or disable requestProgresspublic SelectObjectRequest withExpressionType(ExpressionType expressionType)
expressionType - Type of the expressionpublic SelectObjectRequest withInputSerialization(InputSerialization inputSerialization)
inputSerialization - Input serialization formatpublic SelectObjectRequest withOutputSerialization(OutputSerialization outputSerialization)
inputSerialization - Output serialization formatpublic SelectObjectRequest withScanRange(ScanRange scanRange)
scanRange - Range of bytespublic String convertToXml() throws SelectObjectException
SelectObjectExceptionCopyright © 2023. All rights reserved.