@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUnfilteredPartitionsMetadataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetUnfilteredPartitionsMetadataRequest() |
Modifier and Type | Method and Description |
---|---|
GetUnfilteredPartitionsMetadataRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AuditContext |
getAuditContext()
A structure containing Lake Formation audit context information.
|
String |
getCatalogId()
The ID of the Data Catalog where the partitions in question reside.
|
String |
getDatabaseName()
The name of the catalog database where the partitions reside.
|
String |
getExpression()
An expression that filters the partitions to be returned.
|
Integer |
getMaxResults()
The maximum number of partitions to return in a single response.
|
String |
getNextToken()
A continuation token, if this is not the first call to retrieve these partitions.
|
QuerySessionContext |
getQuerySessionContext()
A structure used as a protocol between query engines and Lake Formation or Glue.
|
String |
getRegion()
Specified only if the base tables belong to a different Amazon Web Services Region.
|
Segment |
getSegment()
The segment of the table's partitions to scan in this request.
|
List<String> |
getSupportedPermissionTypes()
A list of supported permission types.
|
String |
getTableName()
The name of the table that contains the partition.
|
int |
hashCode() |
void |
setAuditContext(AuditContext auditContext)
A structure containing Lake Formation audit context information.
|
void |
setCatalogId(String catalogId)
The ID of the Data Catalog where the partitions in question reside.
|
void |
setDatabaseName(String databaseName)
The name of the catalog database where the partitions reside.
|
void |
setExpression(String expression)
An expression that filters the partitions to be returned.
|
void |
setMaxResults(Integer maxResults)
The maximum number of partitions to return in a single response.
|
void |
setNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve these partitions.
|
void |
setQuerySessionContext(QuerySessionContext querySessionContext)
A structure used as a protocol between query engines and Lake Formation or Glue.
|
void |
setRegion(String region)
Specified only if the base tables belong to a different Amazon Web Services Region.
|
void |
setSegment(Segment segment)
The segment of the table's partitions to scan in this request.
|
void |
setSupportedPermissionTypes(Collection<String> supportedPermissionTypes)
A list of supported permission types.
|
void |
setTableName(String tableName)
The name of the table that contains the partition.
|
String |
toString()
Returns a string representation of this object.
|
GetUnfilteredPartitionsMetadataRequest |
withAuditContext(AuditContext auditContext)
A structure containing Lake Formation audit context information.
|
GetUnfilteredPartitionsMetadataRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog where the partitions in question reside.
|
GetUnfilteredPartitionsMetadataRequest |
withDatabaseName(String databaseName)
The name of the catalog database where the partitions reside.
|
GetUnfilteredPartitionsMetadataRequest |
withExpression(String expression)
An expression that filters the partitions to be returned.
|
GetUnfilteredPartitionsMetadataRequest |
withMaxResults(Integer maxResults)
The maximum number of partitions to return in a single response.
|
GetUnfilteredPartitionsMetadataRequest |
withNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve these partitions.
|
GetUnfilteredPartitionsMetadataRequest |
withQuerySessionContext(QuerySessionContext querySessionContext)
A structure used as a protocol between query engines and Lake Formation or Glue.
|
GetUnfilteredPartitionsMetadataRequest |
withRegion(String region)
Specified only if the base tables belong to a different Amazon Web Services Region.
|
GetUnfilteredPartitionsMetadataRequest |
withSegment(Segment segment)
The segment of the table's partitions to scan in this request.
|
GetUnfilteredPartitionsMetadataRequest |
withSupportedPermissionTypes(Collection<String> supportedPermissionTypes)
A list of supported permission types.
|
GetUnfilteredPartitionsMetadataRequest |
withSupportedPermissionTypes(PermissionType... supportedPermissionTypes)
A list of supported permission types.
|
GetUnfilteredPartitionsMetadataRequest |
withSupportedPermissionTypes(String... supportedPermissionTypes)
A list of supported permission types.
|
GetUnfilteredPartitionsMetadataRequest |
withTableName(String tableName)
The name of the table that contains the partition.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public GetUnfilteredPartitionsMetadataRequest()
public void setRegion(String region)
Specified only if the base tables belong to a different Amazon Web Services Region.
region
- Specified only if the base tables belong to a different Amazon Web Services Region.public String getRegion()
Specified only if the base tables belong to a different Amazon Web Services Region.
public GetUnfilteredPartitionsMetadataRequest withRegion(String region)
Specified only if the base tables belong to a different Amazon Web Services Region.
region
- Specified only if the base tables belong to a different Amazon Web Services Region.public void setCatalogId(String catalogId)
The ID of the Data Catalog where the partitions in question reside. If none is provided, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog where the partitions in question reside. If none is provided, the AWS account
ID is used by default.public String getCatalogId()
The ID of the Data Catalog where the partitions in question reside. If none is provided, the AWS account ID is used by default.
public GetUnfilteredPartitionsMetadataRequest withCatalogId(String catalogId)
The ID of the Data Catalog where the partitions in question reside. If none is provided, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog where the partitions in question reside. If none is provided, the AWS account
ID is used by default.public void setDatabaseName(String databaseName)
The name of the catalog database where the partitions reside.
databaseName
- The name of the catalog database where the partitions reside.public String getDatabaseName()
The name of the catalog database where the partitions reside.
public GetUnfilteredPartitionsMetadataRequest withDatabaseName(String databaseName)
The name of the catalog database where the partitions reside.
databaseName
- The name of the catalog database where the partitions reside.public void setTableName(String tableName)
The name of the table that contains the partition.
tableName
- The name of the table that contains the partition.public String getTableName()
The name of the table that contains the partition.
public GetUnfilteredPartitionsMetadataRequest withTableName(String tableName)
The name of the table that contains the partition.
tableName
- The name of the table that contains the partition.public void setExpression(String expression)
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.
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.
expression
- 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.
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.
public String getExpression()
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.
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 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.
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.
public GetUnfilteredPartitionsMetadataRequest withExpression(String expression)
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.
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.
expression
- 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.
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.
public void setAuditContext(AuditContext auditContext)
A structure containing Lake Formation audit context information.
auditContext
- A structure containing Lake Formation audit context information.public AuditContext getAuditContext()
A structure containing Lake Formation audit context information.
public GetUnfilteredPartitionsMetadataRequest withAuditContext(AuditContext auditContext)
A structure containing Lake Formation audit context information.
auditContext
- A structure containing Lake Formation audit context information.public List<String> getSupportedPermissionTypes()
A list of supported permission types.
PermissionType
public void setSupportedPermissionTypes(Collection<String> supportedPermissionTypes)
A list of supported permission types.
supportedPermissionTypes
- A list of supported permission types.PermissionType
public GetUnfilteredPartitionsMetadataRequest withSupportedPermissionTypes(String... supportedPermissionTypes)
A list of supported permission types.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedPermissionTypes(java.util.Collection)
or
withSupportedPermissionTypes(java.util.Collection)
if you want to override the existing values.
supportedPermissionTypes
- A list of supported permission types.PermissionType
public GetUnfilteredPartitionsMetadataRequest withSupportedPermissionTypes(Collection<String> supportedPermissionTypes)
A list of supported permission types.
supportedPermissionTypes
- A list of supported permission types.PermissionType
public GetUnfilteredPartitionsMetadataRequest withSupportedPermissionTypes(PermissionType... supportedPermissionTypes)
A list of supported permission types.
supportedPermissionTypes
- A list of supported permission types.PermissionType
public void setNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve these partitions.
nextToken
- A continuation token, if this is not the first call to retrieve these partitions.public String getNextToken()
A continuation token, if this is not the first call to retrieve these partitions.
public GetUnfilteredPartitionsMetadataRequest withNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve these partitions.
nextToken
- A continuation token, if this is not the first call to retrieve these partitions.public void setSegment(Segment segment)
The segment of the table's partitions to scan in this request.
segment
- The segment of the table's partitions to scan in this request.public Segment getSegment()
The segment of the table's partitions to scan in this request.
public GetUnfilteredPartitionsMetadataRequest withSegment(Segment segment)
The segment of the table's partitions to scan in this request.
segment
- The segment of the table's partitions to scan in this request.public void setMaxResults(Integer maxResults)
The maximum number of partitions to return in a single response.
maxResults
- The maximum number of partitions to return in a single response.public Integer getMaxResults()
The maximum number of partitions to return in a single response.
public GetUnfilteredPartitionsMetadataRequest withMaxResults(Integer maxResults)
The maximum number of partitions to return in a single response.
maxResults
- The maximum number of partitions to return in a single response.public void setQuerySessionContext(QuerySessionContext querySessionContext)
A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.
querySessionContext
- A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake
Formation generated authorization identifier and information from the request's authorization context.public QuerySessionContext getQuerySessionContext()
A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.
public GetUnfilteredPartitionsMetadataRequest withQuerySessionContext(QuerySessionContext querySessionContext)
A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.
querySessionContext
- A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake
Formation generated authorization identifier and information from the request's authorization context.public String toString()
toString
in class Object
Object.toString()
public GetUnfilteredPartitionsMetadataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()