[][src]Struct rusoto_glue::GetPartitionsRequest

pub struct GetPartitionsRequest {
    pub catalog_id: Option<String>,
    pub database_name: String,
    pub expression: Option<String>,
    pub max_results: Option<i64>,
    pub next_token: Option<String>,
    pub segment: Option<Segment>,
    pub table_name: String,
}

Fields

catalog_id: Option<String>

The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.

database_name: String

The name of the catalog database where the partitions reside.

expression: Option<String>

An expression filtering the partitions to be returned.

The expression uses SQL syntax similar to the SQL WHERE filter clause. The SQL statement parser JSQLParser parses the expression.

Operators: The following are the operators that you can use in the Expression API call:

=

Checks if the values of the two operands are equal or not; if yes, then the condition becomes true.

Example: Assume 'variable a' holds 10 and 'variable b' holds 20.

(a = b) is not true.

< >

Checks if the values of two operands are equal or not; if the values are not equal, then the condition becomes true.

Example: (a < > b) is true.

>

Checks if the value of the left operand is greater than the value of the right operand; if yes, then the condition becomes true.

Example: (a > b) is not true.

<

Checks if the value of the left operand is less than the value of the right operand; if yes, then the condition becomes true.

Example: (a < b) is true.

>=

Checks if the value of the left operand is greater than or equal to the value of the right operand; if yes, then the condition becomes true.

Example: (a >= b) is not true.

<=

Checks if the value of the left operand is less than or equal to the value of the right operand; if yes, then the condition becomes true.

Example: (a <= b) is true.

AND, OR, IN, BETWEEN, LIKE, NOT, IS NULL

Logical operators.

Supported Partition Key Types: The following are the the supported partition keys.

If an invalid type is encountered, an exception is thrown.

The following list shows the valid operators on each type. When you define a crawler, the partitionKey type is created as a STRING, to be compatible with the catalog partitions.

Sample API Call:

max_results: Option<i64>

The maximum number of partitions to return in a single response.

next_token: Option<String>

A continuation token, if this is not the first call to retrieve these partitions.

segment: Option<Segment>

The segment of the table's partitions to scan in this request.

table_name: String

The name of the partitions' table.

Trait Implementations

impl PartialEq<GetPartitionsRequest> for GetPartitionsRequest[src]

impl Default for GetPartitionsRequest[src]

impl Clone for GetPartitionsRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GetPartitionsRequest[src]

impl Serialize for GetPartitionsRequest[src]

Auto Trait Implementations

impl Send for GetPartitionsRequest

impl Sync for GetPartitionsRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self