import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class WhoisLookupIpFunction extends AbstractFunction<WhoisIpLookupResult> {
private static final Logger LOG = LoggerFactory.getLogger(WhoisLookupIpFunction.class);
public static final String NAME = "whois_lookup_ip";
<BUG>private static final String VALUE = "ip_address";
private final ParameterDescriptor<String, String> valueParam = ParameterDescriptor.string(VALUE).description("The IPv4 or IPv6 address to look up.").build();
private WhoisIpLookupProvider provider = WhoisIpLookupProvider.getInstance();</BUG>
@Inject
public WhoisLookupIpFunction(final ClusterConfigService clusterConfigService,

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class WhoisLookupIpFunction extends AbstractFunction<WhoisIpLookupResult> {
private static final Logger LOG = LoggerFactory.getLogger(WhoisLookupIpFunction.class);
public static final String NAME = "whois_lookup_ip";
private static final String VALUE = "ip_address";
private static final String PREFIX = "prefix";
private final ParameterDescriptor<String, String> valueParam = ParameterDescriptor.string(VALUE).description("The IPv4 or IPv6 address to look up.").build();
private final ParameterDescriptor<String, String> prefixParam = ParameterDescriptor.string(PREFIX).description("A prefix for results. For example \"src_addr\" will result in fields called \"src_addr_whois_org\".").build();
private WhoisIpLookupProvider provider = WhoisIpLookupProvider.getInstance();
@Inject
public WhoisLookupIpFunction(final ClusterConfigService clusterConfigService,
