Package com.exasol.adapter.request
Class RefreshRequest
- java.lang.Object
-
- com.exasol.adapter.request.AbstractAdapterRequest
-
- com.exasol.adapter.request.RefreshRequest
-
- All Implemented Interfaces:
AdapterRequest
public class RefreshRequest extends AbstractAdapterRequest
This class represents a request that tells a Virtual Schema Adapter to present the current metadata
-
-
Constructor Summary
Constructors Constructor Description RefreshRequest(String adapterName, SchemaMetadataInfo schemaMetadataInfo)Create a new request of typeRefreshRequestfor the whole Virtual SchemaRefreshRequest(String adapterName, SchemaMetadataInfo schemaMetadataInfo, List<String> tables)Create a new request of typeRefreshRequestfor selected tables
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getTables()Get the tables for which the metadata should be presentedbooleanrefreshesOnlySelectedTables()-
Methods inherited from class com.exasol.adapter.request.AbstractAdapterRequest
getAdapterName, getSchemaMetadataInfo, getType, getVirtualSchemaName
-
-
-
-
Constructor Detail
-
RefreshRequest
public RefreshRequest(String adapterName, SchemaMetadataInfo schemaMetadataInfo)
Create a new request of typeRefreshRequestfor the whole Virtual Schema- Parameters:
adapterName- name of the adapter that should handle the requestschemaMetadataInfo- schema metadata
-
RefreshRequest
public RefreshRequest(String adapterName, SchemaMetadataInfo schemaMetadataInfo, List<String> tables)
Create a new request of typeRefreshRequestfor selected tables- Parameters:
adapterName- name of the adapter that should handle the requestschemaMetadataInfo- schema metadatatables- tables for which the metadata should be refreshed
-
-