Uses of Class
com.amazonaws.athena.connector.lambda.metadata.GetTableLayoutRequest
-
-
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. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.aws.cmdb
Methods in com.amazonaws.athena.connectors.aws.cmdb with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidAwsCmdbMetadataHandler. enhancePartitionSchema(SchemaBuilder partitionSchemaBuilder, GetTableLayoutRequest request)Delegates to the TableProvider that is registered for the requested table.voidAwsCmdbMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Delegates to the TableProvider that is registered for the requested table. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.aws.cmdb.tables
Methods in com.amazonaws.athena.connectors.aws.cmdb.tables with parameters of type GetTableLayoutRequest Modifier and Type Method Description default voidTableProvider. enhancePartitionSchema(SchemaBuilder partitionSchemaBuilder, GetTableLayoutRequest request)Default implementation does not enhance the partition results schemadefault voidTableProvider. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request)Default implementation returns a single partition since many of the TableProviders may not support parallel scans. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.clickhouse
Methods in com.amazonaws.athena.connectors.clickhouse with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidClickHouseMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker) -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.cloudera
Methods in com.amazonaws.athena.connectors.cloudera with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidHiveMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)Used to get the hive partitions that must be read from the request table in order to satisfy the requested predicate.voidImpalaMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)Used to get the Impala partitions that must be read from the request table in order to satisfy the requested predicate. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.cloudwatch
Methods in com.amazonaws.athena.connectors.cloudwatch with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidCloudwatchMetadataHandler. enhancePartitionSchema(SchemaBuilder partitionSchemaBuilder, GetTableLayoutRequest request)We add one additional field to the partition schema.voidCloudwatchMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Gets the list of LogStreams that need to be scanned to satisfy the requested table. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.cloudwatch.metrics
Methods in com.amazonaws.athena.connectors.cloudwatch.metrics with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidMetricsMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Our table doesn't support complex layouts or partitioning so we simply make this method a NoOp and the SDK will automatically generate a single placeholder partition for us since Athena needs at least 1 partition returned if there is potetnailly any data to read. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.datalakegen2
Methods in com.amazonaws.athena.connectors.datalakegen2 with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidDataLakeGen2MetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)The partitions are being implemented based on the type of data externally in case of Gen 2. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.db2
Methods in com.amazonaws.athena.connectors.db2 with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidDb2MetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)A partition is represented by a partition column(s) of type varchar. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.db2as400
Methods in com.amazonaws.athena.connectors.db2as400 with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidDb2As400MetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)A partition is represented by a partition column(s) of type varchar. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.docdb
Methods in com.amazonaws.athena.connectors.docdb with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidDocDBMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Our table doesn't support complex layouts or partitioning so we simply make this method a NoOp. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.dynamodb
Methods in com.amazonaws.athena.connectors.dynamodb with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidDynamoDBMetadataHandler. enhancePartitionSchema(SchemaBuilder partitionSchemaBuilder, GetTableLayoutRequest request)Generates a partition schema with metadata derived from available predicates.voidDynamoDBMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Generates hash key partitions if possible or generates a single partition with the heuristically determined optimal scan segment count specified inside of it -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.elasticsearch
Methods in com.amazonaws.athena.connectors.elasticsearch with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidElasticsearchMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Elasticsearch does not support partitioning so this method is a NoOp. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.example
Methods in com.amazonaws.athena.connectors.example with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidExampleMetadataHandler. 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. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.gcs
Methods in com.amazonaws.athena.connectors.gcs with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidGcsMetadataHandler. 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. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.google.bigquery
Methods in com.amazonaws.athena.connectors.google.bigquery with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidBigQueryMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Currently not supporting Partitions since Bigquery having quota limits with triggering concurrent queries and having bit complexity to extract and use the partitions in the query instead we are using limit and offset for non constraints query with basic concurrency limit -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.hbase
Methods in com.amazonaws.athena.connectors.hbase with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidHbaseMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Our table doesn't support complex layouts or partitioning so leave this as a NoOp and the SDK will notice that we do not have any partition columns, nor have we set an custom fields using enhancePartitionSchema(...), and as a result the SDK will generate a single place holder partition for us. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.hortonworks
Methods in com.amazonaws.athena.connectors.hortonworks with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidHiveMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)Used to get the hive partitions that must be read from the request table in order to satisfy the requested predicate. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.jdbc
Methods in com.amazonaws.athena.connectors.jdbc with parameters of type GetTableLayoutRequest Modifier and Type Method Description GetTableLayoutResponseMultiplexingJdbcMetadataHandler. doGetTableLayout(BlockAllocator blockAllocator, GetTableLayoutRequest getTableLayoutRequest)voidMultiplexingJdbcMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker) -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.jdbc.manager
Methods in com.amazonaws.athena.connectors.jdbc.manager with parameters of type GetTableLayoutRequest Modifier and Type Method Description abstract voidJdbcMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker) -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.kafka
Methods in com.amazonaws.athena.connectors.kafka with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidKafkaMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Since the kafka partition is not a part of the topic schema as well as not part of topic message data, we should not implement this method. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.msk
Methods in com.amazonaws.athena.connectors.msk with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidAmazonMskMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Since the kafka partition is not a part of the topic schema as well as not part of topic message data, we should not implement this method. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.mysql
Methods in com.amazonaws.athena.connectors.mysql with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidMySqlMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker) -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.neptune
Methods in com.amazonaws.athena.connectors.neptune with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidNeptuneMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Our table doesn't support complex layouts or partitioning so we simply make this method a NoOp. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.oracle
Methods in com.amazonaws.athena.connectors.oracle with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidOracleMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)If it is a table with no partition, then data will be fetched with single split. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.postgresql
Methods in com.amazonaws.athena.connectors.postgresql with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidPostGreSqlMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker) -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.redis
Methods in com.amazonaws.athena.connectors.redis with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidRedisMetadataHandler. enhancePartitionSchema(SchemaBuilder partitionSchemaBuilder, GetTableLayoutRequest request)voidRedisMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Even though our table doesn't support complex layouts or partitioning, we need to convey that there is at least 1 partition to read as part of the query or Athena will assume partition pruning found no candidate layouts to read. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.saphana
Methods in com.amazonaws.athena.connectors.saphana with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidSaphanaMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)We are first checking if input table is a view, if it's a view, it will not have any partition info and data will be fetched with single split.If it is a table with no partition, then data will be fetched with single split. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.snowflake
Methods in com.amazonaws.athena.connectors.snowflake with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidSnowflakeMetadataHandler. enhancePartitionSchema(SchemaBuilder partitionSchemaBuilder, GetTableLayoutRequest request)Here we inject the additional column to hold the Prepared SQL Statement.voidSnowflakeMetadataHandler. 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. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.sqlserver
Methods in com.amazonaws.athena.connectors.sqlserver with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidSqlServerMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)Check whether input table is a view or not. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.synapse
Methods in com.amazonaws.athena.connectors.synapse with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidSynapseMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)Partition metadata queries will be extracted from template files, we can check whether the table is partitioned or not using these queries. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.teradata
Methods in com.amazonaws.athena.connectors.teradata with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidTeradataMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker) -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.timestream
Methods in com.amazonaws.athena.connectors.timestream with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidTimestreamMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)Our table doesn't support complex layouts or partitioning so we simply make this method a NoOp. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.tpcds
Methods in com.amazonaws.athena.connectors.tpcds with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidTPCDSMetadataHandler. getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker)We do not support partitioning at this time since Partition Pruning Performance is not part of the dimensions we test using TPCDS. -
Uses of GetTableLayoutRequest in com.amazonaws.athena.connectors.vertica
Methods in com.amazonaws.athena.connectors.vertica with parameters of type GetTableLayoutRequest Modifier and Type Method Description voidVerticaMetadataHandler. enhancePartitionSchema(SchemaBuilder partitionSchemaBuilder, GetTableLayoutRequest request)Here we inject the additional column to hold the Prepared SQL Statement.voidVerticaMetadataHandler. 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.
-