Interface ICatalogAccess

  • All Known Implementing Classes:
    Db2CatalogAccess

    public interface ICatalogAccess
    Catalog Access to the backend adminstrative functions
    • Method Detail

      • getPartitionList

        List<PartitionInfo> getPartitionList​(String schema,
                                             String table)
        Get the list of partitions for this table
        Parameters:
        schema -
        table -
        Returns:
      • addMonthPartition

        void addMonthPartition​(String schema,
                               String table,
                               Date lowValue)
        Add a new monthly partition to the given table
        Parameters:
        schema -
        table -
        lowValue -
      • addDayPartition

        void addDayPartition​(String schema,
                             String table,
                             Date lowValue)
        Add a new daily partition to the given table
        Parameters:
        schema -
        table -
        lowValue -
      • dropPartition

        void dropPartition​(String schema,
                           String table,
                           PartitionInfo pi)
        Drop (detach) the partition identified by schema, table and pi
        Parameters:
        schema -
        table -
        pi -
      • dropDetachedPartitions

        void dropDetachedPartitions​(String schema,
                                    String table,
                                    int partMaintBatchSize)
        Drop any tables which have been created as part of the dropPartition process
        Parameters:
        schema -
        table -
        partMaintBatchSize -
      • commitBatch

        void commitBatch()
        Used for commit after batch operations