Object/Class

com.snowplowanalytics.iglu.client.resolver

Resolver

Related Docs: class Resolver | package resolver

Permalink

object Resolver extends Serializable

Companion object. Lets us create a Resolver from a Json

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Resolver
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val SelfDescribingKey: SchemaKey

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bootstrap[F[_]](implicit arg0: Monad[F], arg1: InitSchemaCache[F], arg2: InitListCache[F]): F[Resolver[F]]

    Permalink

    A Resolver which only looks at our embedded repo

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def init[F[_]](cacheSize: Int, refs: Registry*)(implicit arg0: Monad[F], arg1: InitSchemaCache[F], arg2: InitListCache[F]): F[Resolver[F]]

    Permalink

    Constructs a Resolver instance from an arg array of RepositoryRefs.

    Constructs a Resolver instance from an arg array of RepositoryRefs.

    cacheSize

    The size of the cache

    refs

    Any RepositoryRef to add to this resolver

    returns

    a configured Resolver instance

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def parse[F[_]](config: Json)(implicit arg0: Monad[F], arg1: InitSchemaCache[F], arg2: InitListCache[F]): F[Either[DecodingFailure, Resolver[F]]]

    Permalink

    Construct a Resolver instance from a Json *and* validates against embedded schema (hence side-effect)

    Construct a Resolver instance from a Json *and* validates against embedded schema (hence side-effect)

    config

    The JSON containing the configuration for this resolver

    returns

    a configured Resolver instance

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def traverseRepos[F[_], A](get: (Registry) ⇒ F[Either[RegistryError, A]], remaining: List[Registry], tried: LookupFailureMap)(implicit arg0: Monad[F], arg1: RegistryLookup[F]): F[Either[LookupFailureMap, A]]

    Permalink

    Tail-recursive function to find our schema in one of our repositories

    Tail-recursive function to find our schema in one of our repositories

    get

    a function to get an entity from first registry

    remaining

    A List of repositories we have to look in (not-tried yet or with non-404 error)

    tried

    A Map of repositories with their accumulated errors we have looked in fruitlessly so far

    returns

    either a Success-boxed schema (as a Json), or a Failure-boxing of Map of repositories with all their accumulated errors

  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped