c

ml.combust.bundle.serializer

BundleSerializer

case class BundleSerializer[Context](context: Context, file: BundleFile)(implicit hr: HasBundleRegistry) extends Closeable with Product with Serializable

Class for serializing/deserializing Bundle.ML ml.combust.bundle.dsl.Bundle objects.

Context

context type for implementation

context

context for implementation

file

bundle file for serialization

hr

bundle registry for custom types and ops

Linear Supertypes
Serializable, Serializable, Product, Equals, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BundleSerializer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Closeable
  7. AutoCloseable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BundleSerializer(context: Context, file: BundleFile)(implicit hr: HasBundleRegistry)

    context

    context for implementation

    file

    bundle file for serialization

    hr

    bundle registry for custom types and ops

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def close(): Unit
    Definition Classes
    BundleSerializer → Closeable → AutoCloseable
  7. val context: Context
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val file: BundleFile
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def read[Transformer <: AnyRef](): Try[Bundle[Transformer]]

    Read a bundle from the path.

    Read a bundle from the path.

    returns

    deserialized bundle

  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def write[Transformer <: AnyRef](bundle: Bundle[Transformer]): Try[Bundle[Transformer]]

    Write a bundle to the path.

    Write a bundle to the path.

    bundle

    bundle to write

    returns

    try of the bundle transformer

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped