Class/Object

avro.time

Period

Related Docs: object Period | package time

Permalink

sealed case class Period(value: String) extends CaseClassAvroRecord with Ordered[Period] with Serializable with Product with Serializable

A date-based amount of time in the ISO-8601 calendar system, such as '2 years, 3 months and 4 days'.

Annotations
@AvroGenerated()
See also

java.time.Period

Linear Supertypes
Serializable, Product, Equals, Serializable, Ordered[Period], Comparable[Period], CaseClassAvroRecord, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Period
  2. Serializable
  3. Product
  4. Equals
  5. Serializable
  6. Ordered
  7. Comparable
  8. CaseClassAvroRecord
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Period(value: String)

    Permalink

    Create a case class with all attributes describe in the associated Avro record.

    Create a case class with all attributes describe in the associated Avro record. It's recommended to use the named parameters.

Type Members

  1. abstract type LT

    Permalink

    Logical type associated with this record.

    Logical type associated with this record. May be the same type.

    Definition Classes
    CaseClassAvroRecord

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <(that: Period): Boolean

    Permalink
    Definition Classes
    Ordered
  4. def <=(that: Period): Boolean

    Permalink
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >(that: Period): Boolean

    Permalink
    Definition Classes
    Ordered
  7. def >=(that: Period): Boolean

    Permalink
    Definition Classes
    Ordered
  8. lazy val SCHEMA$: Schema

    Permalink

    The root schema for the case-class.

    The root schema for the case-class.

    Definition Classes
    PeriodCaseClassAvroRecord
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compare(_that: Period): Int

    Permalink

    Compare instance.

    Compare instance.

    Definition Classes
    Period → Ordered
    Note

    Requite _that use the same class.

    See also

    scala.math.Ordered

  12. def compareTo(that: Period): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(_obj: Any): Boolean

    Permalink

    Indicates whether some other object is "equal to" this one.

    Indicates whether some other object is "equal to" this one.

    Definition Classes
    Period → Equals → AnyRef → Any
  15. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  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 synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. lazy val toAvroRecord: Record

    Permalink

    Convert a case class to an Avro record.

    Convert a case class to an Avro record.

    returns

    The Avro generic record

    Definition Classes
    PeriodCaseClassAvroRecord
  23. val value: String

    Permalink
  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 Product

Inherited from Equals

Inherited from Serializable

Inherited from Ordered[Period]

Inherited from Comparable[Period]

Inherited from CaseClassAvroRecord

Inherited from AnyRef

Inherited from Any

Ungrouped