AWS SDK for C++  1.8.99
AWS SDK for C++
Public Member Functions | List of all members
Aws::Glue::Model::GetPartitionsRequest Class Reference

#include <GetPartitionsRequest.h>

+ Inheritance diagram for Aws::Glue::Model::GetPartitionsRequest:

Public Member Functions

 GetPartitionsRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetCatalogId () const
 
bool CatalogIdHasBeenSet () const
 
void SetCatalogId (const Aws::String &value)
 
void SetCatalogId (Aws::String &&value)
 
void SetCatalogId (const char *value)
 
GetPartitionsRequestWithCatalogId (const Aws::String &value)
 
GetPartitionsRequestWithCatalogId (Aws::String &&value)
 
GetPartitionsRequestWithCatalogId (const char *value)
 
const Aws::StringGetDatabaseName () const
 
bool DatabaseNameHasBeenSet () const
 
void SetDatabaseName (const Aws::String &value)
 
void SetDatabaseName (Aws::String &&value)
 
void SetDatabaseName (const char *value)
 
GetPartitionsRequestWithDatabaseName (const Aws::String &value)
 
GetPartitionsRequestWithDatabaseName (Aws::String &&value)
 
GetPartitionsRequestWithDatabaseName (const char *value)
 
const Aws::StringGetTableName () const
 
bool TableNameHasBeenSet () const
 
void SetTableName (const Aws::String &value)
 
void SetTableName (Aws::String &&value)
 
void SetTableName (const char *value)
 
GetPartitionsRequestWithTableName (const Aws::String &value)
 
GetPartitionsRequestWithTableName (Aws::String &&value)
 
GetPartitionsRequestWithTableName (const char *value)
 
const Aws::StringGetExpression () const
 
bool ExpressionHasBeenSet () const
 
void SetExpression (const Aws::String &value)
 
void SetExpression (Aws::String &&value)
 
void SetExpression (const char *value)
 
GetPartitionsRequestWithExpression (const Aws::String &value)
 
GetPartitionsRequestWithExpression (Aws::String &&value)
 
GetPartitionsRequestWithExpression (const char *value)
 
const Aws::StringGetNextToken () const
 
bool NextTokenHasBeenSet () const
 
void SetNextToken (const Aws::String &value)
 
void SetNextToken (Aws::String &&value)
 
void SetNextToken (const char *value)
 
GetPartitionsRequestWithNextToken (const Aws::String &value)
 
GetPartitionsRequestWithNextToken (Aws::String &&value)
 
GetPartitionsRequestWithNextToken (const char *value)
 
const SegmentGetSegment () const
 
bool SegmentHasBeenSet () const
 
void SetSegment (const Segment &value)
 
void SetSegment (Segment &&value)
 
GetPartitionsRequestWithSegment (const Segment &value)
 
GetPartitionsRequestWithSegment (Segment &&value)
 
int GetMaxResults () const
 
bool MaxResultsHasBeenSet () const
 
void SetMaxResults (int value)
 
GetPartitionsRequestWithMaxResults (int value)
 
- Public Member Functions inherited from Aws::Glue::GlueRequest
virtual ~GlueRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 22 of file GetPartitionsRequest.h.

Constructor & Destructor Documentation

◆ GetPartitionsRequest()

Aws::Glue::Model::GetPartitionsRequest::GetPartitionsRequest ( )

Member Function Documentation

◆ CatalogIdHasBeenSet()

bool Aws::Glue::Model::GetPartitionsRequest::CatalogIdHasBeenSet ( ) const
inline

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

Definition at line 48 of file GetPartitionsRequest.h.

◆ DatabaseNameHasBeenSet()

bool Aws::Glue::Model::GetPartitionsRequest::DatabaseNameHasBeenSet ( ) const
inline

The name of the catalog database where the partitions reside.

Definition at line 95 of file GetPartitionsRequest.h.

◆ ExpressionHasBeenSet()

bool Aws::Glue::Model::GetPartitionsRequest::ExpressionHasBeenSet ( ) const
inline

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:

Definition at line 243 of file GetPartitionsRequest.h.

◆ GetCatalogId()

const Aws::String& Aws::Glue::Model::GetPartitionsRequest::GetCatalogId ( ) const
inline

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

Definition at line 42 of file GetPartitionsRequest.h.

◆ GetDatabaseName()

const Aws::String& Aws::Glue::Model::GetPartitionsRequest::GetDatabaseName ( ) const
inline

The name of the catalog database where the partitions reside.

Definition at line 90 of file GetPartitionsRequest.h.

◆ GetExpression()

const Aws::String& Aws::Glue::Model::GetPartitionsRequest::GetExpression ( ) const
inline

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:

Definition at line 205 of file GetPartitionsRequest.h.

◆ GetMaxResults()

int Aws::Glue::Model::GetPartitionsRequest::GetMaxResults ( ) const
inline

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

Definition at line 557 of file GetPartitionsRequest.h.

◆ GetNextToken()

const Aws::String& Aws::Glue::Model::GetPartitionsRequest::GetNextToken ( ) const
inline

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

Definition at line 478 of file GetPartitionsRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Glue::Model::GetPartitionsRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Glue::GlueRequest.

◆ GetSegment()

const Segment& Aws::Glue::Model::GetPartitionsRequest::GetSegment ( ) const
inline

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

Definition at line 526 of file GetPartitionsRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Glue::Model::GetPartitionsRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file GetPartitionsRequest.h.

◆ GetTableName()

const Aws::String& Aws::Glue::Model::GetPartitionsRequest::GetTableName ( ) const
inline

The name of the partitions' table.

Definition at line 131 of file GetPartitionsRequest.h.

◆ MaxResultsHasBeenSet()

bool Aws::Glue::Model::GetPartitionsRequest::MaxResultsHasBeenSet ( ) const
inline

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

Definition at line 562 of file GetPartitionsRequest.h.

◆ NextTokenHasBeenSet()

bool Aws::Glue::Model::GetPartitionsRequest::NextTokenHasBeenSet ( ) const
inline

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

Definition at line 484 of file GetPartitionsRequest.h.

◆ SegmentHasBeenSet()

bool Aws::Glue::Model::GetPartitionsRequest::SegmentHasBeenSet ( ) const
inline

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

Definition at line 531 of file GetPartitionsRequest.h.

◆ SerializePayload()

Aws::String Aws::Glue::Model::GetPartitionsRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCatalogId() [1/3]

void Aws::Glue::Model::GetPartitionsRequest::SetCatalogId ( const Aws::String value)
inline

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

Definition at line 54 of file GetPartitionsRequest.h.

◆ SetCatalogId() [2/3]

void Aws::Glue::Model::GetPartitionsRequest::SetCatalogId ( Aws::String &&  value)
inline

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

Definition at line 60 of file GetPartitionsRequest.h.

◆ SetCatalogId() [3/3]

void Aws::Glue::Model::GetPartitionsRequest::SetCatalogId ( const char *  value)
inline

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

Definition at line 66 of file GetPartitionsRequest.h.

◆ SetDatabaseName() [1/3]

void Aws::Glue::Model::GetPartitionsRequest::SetDatabaseName ( const Aws::String value)
inline

The name of the catalog database where the partitions reside.

Definition at line 100 of file GetPartitionsRequest.h.

◆ SetDatabaseName() [2/3]

void Aws::Glue::Model::GetPartitionsRequest::SetDatabaseName ( Aws::String &&  value)
inline

The name of the catalog database where the partitions reside.

Definition at line 105 of file GetPartitionsRequest.h.

◆ SetDatabaseName() [3/3]

void Aws::Glue::Model::GetPartitionsRequest::SetDatabaseName ( const char *  value)
inline

The name of the catalog database where the partitions reside.

Definition at line 110 of file GetPartitionsRequest.h.

◆ SetExpression() [1/3]

void Aws::Glue::Model::GetPartitionsRequest::SetExpression ( const Aws::String value)
inline

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:

Definition at line 281 of file GetPartitionsRequest.h.

◆ SetExpression() [2/3]

void Aws::Glue::Model::GetPartitionsRequest::SetExpression ( Aws::String &&  value)
inline

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:

Definition at line 319 of file GetPartitionsRequest.h.

◆ SetExpression() [3/3]

void Aws::Glue::Model::GetPartitionsRequest::SetExpression ( const char *  value)
inline

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:

Definition at line 357 of file GetPartitionsRequest.h.

◆ SetMaxResults()

void Aws::Glue::Model::GetPartitionsRequest::SetMaxResults ( int  value)
inline

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

Definition at line 567 of file GetPartitionsRequest.h.

◆ SetNextToken() [1/3]

void Aws::Glue::Model::GetPartitionsRequest::SetNextToken ( const Aws::String value)
inline

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

Definition at line 490 of file GetPartitionsRequest.h.

◆ SetNextToken() [2/3]

void Aws::Glue::Model::GetPartitionsRequest::SetNextToken ( Aws::String &&  value)
inline

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

Definition at line 496 of file GetPartitionsRequest.h.

