Package

com.pagerduty

mapper

Permalink

package mapper

Visibility
  1. Public
  2. All

Type Members

  1. class EntityMapperException extends RuntimeException

    Permalink

    Exception that can be thrown by EntityMapper.

  2. trait EntityMapping[Id, Entity] extends AnyRef

    Permalink

    Typed EntityMapping provides low level interface to write entities to mutation adapter and read them from result adapter.

  3. sealed abstract class MappedResult extends AnyRef

    Permalink

    Result of reading entity from Astyanax column list.

  4. case class MappedValue(hasColumns: Boolean, value: Any) extends MappedResult with Product with Serializable

    Permalink

    Result that has a defined value.

    Result that has a defined value. Sometimes we can get back a synthetic value, for example

    None

    . So we have to rely on checking for presence of columns explicitly in order to properly set entities that have no footprint in the database.

    None }}} properly set entities that have no footprint in the database.

  5. trait Mapping extends AnyRef

    Permalink

    Common interface that captures a mapping.

    Common interface that captures a mapping. Can be an entity mapping, field mapping, option mapping, or a custom mapping.

  6. trait MutationAdapter extends AnyRef

    Permalink

    MutationAdapter interface captures interaction required to mutate entity data.

  7. trait ResultAdapter extends AnyRef

    Permalink

    ResultAdapter interface captures interaction required to read entity data.

Value Members

  1. object EntityMapping

    Permalink
  2. object Undefined extends MappedResult with Product with Serializable

    Permalink

    Result that has no value.

  3. package annotations

    Permalink

Ungrouped