Package

com.pagerduty.mapper

annotations

Permalink

package annotations

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. annotations
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Column = com.pagerduty.mapper.annotations.impl.ColumnAnnotation @scala.annotation.meta.field

    Permalink

    Used to annotate field in an @Entity.

  2. type Discriminator = DiscriminatorAnnotation

    Permalink

    Used to define discriminator value for persistable classes that are part of inheritance mapping.

    Used to define discriminator value for persistable classes that are part of inheritance mapping.

    @Entity
    @Discriminator("subclass1")
    case class SubClass1(...)
  3. type Entity = EntityAnnotation

    Permalink

    Used to annotate persistable classes.

    Used to annotate persistable classes.

    @Entity
    case class MyClass(...)
  4. type Id = com.pagerduty.mapper.annotations.impl.IdAnnotation @scala.annotation.meta.field

    Permalink

    Used to annotate id field in an @Entity.

  5. type Serializer = com.pagerduty.mapper.annotations.impl.SerializerAnnotation @scala.annotation.meta.field

    Permalink

    Used on fields in conjunction with @Column to indicate special serializer.

  6. type Superclass = SuperclassAnnotation

    Permalink

    Used to annotate the root of persistable class tree.

    Used to annotate the root of persistable class tree. All the persistable subclasses must be defined in the annotation.

    @Entity
    @Superclass(Array(classOf[SubClass1], classOf[SubClass2]))
    case class SuperClass(...)
  7. type Ttl = TtlAnnotation

    Permalink

    Used to define TTL in seconds.

    Used to define TTL in seconds. When combined with inheritance mapping, and both superclass and a subclass specify TTL, the most specific TTL (the subclass) will take precedence.

    If a class has fields that themselves are annotate as @Entity and specify a @Ttl, those other TTL values are ignored. All the fields in a class will have the same TTL value as specified with Entity that maps to a column family. If the outermost Entity does not specify a TTL, then none of the fields will have TTL set.

    @Entity
    @Ttl(seconds=2*3600)
    case class MyClass(...)

Value Members

  1. package impl

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped