[−][src]Struct rusoto_glue::GetPartitionsRequest
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.
-
string
-
date
-
timestamp
-
int
-
bigint
-
long
-
tinyint
-
smallint
-
decimal
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]
fn eq(&self, other: &GetPartitionsRequest) -> bool
[src]
fn ne(&self, other: &GetPartitionsRequest) -> bool
[src]
impl Default for GetPartitionsRequest
[src]
fn default() -> GetPartitionsRequest
[src]
impl Clone for GetPartitionsRequest
[src]
fn clone(&self) -> 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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self