Skip to content

Commit

Permalink
Add table test for the MetadataHelper, update docs, general code clea…
Browse files Browse the repository at this point in the history
…nup (#34)
  • Loading branch information
apmoriarty authored Jun 5, 2024
1 parent 2948b55 commit cb733db
Show file tree
Hide file tree
Showing 4 changed files with 1,218 additions and 134 deletions.
6 changes: 3 additions & 3 deletions src/main/java/datawave/query/util/Metadata.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public Metadata(Metadata other) {
* @throws TableNotFoundException
*/
public Metadata(MetadataHelper helper, Set<String> datatypeFilter) throws ExecutionException, TableNotFoundException {
this(Sets.<String> newHashSet(helper.getDatatypes(datatypeFilter)), Sets.<String> newHashSet(helper.getTermFrequencyFields(datatypeFilter)),
Sets.<String> newHashSet(helper.getAllFields(datatypeFilter)), Sets.<String> newHashSet(helper.getIndexedFields(datatypeFilter)),
Sets.<String> newHashSet(helper.getIndexOnlyFields(datatypeFilter)));
this(Sets.newHashSet(helper.getDatatypes(datatypeFilter)), Sets.newHashSet(helper.getTermFrequencyFields(datatypeFilter)),
Sets.newHashSet(helper.getAllFields(datatypeFilter)), Sets.newHashSet(helper.getIndexedFields(datatypeFilter)),
Sets.newHashSet(helper.getIndexOnlyFields(datatypeFilter)));
}

protected Metadata(Set<String> datatypes, Set<String> termFrequencyFields, Set<String> allFields, Set<String> indexedFields, Set<String> indexOnlyFields) {
Expand Down
Loading

0 comments on commit cb733db

Please sign in to comment.