org.apache.tinkerpop.gremlin.ogm.mappers.Mapper.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-gremlin-ogm Show documentation
Show all versions of kotlin-gremlin-ogm Show documentation
The Object Graph Mapping Library for Kotlin and Gremlin
package org.apache.tinkerpop.gremlin.ogm.mappers
/**
* An interface marking an object that can be invoked to map an object X from
* its domain to an object Y from its co-domain
*/
interface Mapper {
/**
* A function that can be invoked on a [Mapper] to apply the mapping.
*/
operator fun invoke(from: X): Y
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy