psdi.configure

Class DB2TextSearch

  • java.lang.Object
    • psdi.configure.DB2TextSearch


  • public class DB2TextSearch
    extends java.lang.Object
    DB2 Text-Search related methods
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List addHandleUpdates(java.util.List list, java.lang.String ixName, java.lang.String tbname, java.lang.String colName)
      Gives statements to update the MaxAttribute[CFG] tables with the text-search index name.
      java.lang.String generateTextSearchIndexName(java.lang.String tableName, java.lang.String colName)
      Generates a unique name for the text-search index, based on the table name & the column name.
      static DB2TextSearch getHelper(java.sql.Connection dbcon, java.lang.String schemaOwner) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getHelper

        public static DB2TextSearch getHelper(java.sql.Connection dbcon,
                                              java.lang.String schemaOwner)
                                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • generateTextSearchIndexName

        public java.lang.String generateTextSearchIndexName(java.lang.String tableName,
                                                            java.lang.String colName)
                                                     throws java.sql.SQLException
        Generates a unique name for the text-search index, based on the table name & the column name.
        Parameters:
        tableName -
        colName -
        Returns:
        The name to use for the text search index
        Throws:
        java.sql.SQLException
      • addHandleUpdates

        public java.util.List addHandleUpdates(java.util.List list,
                                               java.lang.String ixName,
                                               java.lang.String tbname,
                                               java.lang.String colName)
        Gives statements to update the MaxAttribute[CFG] tables with the text-search index name.
        Parameters:
        list - The list to add the statement to. If null, a new list object is created.
        ixName -
        tbname -
        colName -