Packages

p

ai.mantik.ds

element

package element

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class ArrayElement(elements: IndexedSeq[Element]) extends Element with Product with Serializable

    Element of ai.mantik.ds.ArrayT

  2. sealed trait Bundle extends AnyRef

    An in-memory data bundle

    An in-memory data bundle

    This is either a TabularBundle or a SingleElementBundle.

  3. case class ColumnWiseBundleBuilder(columnsRev: List[(String, DataType, IndexedSeq[Element])] = Nil) extends Product with Serializable

    A Builder for ai.mantik.ds.element.TabularBundle which builds column wise.

  4. sealed trait Element extends AnyRef

    Base trait for all encoded main elements.

  5. case class ElementWrapper(element: Element) extends Product with Serializable

    Helper structure which allows automatic conversion of primitives into Elements

  6. case class EmbeddedTabularElement(rows: IndexedSeq[TabularRow]) extends Element with Product with Serializable

    Embedded tabular (hypothetical).

  7. case class ImageElement(bytes: ByteString) extends Element with Product with Serializable

    Single serialized image (big endian, flat)

  8. sealed trait NullableElement extends Element

    A Nullable Element (either present or not).

  9. case class Primitive[X](x: X) extends Element with Product with Serializable

    A Single Primitive Element, must be the matching Java Type Note: unsigned are handled using their signed counterparts.

    A Single Primitive Element, must be the matching Java Type Note: unsigned are handled using their signed counterparts. TODO: Discuss if this is ok.

  10. trait PrimitiveEncoder[T <: FundamentalType] extends AnyRef

    Type class which wraps fundamental types into Primitive instances.

    Type class which wraps fundamental types into Primitive instances. The purpose is to have a consistent mapping and to hide all these type erasure beyond a layer of type class magic.

  11. sealed trait RootElement extends AnyRef

    Base trait for main-transportation elements, can contain either SingleElement or TabularRow.

  12. case class SingleElement(element: Element) extends RootElement with Product with Serializable

    A Single element, for non-tabular data.

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

    A Bundle which contains a single element.

  14. case class SomeElement(x: Element) extends NullableElement with Product with Serializable
  15. case class StructElement(elements: IndexedSeq[Element]) extends Element with Product with Serializable

    Named tuple element.

  16. class TabularBuilder extends AnyRef

    Builder for tabular data

  17. case class TabularBundle(model: TabularData, rows: Vector[TabularRow]) extends Bundle with Product with Serializable

    A Bundle which contains tabular data.

  18. case class TabularRow(columns: IndexedSeq[Element]) extends RootElement with Product with Serializable

    A tabular row, a root element.

  19. case class TensorElement[X](elements: IndexedSeq[X]) extends Element with Product with Serializable

    Single serialized tensor element.

    Single serialized tensor element. Serializing works from doing inner elements first, e.g.

    Shape = [4,2]
    [[0,1], [2,3], [4,5], [6,7]]
    elements

    inner elements. TODO: IndexedSeq is not specialized, so not memory efficient, see Ticket #44

  20. trait ValueEncoder[T] extends AnyRef

    Value encoder provides implicit conversion from Scala Types into Mantik Types and can be used to construct primitives

Value Members

  1. object ArrayElement extends Serializable
  2. object Bundle
  3. object ElementOrdering
  4. object ElementWrapper extends Serializable
  5. object EmbeddedTabularElement extends Serializable
  6. case object NullElement extends NullableElement with Product with Serializable
  7. object Primitive extends Serializable
  8. object PrimitiveEncoder
  9. object SingleElementBundle extends Serializable
  10. object SomeElement extends Serializable
  11. object StructElement extends Serializable
  12. object TabularBundle extends Serializable
  13. object TabularRow extends Serializable
  14. object ValueEncoder

Ungrouped