Packages

c

com.avsystem.commons.serialization

FlatSealedHierarchyCodec

abstract class FlatSealedHierarchyCodec[T] extends SealedHierarchyCodec[T]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FlatSealedHierarchyCodec
  2. SealedHierarchyCodec
  3. ObjectCodec
  4. NullSafeCodec
  5. GenObjectCodec
  6. ErrorReportingCodec
  7. GenCodec
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FlatSealedHierarchyCodec(typeRepr: String, nullable: Boolean, caseNames: Array[String], cases: Array[Class[_]], oooFieldNames: Array[String], caseDependentFieldNames: Set[String], caseFieldName: String, defaultCaseIdx: Int, defaultCaseTransient: Boolean)

Abstract Value Members

  1. abstract def caseDependencies: Array[OOOFieldsObjectCodec[_]]
    Attributes
    protected
  2. abstract def oooDependencies: Array[GenCodec[_]]
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val caseFieldName: String
    Attributes
    protected
    Definition Classes
    FlatSealedHierarchyCodecErrorReportingCodec
  6. final def caseIndexByName(caseName: String, idx: Int = 0): Int
    Attributes
    protected
    Definition Classes
    SealedHierarchyCodec
    Annotations
    @tailrec()
  7. final def caseIndexByValue(value: T, idx: Int = 0): Int
    Attributes
    protected
    Definition Classes
    SealedHierarchyCodec
    Annotations
    @tailrec()
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def fieldMissing(field: String): Nothing
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def missingCase: Nothing
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  17. final def missingCase(fieldToRead: String): Nothing
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notSingleField(empty: Boolean): Nothing
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val nullable: Boolean
    Definition Classes
    SealedHierarchyCodecNullSafeCodec
  23. final def read(input: Input): T

    Deserializes a value of type T from an Input.

    Deserializes a value of type T from an Input.

    Definition Classes
    NullSafeCodecGenCodec
  24. final def readCase[A](caseName: String, input: Input, codec: GenCodec[A]): A
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  25. final def readCaseName(fi: FieldInput): String
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  26. final def readField[A](fieldInput: FieldInput, codec: GenCodec[A]): A
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  27. final def readFlatCase[A](caseName: String, input: ObjectInput, codec: ObjectCodec[A]): A
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  28. final def readFlatCase[A](caseName: String, outOfOrderFields: FieldValues, input: ObjectInput, codec: OOOFieldsObjectCodec[A]): A
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  29. final def readNonNull(input: Input): T
    Definition Classes
    ObjectCodecNullSafeCodec
  30. final def readObject(input: ObjectInput): T
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def transform[U](onWrite: (U) ⇒ T, onRead: (T) ⇒ U): GenCodec[U]

    Transforms this codec into a codec of other type using a bidirectional conversion between the original and new type.

    Transforms this codec into a codec of other type using a bidirectional conversion between the original and new type.

    Definition Classes
    GenCodec
  34. val typeRepr: String
    Attributes
    protected
    Definition Classes
    SealedHierarchyCodecErrorReportingCodec
  35. final def unapplyFailed: Nothing
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  36. final def unknownCase(caseName: String): Nothing
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  37. final def unknownCase(value: T): Nothing
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  41. final def write(output: Output, value: T): Unit

    Serializes a value of type T into an Output.

    Serializes a value of type T into an Output.

    Definition Classes
    NullSafeCodecGenCodec
  42. final def writeCase[A](fieldName: String, output: ObjectOutput, value: A, codec: GenCodec[A]): Unit
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  43. final def writeField(fieldName: String, output: ObjectOutput, value: Double): Unit
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  44. final def writeField(fieldName: String, output: ObjectOutput, value: Long): Unit
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  45. final def writeField(fieldName: String, output: ObjectOutput, value: Int): Unit
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  46. final def writeField(fieldName: String, output: ObjectOutput, value: Boolean): Unit
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  47. final def writeField[A](fieldName: String, output: ObjectOutput, value: A, codec: GenCodec[A]): Unit
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  48. final def writeFlatCase[A](caseName: String, transient: Boolean, output: ObjectOutput, value: A, codec: ObjectCodec[A]): Unit
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  49. final def writeNonNull(output: Output, value: T): Unit
    Definition Classes
    ObjectCodecNullSafeCodec
  50. final def writeObject(output: ObjectOutput, value: T): Unit

Inherited from SealedHierarchyCodec[T]

Inherited from ObjectCodec[T]

Inherited from NullSafeCodec[T]

Inherited from GenObjectCodec[T]

Inherited from ErrorReportingCodec[T]

Inherited from GenCodec[T]

Inherited from AnyRef

Inherited from Any

Ungrouped