object OneToOne extends Serializable
- Alphabetic
- By Inheritance
- OneToOne
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
mapFnwith its inverse functioninverseFn.Represents a 1-to-1 relation by pairing a function
mapFnwith its inverse functioninverseFn. If the function represented by this class is applied to a value for whichinverseFnis not the inverse ofmapFn, an exception is thrown.Note that
inverseFncan be called by the Data Processing Library on values that are not produced bymapFn. DefineinverseFnas 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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)