Class Db2GetPartitionInfo

  • All Implemented Interfaces:
    IDatabaseStatement

    public class Db2GetPartitionInfo
    extends java.lang.Object
    implements IDatabaseStatement
    Functional wrapper to get the catalog information
    • Constructor Summary

      Constructors 
      Constructor Description
      Db2GetPartitionInfo​(java.lang.String catalogSchema, java.lang.String tableSchema, java.util.function.Consumer<PartitionInfo> consumer)
      Get partition information for all tables in the tableSchema, using the catalogSchema as the schema containing the DATAPARTITIONS system table
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run​(IDatabaseTranslator translator, java.sql.Connection c)
      Execute the statement using the connection.
      static java.lang.String unwrap​(java.lang.String value)
      The high/low values look like this: '2017-01-01-00.00.00.000000'.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Db2GetPartitionInfo

        public Db2GetPartitionInfo​(java.lang.String catalogSchema,
                                   java.lang.String tableSchema,
                                   java.util.function.Consumer<PartitionInfo> consumer)
        Get partition information for all tables in the tableSchema, using the catalogSchema as the schema containing the DATAPARTITIONS system table
        Parameters:
        catalogSchema -
        tableSchema -
        consumer -
    • Method Detail

      • unwrap

        public static java.lang.String unwrap​(java.lang.String value)
        The high/low values look like this: '2017-01-01-00.00.00.000000'. We want this: 2017-01-01
        Parameters:
        value -
        Returns: