com.nicta.scoobi.impl.rtt

MetadataClassBuilder

case class MetadataClassBuilder[T](className: String, metaData: Any, scoobiClassLoader: ClassLoader, configuration: Configuration)(implicit mf: Manifest[T]) extends Product with Serializable

A class for building a class extending T at run-time.

The purpose is to create a unique class which, when instantiated, will be able to perform the operations described in T, while using some metadata object serialised to the distributed cache

It takes:

The metadata is distributed to the cache and a "metadataTag" method is added to the built class so that it can be retrieved.

For example, a TaggedValue is a class, defined for several tags, which is able to read/write values of different types (described by their WireFormats), with one type per tag. A concrete instance of that class will have a unique name, TV92, and will provide a method returning the path of the distributed cache file containing all WireFormats per tags.

The TaggedKey class then retrieves the map with the help of the ScoobiMetadata class and can use the wireformats to serialise/deserialise values

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MetadataClassBuilder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MetadataClassBuilder(className: String, metaData: Any, scoobiClassLoader: ClassLoader, configuration: Configuration)(implicit mf: Manifest[T])

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 className: String

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val configuration: Configuration

  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def finalize(): Unit

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

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

    Definition Classes
    Any
  12. val metaData: Any

  13. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  16. val scoobiClassLoader: ClassLoader

  17. lazy val show: String

    string value showing the generated class source code

  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  19. def toClass: Class[_]

    returns

    the java class

  20. def toRuntimeClass: RuntimeClass

    Compile the definition and code for the class.

  21. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped