object ManyToOne extends Serializable
- Alphabetic
- By Inheritance
- ManyToOne
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[S, T](mapFn: (S) ⇒ T, inverseFn: PartialFunction[T, Iterable[S]]): ManyToOne[S, T]
Represents an n-to-1 relation by pairing the function
mapFn
with its inverse functioninverseFn
.Represents an n-to-1 relation by pairing the function
mapFn
with its inverse functioninverseFn
. If the function represented by this class is applied to a value for whichinverseFn
is not the inverse ofmapFn
, an exception is thrown.Note that
inverseFn
can be called by the Data Processing Library on values that are not produced bymapFn
. DefineinverseFn
as a partial function to correctly restrict its domain to the set of keys, for which an inverse can be defined.- mapFn
The mapping function.
- inverseFn
The inverse of the mapping function.
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
def
toAncestor(fromLevel: Int, toLevel: Int): ManyToOne[HereTile, HereTile]
Builds a ManyToOne relation that maps com.here.platform.data.processing.catalog.Partition.HereTiles into their ancestor tile at a given level.
Builds a ManyToOne relation that maps com.here.platform.data.processing.catalog.Partition.HereTiles into their ancestor tile at a given level.
- fromLevel
The level of the original tiles.
- toLevel
The level of the corresponding ancestor.
- returns
The n-to-1 relation.
-
val
toParent: ManyToOne[HereTile, HereTile]
Represents a ManyToOne relation that maps com.here.platform.data.processing.catalog.Partition.HereTiles into their parent tile.
-
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()