Skip to content

Commit

Permalink
Remove Cacheable annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
lbschanno committed Feb 6, 2024
1 parent 7baec7b commit 0df11eb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/datawave/query/util/AllFieldMetadataHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,6 @@ public Set<String> loadDatatypes() throws TableNotFoundException {
* range 0.0 to 1.0
* @return a map of field names and datatype pairs to field index holes
*/
@Cacheable(value = "getFieldIndexHoles", key = "{#root.target.auths,#root.target.metadataTableName}", cacheManager = "metadataHelperCacheManager")
public Map<String,Map<String,FieldIndexHole>> getFieldIndexHoles(Set<String> fields, Set<String> datatypes, double minThreshold)
throws TableNotFoundException, IOException {
return getFieldIndexHoles(ColumnFamilyConstants.COLF_I, fields, datatypes, minThreshold);
Expand All @@ -1090,16 +1089,13 @@ public Map<String,Map<String,FieldIndexHole>> getFieldIndexHoles(Set<String> fie
* range 0.0 to 1.0
* @return a map of field names and datatype pairs to field index holes
*/
@Cacheable(value = "getReversedFieldIndexHoles", key = "{#root.target.auths,#root.target.metadataTableName}", cacheManager = "metadataHelperCacheManager")
public Map<String,Map<String,FieldIndexHole>> getReversedFieldIndexHoles(Set<String> fields, Set<String> datatypes, double minThreshold)
throws TableNotFoundException, IOException {
return getFieldIndexHoles(ColumnFamilyConstants.COLF_RI, fields, datatypes, minThreshold);
}

private Map<String,Map<String,FieldIndexHole>> getFieldIndexHoles(Text targetColumnFamily, Set<String> fields, Set<String> datatypes, double minThreshold)
throws TableNotFoundException, IOException {
log.debug("cache fault for getFieldIndexHoles(" + this.auths + "," + this.metadataTableName + ")");

// Handle null fields if given.
if (fields == null) {
fields = Collections.emptySet();
Expand Down

0 comments on commit 0df11eb

Please sign in to comment.