@groovy.transform.CompileStatic class MappingBuilder extends java.lang.Object
Helps to build mapping definitions for Neo4j
Constructor and description |
---|
MappingBuilder() |
Type Params | Return Type | Name and description |
---|---|---|
|
static MappingDefinition<MongoCollection, MongoAttribute> |
document(groovy.lang.Closure mappingDefinition) Build a MongoDB document mapping |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Build a MongoDB document mapping
mappingDefinition
- The closure defining the mapping