gov.nasa.pds.api.registry.RequestConstructionContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of registry-api-service Show documentation
Show all versions of registry-api-service Show documentation
Registry API Service contributing to the PDS Federated Search API
package gov.nasa.pds.api.registry;
import gov.nasa.pds.api.registry.model.identifiers.PdsProductIdentifier;
import java.util.List;
import java.util.Map;
public interface RequestConstructionContext {
public List getKeywords(); // must not return null but an empty list
public Map> getKeyValuePairs(); // must not return null but an empty map
public PdsProductIdentifier getProductIdentifier();
public String getProductIdentifierString(); // must not return null but an empty string
public String getQueryString(); // must not return null but an empty string
public boolean isTerm(); // if true, then use QueryBuilders.termQuery otherwise use
// QueryBuilders.matchQuery
}