abstract class SealedHierarchyCodec[T] extends ErrorReportingCodec[T] with ObjectCodec[T]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SealedHierarchyCodec
- ObjectCodec
- NullSafeCodec
- GenObjectCodec
- ErrorReportingCodec
- GenCodec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Abstract Value Members
-
abstract
def
readObject(input: ObjectInput): T
- Definition Classes
- ObjectCodec → GenObjectCodec
-
abstract
def
writeObject(output: ObjectOutput, value: T): Unit
- Definition Classes
- ObjectCodec → GenObjectCodec
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
caseFieldName: String
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
caseIndexByName(caseName: String, idx: Int = 0): Int
- Attributes
- protected
- Annotations
- @tailrec()
-
final
def
caseIndexByValue(value: T, idx: Int = 0): Int
- Attributes
- protected
- Annotations
- @tailrec()
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
fieldMissing(field: String): Nothing
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
missingCase: Nothing
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
missingCase(fieldToRead: String): Nothing
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notSingleField(empty: Boolean): Nothing
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
nullable: Boolean
- Definition Classes
- SealedHierarchyCodec → NullSafeCodec
-
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
- NullSafeCodec → GenCodec
-
final
def
readCase[A](caseName: String, input: Input, codec: GenCodec[A]): A
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
readCaseName(fi: FieldInput): String
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
readField[A](fieldInput: FieldInput, codec: GenCodec[A]): A
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
readFlatCase[A](caseName: String, input: ObjectInput, codec: ObjectCodec[A]): A
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
readFlatCase[A](caseName: String, outOfOrderFields: FieldValues, input: ObjectInput, codec: OOOFieldsObjectCodec[A]): A
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
readNonNull(input: Input): T
- Definition Classes
- ObjectCodec → NullSafeCodec
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
-
val
typeRepr: String
- Attributes
- protected
- Definition Classes
- SealedHierarchyCodec → ErrorReportingCodec
-
final
def
unapplyFailed: Nothing
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
unknownCase(caseName: String): Nothing
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
unknownCase(value: T): Nothing
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
- NullSafeCodec → GenCodec
-
final
def
writeCase[A](fieldName: String, output: ObjectOutput, value: A, codec: GenCodec[A]): Unit
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
writeField(fieldName: String, output: ObjectOutput, value: Double): Unit
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
writeField(fieldName: String, output: ObjectOutput, value: Long): Unit
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
writeField(fieldName: String, output: ObjectOutput, value: Int): Unit
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
writeField(fieldName: String, output: ObjectOutput, value: Boolean): Unit
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
writeField[A](fieldName: String, output: ObjectOutput, value: A, codec: GenCodec[A]): Unit
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
writeFlatCase[A](caseName: String, transient: Boolean, output: ObjectOutput, value: A, codec: ObjectCodec[A]): Unit
- Attributes
- protected
- Definition Classes
- ErrorReportingCodec
-
final
def
writeNonNull(output: Output, value: T): Unit
- Definition Classes
- ObjectCodec → NullSafeCodec