buff.append("*");
}
buff.append(" FROM ");
buff.append(secondaryIndex.getTable().getSQL());
HBaseTable htable = (HBaseTable) secondaryIndex.getTable();
buff.append(" WHERE ").append(htable.getPrimaryKeyName()).append("=?");
selectPrepared = session.prepare(buff.toString(), true);
selectParameter = selectPrepared.getParameters().get(0);
dataTableName = htable.getTableNameAsBytes();
}