Package com.exasol.adapter.request
Class PushDownRequest
- java.lang.Object
-
- com.exasol.adapter.request.AbstractAdapterRequest
-
- com.exasol.adapter.request.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 Summary
Constructors Constructor Description PushDownRequest(String adapterName, SchemaMetadataInfo schemaMetadataInfo, SqlStatement select, List<TableMetadata> involvedTablesMetadata)Create a new request of typePushDownRequest
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TableMetadata>getInvolvedTablesMetadata()Get the metadata for the tables involved in the pushdown operationSqlStatementgetSelect()Get theSELECTstatement that should be pushed down to the external data source-
Methods inherited from class com.exasol.adapter.request.AbstractAdapterRequest
getAdapterName, getSchemaMetadataInfo, getType, getVirtualSchemaName
-
-
-
-
Constructor Detail
-
PushDownRequest
public PushDownRequest(String adapterName, SchemaMetadataInfo schemaMetadataInfo, SqlStatement select, List<TableMetadata> involvedTablesMetadata)
Create a new request of typePushDownRequest- Parameters:
adapterName- name of the adapter that should handle the requestschemaMetadataInfo- schema metadataselect- SQL statement to be pushed down to the external data sourceinvolvedTablesMetadata- tables involved in the push-down request
-
-
Method Detail
-
getSelect
public SqlStatement getSelect()
Get theSELECTstatement that should be pushed down to the external data source- Returns:
SELECTstatement
-
getInvolvedTablesMetadata
public List<TableMetadata> getInvolvedTablesMetadata()
Get the metadata for the tables involved in the pushdown operation- Returns:
- metadata of involved tables
-
-