public static int analyzeColumn(String columnName) throws AnalysisException {
        for (int i = 0; i < TITLE_NAMES.size(); ++i) {
            if (TITLE_NAMES.get(i).equalsIgnoreCase(columnName)) {
                return i;
            }
        }
        throw new AnalysisException("Title name[" + columnName + "] does not exist");
    }
@Test(expected = AnalysisException.class)
    public void testAnalyzeColumn() throws AnalysisException {
        Assert.assertEquals(optimizeProcDir.analyzeColumn("jobId"), 0);
        optimizeProcDir.analyzeColumn("Database");
    }