pub struct SelectObjectContentRequest {
pub expression: Expression,
pub expression_type: ExpressionType,
pub input_serialization: InputSerialization,
pub output_serialization: OutputSerialization,
pub request_progress: Option<RequestProgress>,
pub scan_range: Option<ScanRange>,
}Expand description
Learn Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Request to filter the contents of an Amazon S3 object based on a simple Structured Query Language (SQL) statement. In the request, along with the SQL expression, you must specify a data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data into records. It returns only records that match the specified SQL expression. You must also specify the data serialization format for the response. For more information, see S3Select API Documentation.
Fields§
§expression: ExpressionThe expression that is used to query the object.
expression_type: ExpressionTypeThe type of the provided expression (for example, SQL).
input_serialization: InputSerializationDescribes the format of the data in the object that is being queried.
output_serialization: OutputSerializationDescribes the format of the data that you want Amazon S3 to return in response.
request_progress: Option<RequestProgress>Specifies if periodic request progress information should be enabled.
scan_range: Option<ScanRange>Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional, but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.
ScanRangemay be used in the following ways:
-
- process only the records starting between the bytes 50 and 100 (inclusive, counting from zero)50 100 -
- process only the records starting after the byte 5050 -
- process only the records within the last 50 bytes of the file.50
Trait Implementations§
Source§impl Clone for SelectObjectContentRequest
impl Clone for SelectObjectContentRequest
Source§fn clone(&self) -> SelectObjectContentRequest
fn clone(&self) -> SelectObjectContentRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SelectObjectContentRequest
impl Debug for SelectObjectContentRequest
Source§impl<'xml> Deserialize<'xml> for SelectObjectContentRequest
Available on crate feature minio only.
impl<'xml> Deserialize<'xml> for SelectObjectContentRequest
minio only.Source§fn deserialize(d: &mut Deserializer<'xml>) -> DeResult<Self>
fn deserialize(d: &mut Deserializer<'xml>) -> DeResult<Self>
Source§impl<'xml> DeserializeContent<'xml> for SelectObjectContentRequest
Available on crate feature minio only.
impl<'xml> DeserializeContent<'xml> for SelectObjectContentRequest
minio only.Source§fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
Source§impl DtoExt for SelectObjectContentRequest
impl DtoExt for SelectObjectContentRequest
Source§fn ignore_empty_strings(&mut self)
fn ignore_empty_strings(&mut self)
Some("") to NoneSource§impl PartialEq for SelectObjectContentRequest
impl PartialEq for SelectObjectContentRequest
Source§fn eq(&self, other: &SelectObjectContentRequest) -> bool
fn eq(&self, other: &SelectObjectContentRequest) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for SelectObjectContentRequest
Available on crate feature minio only.
impl Serialize for SelectObjectContentRequest
minio only.Source§impl SerializeContent for SelectObjectContentRequest
Available on crate feature minio only.
impl SerializeContent for SelectObjectContentRequest
minio only.