protected static SimpleResultSet createResultSet(boolean data){
  SimpleResultSet result=new SimpleResultSet();
  if (data) {
    result.addColumn(FullText.FIELD_SCHEMA,Types.VARCHAR,0,0);
    result.addColumn(FullText.FIELD_TABLE,Types.VARCHAR,0,0);
    result.addColumn(FullText.FIELD_COLUMNS,Types.ARRAY,0,0);
    result.addColumn(FullText.FIELD_KEYS,Types.ARRAY,0,0);
  }
 else {
    result.addColumn(FullText.FIELD_QUERY,Types.VARCHAR,0,0);
  }
  result.addColumn(FullText.FIELD_SCORE,Types.FLOAT,0,0);
  return result;
}

protected static SimpleResultSet createResultSet ( boolean data ) { SimpleResultSet result = new SimpleResultSet ( ) ; if ( data ) { result . addColumn ( FullText . FIELD_SCHEMA , Types . VARCHAR , 0 , 0 ) ; result . addColumn ( FullText . FIELD_TABLE , Types . VARCHAR , 0 , 0 ) ; result . addColumn ( FullText . FIELD_COLUMNS , Types . ARRAY , 0 , 0 ) ; result . addColumn ( FullText . FIELD_KEYS , Types . ARRAY , 0 , 0 ) ; } else { result . addColumn ( FullText . FIELD_QUERY , Types . VARCHAR , 0 , 0 ) ; } result . addColumn ( FullText . FIELD_SCORE , Types . FLOAT , 0 , 0 ) ; return result ; }
create an empty search result and initialize the columns .
