106 Map<String, CommonAttributeValue> commonFiles =
new HashMap<>();
116 CaseDbQuery query = sleuthkitCase.executeQuery(selectStatement);
117 ResultSet resultSet = query.getResultSet()) {
119 while (resultSet.next()) {
120 Long objectId = resultSet.getLong(1);
121 String md5 = resultSet.getString(2);
122 Long dataSourceId = resultSet.getLong(3);
123 String dataSource = this.getDataSourceIdToNameMap().get(dataSourceId);
125 if (md5 ==
null || HashUtility.isNoDataMd5(md5)) {
129 if (commonFiles.containsKey(md5)) {
135 commonFiles.put(md5, commonAttributeValue);
140 Map<Integer, CommonAttributeValueList> instanceCollatedCommonFiles = collateMatchesByNumberOfInstances(commonFiles);
176 mimeTypeString = String.format(FILTER_BY_MIME_TYPES_WHERE_CLAUSE,
new Object[]{mimeTypeString});