case class SingleElementBundle(model: DataType, element: Element) extends Bundle with Product with Serializable
A Bundle which contains a single element.
- Alphabetic
- By Inheritance
- SingleElementBundle
- Serializable
- Product
- Equals
- Bundle
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 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.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val element: Element
- def encode(withHeader: Boolean): Source[ByteString, _]
Encode as stream
Encode as stream
- Definition Classes
- Bundle
- def encodeAsByteString(withHeader: Boolean): ByteString
Encode as ByteString.
Encode as ByteString.
- Definition Classes
- Bundle
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val model: DataType
The underlying data type.
The underlying data type.
- Definition Classes
- SingleElementBundle → Bundle
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def render(maxLines: Int = 20): String
Renders the Bundle.
Renders the Bundle.
- Definition Classes
- Bundle
- 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
- SingleElementBundle → Bundle
- 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
- SingleElementBundle → Bundle
- def sorted: SingleElementBundle
Sort the bundle (noop for SingleElementBundle)
Sort the bundle (noop for SingleElementBundle)
- Definition Classes
- SingleElementBundle → Bundle
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- SingleElementBundle → Bundle
- def toString(): String
- Definition Classes
- Bundle → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])