Object/Class

com.snowplowanalytics.manifest.core

Item

Related Docs: class Item | package core

Permalink

object Item extends Serializable

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

Type Members

  1. sealed trait ItemFsmError extends AnyRef

    Permalink

    Common violations of FSM-nature of Item

  2. final case class OrderedRecords(nel: NonEmptyList[Record]) extends Product with Serializable

    Permalink

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. object ItemFsmError

    Permalink
  5. def apply(unordered: NonEmptyList[Record]): Item

    Permalink

    Constructor, ensuring that final Item always contains sorted Records

    Constructor, ensuring that final Item always contains sorted Records

    unordered

    non-empty list (probably) received without particular order

    returns

    Item with same Records, but ordered by timestamp

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. final def canBeProcessedBy(requester: Application)(item: Item): Boolean

    Permalink

    Check if list of applications extracted from SKIPPED record are blocking current app

  8. final def checkItemId(item: List[Record]): Either[String, Unit]

    Permalink

    Check that Item has a consistent state, e.g.

    Check that Item has a consistent state, e.g. it has a single id

  9. final def checkStateConsistency(item: List[Record]): Either[NonEmptyList[String], Unit]

    Permalink

    Primary FSM-checking state, validating that no records refer to unexpected previous records, e.g.

    Primary FSM-checking state, validating that no records refer to unexpected previous records, e.g. NEW is always first and FAILED always refers to some PROCESSING

  10. def clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. implicit final val itemShow: Show[Item]

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. final def processedBy(application: Application, item: Item): Boolean

    Permalink

    Check that Item was already processed by Application Does not do any validations on Item, e.g.

    Check that Item was already processed by Application Does not do any validations on Item, e.g. inconsistent state ids won't make result different. Assumes that item with Application(_, _, None, _) covers Application(_, _, Some(a), _) and Application(_, _, Some(b), _), making safe double-processing (e.g. loading to two storage targets) by same rdb-loader

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. 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