Interface ICatalogAccess


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addDayPartition​(java.lang.String schema, java.lang.String table, java.util.Date lowValue)
      Add a new daily partition to the given table
      void addMonthPartition​(java.lang.String schema, java.lang.String table, java.util.Date lowValue)
      Add a new monthly partition to the given table
      void commitBatch()
      Used for commit after batch operations
      void dropDetachedPartitions​(java.lang.String schema, java.lang.String table, int partMaintBatchSize)
      Drop any tables which have been created as part of the dropPartition process
      void dropPartition​(java.lang.String schema, java.lang.String table, PartitionInfo pi)
      Drop (detach) the partition identified by schema, table and pi
      java.util.List<PartitionInfo> getPartitionList​(java.lang.String schema, java.lang.String table)
      Get the list of partitions for this table
    • Method Detail

      • getPartitionList

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

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

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

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

        void dropDetachedPartitions​(java.lang.String schema,
                                    java.lang.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