Class PushDownRequest

  • All Implemented Interfaces:
    AdapterRequest

    public class PushDownRequest
    extends AbstractAdapterRequest
    This class represents a request that tells a Virtual Schema Adapter to push a SQL statement down to the external data source
    • Constructor Detail

      • PushDownRequest

        public PushDownRequest​(String adapterName,
                               SchemaMetadataInfo schemaMetadataInfo,
                               SqlStatement select,
                               List<TableMetadata> involvedTablesMetadata)
        Create a new request of type PushDownRequest
        Parameters:
        adapterName - name of the adapter that should handle the request
        schemaMetadataInfo - schema metadata
        select - SQL statement to be pushed down to the external data source
        involvedTablesMetadata - tables involved in the push-down request
    • Method Detail

      • getSelect

        public SqlStatement getSelect()
        Get the SELECT statement that should be pushed down to the external data source
        Returns:
        SELECT statement
      • getInvolvedTablesMetadata

        public List<TableMetadata> getInvolvedTablesMetadata()
        Get the metadata for the tables involved in the pushdown operation
        Returns:
        metadata of involved tables