Uses of Class
com.amazonaws.athena.connector.lambda.metadata.GetTableLayoutRequest
-
Packages that use GetTableLayoutRequest Package Description com.amazonaws.athena.connector.lambda.examples com.amazonaws.athena.connector.lambda.handlers -
-
Uses of GetTableLayoutRequest in com.amazonaws.athena.connector.lambda.examples
Methods in com.amazonaws.athena.connector.lambda.examples with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidExampleMetadataHandler. enhancePartitionSchema(SchemaBuilder partitionSchemaBuilder, GetTableLayoutRequest request)Here we inject the two additional columns we define for partition metadata.voidExampleMetadataHandler. getPartitions(BlockWriter writer, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Our example table is partitions on year, month, day so we loop over a range of years, months, and days to generate our example partitions. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connector.lambda.handlers
Methods in com.amazonaws.athena.connector.lambda.handlers with parameters of type GetTableLayoutRequest Modifier and Type Method Description GetTableLayoutResponseMetadataHandler. doGetTableLayout(BlockAllocator allocator, GetTableLayoutRequest request)Used to get the partitions that must be read from the request table in order to satisfy the requested predicate.voidMetadataHandler. enhancePartitionSchema(SchemaBuilder partitionSchemaBuilder, GetTableLayoutRequest request)This method can be used to add additional fields to the schema of our partition response.abstract voidMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Used to get the partitions that must be read from the request table in order to satisfy the requested predicate.
-