c
it.agilelab.bigdata.wasp.consumers.spark.MlModels
MlModelsBroadcastDB
Companion object MlModelsBroadcastDB
class MlModelsBroadcastDB extends Serializable
It allow to get a complete broadcasted model and keep a list of model to salve
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MlModelsBroadcastDB
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new MlModelsBroadcastDB(modelDatabase: Map[String, Broadcast[TransformerWithInfo]] = Map(), timestampMap: Map[String, Long] = Map())
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: MlModelsBroadcastDB): MlModelsBroadcastDB
Merge with another MlModelsBroadcastDB
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addModelToSave(completeModel: TransformerWithInfo): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(name: String, version: String, timestampOpt: Option[Long] = None): Option[TransformerWithInfo]
Return a model in base the three key name, version, timestamp(optional if None will choose the most recent)
-
def
getBroadcast(name: String, version: String, timestampOpt: Option[Long] = None): Option[Broadcast[TransformerWithInfo]]
Return a complete broadcasted model
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getModelsToSave: List[TransformerWithInfo]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val modelDatabase: Map[String, Broadcast[TransformerWithInfo]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timestampMap: Map[String, Long]
-
def
toString(): String
- Definition Classes
- 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( ... ) @native()