Package

com.snowplowanalytics.maxmind

iplookups

Permalink

package iplookups

Visibility
  1. Public
  2. All

Type Members

  1. class IpLookups[F[_]] extends AnyRef

    Permalink

    IpLookups is a Scala wrapper around MaxMind's own DatabaseReader Java class.

    IpLookups is a Scala wrapper around MaxMind's own DatabaseReader Java class.

    Two main differences:

    1. getLocation(ipS: String) now returns an IpLocation case class, not a raw MaxMind Location 2. IpLookups introduces an LRU cache to improve lookup performance

    Inspired by: https://github.com/jt6211/hadoop-dns-mining/blob/master/src/main/java/io/covert/dns/geo/IpLookups.java

  2. final case class SpecializedReader(db: DatabaseReader, f: ReaderFunction) extends Product with Serializable

    Permalink

Value Members

  1. object IpLookups

    Permalink

    Companion object to hold alternative constructors.

  2. object ReaderFunctions

    Permalink
  3. object model

    Permalink

Ungrouped