case class SingleElementBundle(model: DataType, element: Element) extends Bundle with Product with Serializable

A Bundle which contains a single element.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleElementBundle
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Bundle
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SingleElementBundle(model: DataType, element: Element)

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 cast(to: DataType, allowLoosing: Boolean = false): Either[String, SingleElementBundle]

    Cast this bundle to a new type.

    Cast this bundle to a new type. Note: loosing precision is only deducted from the types. It is possible that a cast is marked as loosing precision but it's not in practice (e.g. 100.0 (float64)--> 100 (int))

    allowLoosing

    if true, it's allowed when the cast looses precision.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. val element: Element
  8. def encode(withHeader: Boolean): Source[ByteString, _]

    Encode as stream

    Encode as stream

    Definition Classes
    Bundle
  9. def encodeAsByteString(withHeader: Boolean): ByteString

    Encode as ByteString.

    Encode as ByteString.

    Definition Classes
    Bundle
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val model: DataType

    The underlying data type.

    The underlying data type.

    Definition Classes
    SingleElementBundleBundle
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def render(maxLines: Int = 20): String

    Renders the Bundle.

    Renders the Bundle.

    Definition Classes
    Bundle
  18. def rows: Vector[RootElement]

    Returns the rows of the bundle.

    Returns the rows of the bundle. In case of single elements Vector[SingleElement] is returned.

    Definition Classes
    SingleElementBundleBundle
  19. def single: Option[Element]

    Returns the single element contained in the bundle.

    Returns the single element contained in the bundle. This works only for Bundles which are not tabular.

    Definition Classes
    SingleElementBundleBundle
  20. def sorted: SingleElementBundle

    Sort the bundle (noop for SingleElementBundle)

    Sort the bundle (noop for SingleElementBundle)

    Definition Classes
    SingleElementBundleBundle
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toSingleElementBundle: SingleElementBundle

    Convert a tabular bundle into a single element bundle by inserting a wrapped tabular element.

    Convert a tabular bundle into a single element bundle by inserting a wrapped tabular element. SingleElementBundles are not touched.

    Definition Classes
    SingleElementBundleBundle
  23. def toString(): String
    Definition Classes
    Bundle → AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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 Bundle

Inherited from AnyRef

Inherited from Any

Ungrouped