Struct rusoto_glue::GetPartitionsRequest
source · [−]pub struct GetPartitionsRequest {
pub catalog_id: Option<String>,
pub database_name: String,
pub exclude_column_schema: Option<bool>,
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 provided, the Amazon Web Services account ID is used by default.
database_name: String
The name of the catalog database where the partitions reside.
exclude_column_schema: Option<bool>
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 type is encountered that is not valid, 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
sourceimpl Clone for GetPartitionsRequest
impl Clone for GetPartitionsRequest
sourcefn clone(&self) -> GetPartitionsRequest
fn clone(&self) -> GetPartitionsRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetPartitionsRequest
impl Debug for GetPartitionsRequest
sourceimpl Default for GetPartitionsRequest
impl Default for GetPartitionsRequest
sourcefn default() -> GetPartitionsRequest
fn default() -> GetPartitionsRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GetPartitionsRequest> for GetPartitionsRequest
impl PartialEq<GetPartitionsRequest> for GetPartitionsRequest
sourcefn eq(&self, other: &GetPartitionsRequest) -> bool
fn eq(&self, other: &GetPartitionsRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetPartitionsRequest) -> bool
fn ne(&self, other: &GetPartitionsRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for GetPartitionsRequest
impl Serialize for GetPartitionsRequest
impl StructuralPartialEq for GetPartitionsRequest
Auto Trait Implementations
impl RefUnwindSafe for GetPartitionsRequest
impl Send for GetPartitionsRequest
impl Sync for GetPartitionsRequest
impl Unpin for GetPartitionsRequest
impl UnwindSafe for GetPartitionsRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more