Package com.buschmais.xo.neo4j.spi
Class AbstractNeo4jRepository<Label extends Neo4jLabel>
- java.lang.Object
-
- com.buschmais.xo.neo4j.spi.AbstractNeo4jRepository<Label>
-
- All Implemented Interfaces:
Neo4jRepository
public abstract class AbstractNeo4jRepository<Label extends Neo4jLabel> extends Object implements Neo4jRepository
Abstract base implementation for Neo4j repositories.
-
-
Field Summary
Fields Modifier and Type Field Description protected XOSession<NodeMetadata<Label>,Label,?,?>xoSession
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractNeo4jRepository(XOSession<NodeMetadata<Label>,Label,?,?> xoSession)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <T> com.buschmais.xo.api.ResultIterable<T>find(Class<T> type, Object value)protected abstract <T> com.buschmais.xo.api.ResultIterable<T>find(Label label, PropertyMetadata datastoreMetadata, Object datastoreValue)
-
-
-
Field Detail
-
xoSession
protected final XOSession<NodeMetadata<Label extends Neo4jLabel>,Label extends Neo4jLabel,?,?> xoSession
-
-
Constructor Detail
-
AbstractNeo4jRepository
protected AbstractNeo4jRepository(XOSession<NodeMetadata<Label>,Label,?,?> xoSession)
-
-
Method Detail
-
find
public <T> com.buschmais.xo.api.ResultIterable<T> find(Class<T> type, Object value)
- Specified by:
findin interfaceNeo4jRepository
-
find
protected abstract <T> com.buschmais.xo.api.ResultIterable<T> find(Label label, PropertyMetadata datastoreMetadata, Object datastoreValue)
-
-