[−][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 provided, 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 that filters 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 whether the values of the two operands are equal; if yes, then the condition becomes true.
Example: Assume 'variable a' holds 10 and 'variable b' holds 20.
(a = b) is not true.
- < >
-
Checks whether the values of two operands are equal; if the values are not equal, then the condition becomes true.
Example: (a < > b) is true.
- >
-
Checks whether 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 whether 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 whether 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 whether 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 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 Clone for GetPartitionsRequest
[src]
pub fn clone(&self) -> GetPartitionsRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GetPartitionsRequest
[src]
impl Default for GetPartitionsRequest
[src]
pub fn default() -> GetPartitionsRequest
[src]
impl PartialEq<GetPartitionsRequest> for GetPartitionsRequest
[src]
pub fn eq(&self, other: &GetPartitionsRequest) -> bool
[src]
pub fn ne(&self, other: &GetPartitionsRequest) -> bool
[src]
impl Serialize for GetPartitionsRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for GetPartitionsRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for GetPartitionsRequest
[src]
impl Send for GetPartitionsRequest
[src]
impl Sync for GetPartitionsRequest
[src]
impl Unpin for GetPartitionsRequest
[src]
impl UnwindSafe for GetPartitionsRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,