public class DB2TextSearch
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
addHandleUpdates(java.util.List<java.lang.String> 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) |
public static DB2TextSearch getHelper(java.sql.Connection dbcon, java.lang.String schemaOwner) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String generateTextSearchIndexName(java.lang.String tableName, java.lang.String colName) throws java.sql.SQLException
tableName
- colName
- java.sql.SQLException
public java.util.List<java.lang.String> addHandleUpdates(java.util.List<java.lang.String> list, java.lang.String ixName, java.lang.String tbname, java.lang.String colName)
list
- The list to add the statement to. If null, a new list object is created.ixName
- tbname
- colName
-