Class FieldMap
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.utils.searchengine.FieldMap
-
public class FieldMap extends Object
A builder object that can assemble a map of search result field names to JSON field names. Use like this: m = SearchQueryUtils.fieldMap().put("this", "that").put("2nd", "row").map();
-
-
Constructor Summary
Constructors Constructor Description FieldMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>map()Release the map for use.FieldMapput(String searchResultFieldName, String jsonFieldName)Add a row to the map
-