Class 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 Detail

      • RefreshRequest

        public RefreshRequest​(SchemaMetadataInfo schemaMetadataInfo)
        Create a new request of type RefreshRequest for the whole Virtual Schema
        Parameters:
        schemaMetadataInfo - schema metadata
      • RefreshRequest

        public RefreshRequest​(SchemaMetadataInfo schemaMetadataInfo,
                              List<String> tables)
        Create a new request of type RefreshRequest for selected tables
        Parameters:
        schemaMetadataInfo - schema metadata
        tables - tables for which the metadata should be refreshed
    • Method Detail

      • getTables

        public List<String> getTables()
        Get the tables for which the metadata should be presented
        Returns:
        tables
      • refreshesOnlySelectedTables

        public boolean refreshesOnlySelectedTables()
        Returns:
        true if the refresh request is restricted to tables