object OneToOne extends Serializable
- Alphabetic
- By Inheritance
- OneToOne
- 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, S]): OneToOne[S, T]
Represents a 1-to-1 relation by pairing a function
mapFn
with its inverse functioninverseFn
.Represents a 1-to-1 relation by pairing a 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
toGeneric(catalog: Id, layer: Id): OneToOne[Key, Generic]
Builds a OneToOne relation that maps com.here.platform.data.processing.catalog.Partition.Keys of a given catalog's layer into their com.here.platform.data.processing.catalog.Partition.Generic name.
Builds a OneToOne relation that maps com.here.platform.data.processing.catalog.Partition.Keys of a given catalog's layer into their com.here.platform.data.processing.catalog.Partition.Generic name. It only works for generic layers. It fails at runtime if called with keys containing com.here.platform.data.processing.catalog.Partition.HereTile names.
- catalog
The catalog ID.
- layer
The layer ID.
- returns
The 1-to-1 relation.
-
def
toHereTile(catalog: Id, layer: Id): OneToOne[Key, HereTile]
Builds a OneToOne relation that maps com.here.platform.data.processing.catalog.Partition.Keys of a given catalog's layer into their com.here.platform.data.processing.catalog.Partition.HereTile name.
Builds a OneToOne relation that maps com.here.platform.data.processing.catalog.Partition.Keys of a given catalog's layer into their com.here.platform.data.processing.catalog.Partition.HereTile name. It only works for heretile layers. It fails at runtime if called with keys containing com.here.platform.data.processing.catalog.Partition.Generic names.
- catalog
The catalog ID.
- layer
The layer ID.
- returns
The 1-to-1 relation.
-
def
toName(catalog: Id, layer: Id): OneToOne[Key, Name]
Builds a OneToOne relation that maps com.here.platform.data.processing.catalog.Partition.Keys of a given catalog's layer into their com.here.platform.data.processing.catalog.Partition.Name.
Builds a OneToOne relation that maps com.here.platform.data.processing.catalog.Partition.Keys of a given catalog's layer into their com.here.platform.data.processing.catalog.Partition.Name.
- catalog
The catalog ID.
- layer
The layer ID.
- returns
The 1-to-1 relation.
-
def
toPartitionKey[Name <: Name](catalog: Id, layer: Id)(implicit arg0: ClassTag[Name]): OneToOne[Name, Key]
Builds a OneToOne relation that maps com.here.platform.data.processing.catalog.Partition.Names into com.here.platform.data.processing.catalog.Partition.Keys of a given catalog and layer.
Builds a OneToOne relation that maps com.here.platform.data.processing.catalog.Partition.Names into com.here.platform.data.processing.catalog.Partition.Keys of a given catalog and layer.
- Name
The partition name type.
- catalog
The catalog ID.
- layer
The layer ID.
- returns
The 1-to-1 relation.
-
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()