Examples of TagOccurrenceRowMapper


Examples of com.github.hakko.musiccabinet.dao.jdbc.rowmapper.TagOccurrenceRowMapper

        + " left outer join music.tag tc on t.corrected_id = tc.id"
        + " left outer join (select tag_id from library.toptag) tt on t.id = tt.tag_id"
        + " where occ.count >= 5"
        + " order by occ.count desc limit 250) top order by 1";

    return jdbcTemplate.query(sql, new TagOccurrenceRowMapper());
  }
View Full Code Here

Examples of com.github.hakko.musiccabinet.dao.jdbc.rowmapper.TagOccurrenceRowMapper

        + " inner join (select coalesce(t.corrected_id, t.id) as tag_id, sum(tag_count)"
        + "  from " + topTagsTable + " att inner join music.tag t on att.tag_id = t.id"
        + "  group by coalesce(t.corrected_id, t.id)) pop on tag.id = pop.tag_id"
        + " order by tag.tag_name";

    return jdbcTemplate.query(sql, new TagOccurrenceRowMapper());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.