◆ SetNextToken() [3/3]

void Aws::Glue::Model::GetPartitionsRequest::SetNextToken ( const char *  value)
inline

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

Definition at line 502 of file GetPartitionsRequest.h.

◆ SetSegment() [1/2]

void Aws::Glue::Model::GetPartitionsRequest::SetSegment ( const Segment value)
inline

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

Definition at line 536 of file GetPartitionsRequest.h.

◆ SetSegment() [2/2]

void Aws::Glue::Model::GetPartitionsRequest::SetSegment ( Segment &&  value)
inline

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

Definition at line 541 of file GetPartitionsRequest.h.

◆ SetTableName() [1/3]

void Aws::Glue::Model::GetPartitionsRequest::SetTableName ( const Aws::String value)
inline

The name of the partitions' table.

Definition at line 141 of file GetPartitionsRequest.h.

◆ SetTableName() [2/3]

void Aws::Glue::Model::GetPartitionsRequest::SetTableName ( Aws::String &&  value)
inline

The name of the partitions' table.

Definition at line 146 of file GetPartitionsRequest.h.

◆ SetTableName() [3/3]

void Aws::Glue::Model::GetPartitionsRequest::SetTableName ( const char *  value)
inline

The name of the partitions' table.

Definition at line 151 of file GetPartitionsRequest.h.

◆ TableNameHasBeenSet()

bool Aws::Glue::Model::GetPartitionsRequest::TableNameHasBeenSet ( ) const
inline

The name of the partitions' table.

Definition at line 136 of file GetPartitionsRequest.h.

◆ WithCatalogId() [1/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithCatalogId ( const Aws::String value)
inline

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

Definition at line 72 of file GetPartitionsRequest.h.

◆ WithCatalogId() [2/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithCatalogId ( Aws::String &&  value)
inline

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

Definition at line 78 of file GetPartitionsRequest.h.

◆ WithCatalogId() [3/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithCatalogId ( const char *  value)
inline

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

Definition at line 84 of file GetPartitionsRequest.h.

◆ WithDatabaseName() [1/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithDatabaseName ( const Aws::String value)
inline

The name of the catalog database where the partitions reside.

Definition at line 115 of file GetPartitionsRequest.h.

◆ WithDatabaseName() [2/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithDatabaseName ( Aws::String &&  value)
inline

The name of the catalog database where the partitions reside.

Definition at line 120 of file GetPartitionsRequest.h.

◆ WithDatabaseName() [3/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithDatabaseName ( const char *  value)
inline

The name of the catalog database where the partitions reside.

Definition at line 125 of file GetPartitionsRequest.h.

◆ WithExpression() [1/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithExpression ( const Aws::String value)
inline

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:

Definition at line 395 of file GetPartitionsRequest.h.

◆ WithExpression() [2/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithExpression ( Aws::String &&  value)
inline

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:

Definition at line 433 of file GetPartitionsRequest.h.

◆ WithExpression() [3/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithExpression ( const char *  value)
inline

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:

Definition at line 471 of file GetPartitionsRequest.h.

◆ WithMaxResults()

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithMaxResults ( int  value)
inline

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

Definition at line 572 of file GetPartitionsRequest.h.

◆ WithNextToken() [1/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithNextToken ( const Aws::String value)
inline

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

Definition at line 508 of file GetPartitionsRequest.h.

◆ WithNextToken() [2/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithNextToken ( Aws::String &&  value)
inline

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

Definition at line 514 of file GetPartitionsRequest.h.

◆ WithNextToken() [3/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithNextToken ( const char *  value)
inline

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

Definition at line 520 of file GetPartitionsRequest.h.

◆ WithSegment() [1/2]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithSegment ( const Segment value)
inline

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

Definition at line 546 of file GetPartitionsRequest.h.

◆ WithSegment() [2/2]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithSegment ( Segment &&  value)
inline

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

Definition at line 551 of file GetPartitionsRequest.h.

◆ WithTableName() [1/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithTableName ( const Aws::String value)
inline

The name of the partitions' table.

Definition at line 156 of file GetPartitionsRequest.h.

◆ WithTableName() [2/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithTableName ( Aws::String &&  value)
inline

The name of the partitions' table.

Definition at line 161 of file GetPartitionsRequest.h.

◆ WithTableName() [3/3]

GetPartitionsRequest& Aws::Glue::Model::GetPartitionsRequest::WithTableName ( const char *  value)
inline

The name of the partitions' table.

Definition at line 166 of file GetPartitionsRequest.h.


The documentation for this class was generated from the following file: