org
.
apache
.
predictionio
.
data
.
storage
EntityMap
Related Doc:
package storage
class
EntityMap
[
A
]
extends
EntityIdIxMap
:: Experimental ::
Annotations
@Experimental
()
Linear Supertypes
EntityIdIxMap
,
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
EntityMap
EntityIdIxMap
Serializable
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
EntityMap
(
idToData:
Map
[
String
,
A
]
)
new
EntityMap
(
idToData:
Map
[
String
,
A
]
,
idToIx:
BiMap
[
String
,
Long
]
)
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
def
apply
(
ix:
Long
)
:
String
Definition Classes
EntityIdIxMap
def
apply
(
id:
String
)
:
Long
Definition Classes
EntityIdIxMap
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
contains
(
ix:
Long
)
:
Boolean
Definition Classes
EntityIdIxMap
def
contains
(
id:
String
)
:
Boolean
Definition Classes
EntityIdIxMap
def
data
(
ix:
Long
)
:
A
def
data
(
id:
String
)
:
A
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
get
(
ix:
Long
)
:
Option
[
String
]
Definition Classes
EntityIdIxMap
def
get
(
id:
String
)
:
Option
[
Long
]
Definition Classes
EntityIdIxMap
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getData
(
ix:
Long
)
:
Option
[
A
]
def
getData
(
id:
String
)
:
Option
[
A
]
def
getOrElse
(
ix:
Long
,
default: ⇒
String
)
:
String
Definition Classes
EntityIdIxMap
def
getOrElse
(
id:
String
,
default: ⇒
Long
)
:
Long
Definition Classes
EntityIdIxMap
def
getOrElseData
(
ix:
Long
,
default: ⇒
A
)
:
A
def
getOrElseData
(
id:
String
,
default: ⇒
A
)
:
A
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
idToData
:
Map
[
String
,
A
]
val
idToIx
:
BiMap
[
String
,
Long
]
Definition Classes
EntityMap
→
EntityIdIxMap
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
ixToId
:
BiMap
[
Long
,
String
]
Definition Classes
EntityIdIxMap
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
size
:
Long
Definition Classes
EntityIdIxMap
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
take
(
n:
Int
)
:
EntityMap
[
A
]
Definition Classes
EntityMap
→
EntityIdIxMap
def
toMap
:
Map
[
String
,
Long
]
Definition Classes
EntityIdIxMap
def
toString
()
:
String
Definition Classes
EntityMap
→
EntityIdIxMap
→ AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
EntityIdIxMap
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped
:: Experimental ::