Class

org.apache.predictionio.data.storage

EntityMap

Related Doc: package storage

Permalink

class EntityMap[A] extends EntityIdIxMap

:: Experimental ::

Annotations
@Experimental()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EntityMap
  2. EntityIdIxMap
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EntityMap(idToData: Map[String, A])

    Permalink
  2. new EntityMap(idToData: Map[String, A], idToIx: BiMap[String, Long])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(ix: Long): String

    Permalink
    Definition Classes
    EntityIdIxMap
  5. def apply(id: String): Long

    Permalink
    Definition Classes
    EntityIdIxMap
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def contains(ix: Long): Boolean

    Permalink
    Definition Classes
    EntityIdIxMap
  9. def contains(id: String): Boolean

    Permalink
    Definition Classes
    EntityIdIxMap
  10. def data(ix: Long): A

    Permalink
  11. def data(id: String): A

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def get(ix: Long): Option[String]

    Permalink
    Definition Classes
    EntityIdIxMap
  16. def get(id: String): Option[Long]

    Permalink
    Definition Classes
    EntityIdIxMap
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getData(ix: Long): Option[A]

    Permalink
  19. def getData(id: String): Option[A]

    Permalink
  20. def getOrElse(ix: Long, default: ⇒ String): String

    Permalink
    Definition Classes
    EntityIdIxMap
  21. def getOrElse(id: String, default: ⇒ Long): Long

    Permalink
    Definition Classes
    EntityIdIxMap
  22. def getOrElseData(ix: Long, default: ⇒ A): A

    Permalink
  23. def getOrElseData(id: String, default: ⇒ A): A

    Permalink
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. val idToData: Map[String, A]

    Permalink
  26. val idToIx: BiMap[String, Long]

    Permalink
    Definition Classes
    EntityMapEntityIdIxMap
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. val ixToId: BiMap[Long, String]

    Permalink
    Definition Classes
    EntityIdIxMap
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def size: Long

    Permalink
    Definition Classes
    EntityIdIxMap
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def take(n: Int): EntityMap[A]

    Permalink
    Definition Classes
    EntityMapEntityIdIxMap
  35. def toMap: Map[String, Long]

    Permalink
    Definition Classes
    EntityIdIxMap
  36. def toString(): String

    Permalink
    Definition Classes
    EntityMapEntityIdIxMap → AnyRef → Any
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EntityIdIxMap

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped