com.snowplowanalytics.snowplow.enrich

common

package common

Scala package object to hold types, helper methods etc.

See: http://www.artima.com/scalazine/articles/package_objects.html

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. common
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type EnrichmentMap = Map[String, Enrichment]

    Type alias for a map whose keys are enrichment names and whose values are enrichments

  2. sealed class EtlException extends RuntimeException

    The parent for our ETL-specific exceptions

  3. trait EtlExceptionConstructors[E <: EtlException] extends AnyRef

    Holds ways of constructing the exception message from a Scalaz Validation or ValidatioNel.

  4. case class FatalEtlError(msg: String) extends Error with Product with Serializable

    A fatal error in our ETL.

  5. case class FatalEtlException(msg: String) extends EtlException with Product with Serializable

    A fatal exception in our ETL.

  6. type HttpHeaders = List[String]

    Type alias for HTTP headers

  7. type JsonSchemaPairs = List[(SchemaKey, JsonNode)]

    A (possibly empty) list of JsonSchemaPairs

  8. type MaybeCollectorPayload = Option[CollectorPayload]

    Type alias for an Option-boxed CollectorPayload.

  9. type MaybeEnrichedEvent = Option[EnrichedEvent]

    Type alias for an Option-boxed CanonicalOutput.

  10. type MaybeIpLocation = Option[IpLocation]

    Type alias for an Option-boxed IpLocation.

  11. type MaybeString = Option[String]

    Type alias for an Option-boxed String

  12. type RawEventParameters = Map[String, String]

    Parameters inside of a raw event

  13. type ThrowableXor[+A] = \/[Throwable, A]

    Type alias for either Throwable or successful value It has Monad instance unlike Validation

  14. case class UnexpectedEtlException(msg: String) extends EtlException with Product with Serializable

    An unexpected exception in our ETL.

  15. type Validated[A] = Validation[NonEmptyList[String], A]

    Type alias for a ValidationNel containing Strings for Failure or any type of Success.

  16. type ValidatedEnrichedEvent = Validation[NonEmptyList[String], EnrichedEvent]

    Type alias for either a ValidationNel containing Strings for Failure or a CanonicalOutput for Success.

  17. type ValidatedMaybeCollectorPayload = Validation[NonEmptyList[String], MaybeCollectorPayload]

    Type alias for either a ValidationNel containing Strings for Failure or a MaybeCanonicalInput for Success.

  18. type ValidatedMessage[A] = Validation[ProcessingMessage, A]

    Type alias for a Validation containing ProcessingMessages for Failure or any type for Success

  19. type ValidatedNameValuePairs = Validation[String, List[NameValuePair]]

    Type alias for a Validation containing either error Strings or a NameValueNel.

  20. type ValidatedNelMessage[A] = Validation[NonEmptyList[ProcessingMessage], A]

    Type alias for a ValidationNel containing ProcessingMessage for Failure or any type for Success

  21. type ValidatedRawEvents = Validation[NonEmptyList[String], NonEmptyList[RawEvent]]

    Type alias for either a ValidationNel containing Strings for Failure or a List of RawEvents for Success.

  22. type ValidatedString = Validation[String, String]

    Type alias for a Validation containing either an error String or a success String.

  23. type ViewDimensionsTuple = (Integer, Integer)

    Capture a client's screen resolution

Value Members

  1. object EtlPipeline

    Expresses the end-to-end event pipeline supported by the Scala Common Enrich project.

  2. object FatalEtlError extends Serializable

    Companion object for FatalEtlError

  3. object FatalEtlException extends EtlExceptionConstructors[FatalEtlException] with Serializable

    Companion object for FatalEtlException

  4. object UnexpectedEtlException extends EtlExceptionConstructors[UnexpectedEtlException] with Serializable

    Companion object for UnexpectedEtlException

  5. package adapters

  6. package enrichments

  7. package generated

  8. package loaders

  9. package outputs

  10. package utils

Inherited from AnyRef

Inherited from Any

Ungrouped