public class Neo4jStorage extends Object implements systems.dmx.core.storage.spi.DMXStorage
| Modifier and Type | Method and Description |
|---|---|
systems.dmx.core.storage.spi.DMXTransaction |
beginTx() |
void |
deleteAssoc(long assocId) |
void |
deleteAssocProperty(long assocId,
String propUri) |
void |
deleteTopic(long topicId) |
void |
deleteTopicProperty(long topicId,
String propUri) |
Iterable<systems.dmx.core.impl.AssocModelImpl> |
fetchAllAssocs() |
Iterable<systems.dmx.core.impl.TopicModelImpl> |
fetchAllTopics() |
systems.dmx.core.impl.AssocModelImpl |
fetchAssoc(long assocId) |
List<systems.dmx.core.impl.AssocModelImpl> |
fetchAssocAssocs(long assocId) |
List<systems.dmx.core.impl.RelatedAssocModelImpl> |
fetchAssocRelatedAssocs(long assocId,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersAssocTypeUri) |
<M extends systems.dmx.core.model.RelatedObjectModel> |
fetchAssocRelatedObjects(long assocId,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersTypeUri) |
List<systems.dmx.core.impl.RelatedTopicModelImpl> |
fetchAssocRelatedTopics(long assocId,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersTopicTypeUri) |
List<systems.dmx.core.impl.AssocModelImpl> |
fetchAssocs(String assocTypeUri,
long topicId1,
long topicId2,
String roleTypeUri1,
String roleTypeUri2) |
List<systems.dmx.core.impl.AssocModelImpl> |
fetchAssocs(String key,
Object value) |
List<systems.dmx.core.impl.AssocModelImpl> |
fetchAssocsBetweenTopicAndAssoc(String assocTypeUri,
long topicId,
long assocId,
String topicRoleTypeUri,
String assocRoleTypeUri) |
List<systems.dmx.core.impl.AssocModelImpl> |
fetchAssocsByProperty(String propUri,
Object propValue) |
List<systems.dmx.core.impl.AssocModelImpl> |
fetchAssocsByPropertyRange(String propUri,
Number from,
Number to) |
systems.dmx.core.impl.DMXObjectModelImpl |
fetchObject(long id) |
List<systems.dmx.core.model.PlayerModel> |
fetchPlayerModels(long assocId) |
Object |
fetchProperty(long id,
String propUri) |
List<systems.dmx.core.impl.RelatedAssocModelImpl> |
fetchRelatedAssocs(long id,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersAssocTypeUri) |
List<systems.dmx.core.impl.RelatedTopicModelImpl> |
fetchRelatedTopics(long id,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersTopicTypeUri) |
systems.dmx.core.impl.TopicModelImpl |
fetchTopic(long topicId) |
List<systems.dmx.core.impl.AssocModelImpl> |
fetchTopicAssocs(long topicId) |
List<systems.dmx.core.impl.RelatedAssocModelImpl> |
fetchTopicRelatedAssocs(long topicId,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersAssocTypeUri) |
<M extends systems.dmx.core.model.RelatedObjectModel> |
fetchTopicRelatedObjects(long topicId,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersTypeUri) |
List<systems.dmx.core.impl.RelatedTopicModelImpl> |
fetchTopicRelatedTopics(long topicId,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersTopicTypeUri) |
List<systems.dmx.core.impl.TopicModelImpl> |
fetchTopics(String key,
Object value) |
List<systems.dmx.core.impl.TopicModelImpl> |
fetchTopicsByProperty(String propUri,
Object propValue) |
List<systems.dmx.core.impl.TopicModelImpl> |
fetchTopicsByPropertyRange(String propUri,
Number from,
Number to) |
Object |
getDatabaseVendorObject() |
Object |
getDatabaseVendorObject(long objectId) |
systems.dmx.core.impl.ModelFactoryImpl |
getModelFactory() |
boolean |
hasProperty(long id,
String propUri) |
void |
indexAssocProperty(long assocId,
String propUri,
Object propValue) |
void |
indexTopicProperty(long topicId,
String propUri,
Object propValue) |
List<systems.dmx.core.impl.AssocModelImpl> |
queryAssocs(String key,
Object value) |
List<systems.dmx.core.impl.AssocModelImpl> |
queryAssocsByRoleType(String roleTypeUri) |
List<systems.dmx.core.impl.AssocModelImpl> |
queryAssocsFulltext(String key,
Object value) |
List<systems.dmx.core.impl.TopicModelImpl> |
queryTopics(String key,
Object value) |
List<systems.dmx.core.impl.TopicModelImpl> |
queryTopicsFulltext(String key,
Object value) |
boolean |
setupRootNode() |
void |
shutdown() |
void |
storeAssoc(systems.dmx.core.impl.AssocModelImpl assocModel) |
void |
storeAssocProperty(long assocId,
String propUri,
Object propValue,
boolean addToIndex) |
void |
storeAssocTypeUri(long assocId,
String assocTypeUri) |
void |
storeAssocUri(long assocId,
String uri) |
void |
storeAssocValue(long assocId,
systems.dmx.core.model.SimpleValue value,
String indexKey,
boolean isHtmlValue) |
void |
storeRoleTypeUri(long assocId,
long playerId,
String roleTypeUri) |
void |
storeTopic(systems.dmx.core.impl.TopicModelImpl topicModel) |
void |
storeTopicProperty(long topicId,
String propUri,
Object propValue,
boolean addToIndex) |
void |
storeTopicTypeUri(long topicId,
String topicTypeUri) |
void |
storeTopicUri(long topicId,
String uri) |
void |
storeTopicValue(long topicId,
systems.dmx.core.model.SimpleValue value,
String indexKey,
boolean isHtmlValue) |
public systems.dmx.core.impl.TopicModelImpl fetchTopic(long topicId)
fetchTopic in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.TopicModelImpl> fetchTopics(String key, Object value)
fetchTopics in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.TopicModelImpl> queryTopics(String key, Object value)
queryTopics in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.TopicModelImpl> queryTopicsFulltext(String key, Object value)
queryTopicsFulltext in interface systems.dmx.core.storage.spi.DMXStoragepublic Iterable<systems.dmx.core.impl.TopicModelImpl> fetchAllTopics()
fetchAllTopics in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeTopic(systems.dmx.core.impl.TopicModelImpl topicModel)
storeTopic in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeTopicUri(long topicId,
String uri)
storeTopicUri in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeTopicTypeUri(long topicId,
String topicTypeUri)
storeTopicTypeUri in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeTopicValue(long topicId,
systems.dmx.core.model.SimpleValue value,
String indexKey,
boolean isHtmlValue)
storeTopicValue in interface systems.dmx.core.storage.spi.DMXStoragepublic void deleteTopic(long topicId)
deleteTopic in interface systems.dmx.core.storage.spi.DMXStoragepublic systems.dmx.core.impl.AssocModelImpl fetchAssoc(long assocId)
fetchAssoc in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.AssocModelImpl> fetchAssocs(String key, Object value)
fetchAssocs in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.AssocModelImpl> queryAssocs(String key, Object value)
queryAssocs in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.AssocModelImpl> queryAssocsFulltext(String key, Object value)
queryAssocsFulltext in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.AssocModelImpl> queryAssocsByRoleType(String roleTypeUri)
queryAssocsByRoleType in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.AssocModelImpl> fetchAssocs(String assocTypeUri, long topicId1, long topicId2, String roleTypeUri1, String roleTypeUri2)
fetchAssocs in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.AssocModelImpl> fetchAssocsBetweenTopicAndAssoc(String assocTypeUri, long topicId, long assocId, String topicRoleTypeUri, String assocRoleTypeUri)
fetchAssocsBetweenTopicAndAssoc in interface systems.dmx.core.storage.spi.DMXStoragepublic Iterable<systems.dmx.core.impl.AssocModelImpl> fetchAllAssocs()
fetchAllAssocs in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.model.PlayerModel> fetchPlayerModels(long assocId)
fetchPlayerModels in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeAssoc(systems.dmx.core.impl.AssocModelImpl assocModel)
storeAssoc in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeAssocUri(long assocId,
String uri)
storeAssocUri in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeAssocTypeUri(long assocId,
String assocTypeUri)
storeAssocTypeUri in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeAssocValue(long assocId,
systems.dmx.core.model.SimpleValue value,
String indexKey,
boolean isHtmlValue)
storeAssocValue in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeRoleTypeUri(long assocId,
long playerId,
String roleTypeUri)
storeRoleTypeUri in interface systems.dmx.core.storage.spi.DMXStoragepublic void deleteAssoc(long assocId)
deleteAssoc in interface systems.dmx.core.storage.spi.DMXStoragepublic systems.dmx.core.impl.DMXObjectModelImpl fetchObject(long id)
fetchObject in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.AssocModelImpl> fetchTopicAssocs(long topicId)
fetchTopicAssocs in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.AssocModelImpl> fetchAssocAssocs(long assocId)
fetchAssocAssocs in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.RelatedTopicModelImpl> fetchTopicRelatedTopics(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri)
fetchTopicRelatedTopics in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.RelatedAssocModelImpl> fetchTopicRelatedAssocs(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
fetchTopicRelatedAssocs in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.RelatedTopicModelImpl> fetchAssocRelatedTopics(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri)
fetchAssocRelatedTopics in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.RelatedAssocModelImpl> fetchAssocRelatedAssocs(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
fetchAssocRelatedAssocs in interface systems.dmx.core.storage.spi.DMXStoragepublic <M extends systems.dmx.core.model.RelatedObjectModel> List<M> fetchTopicRelatedObjects(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTypeUri)
fetchTopicRelatedObjects in interface systems.dmx.core.storage.spi.DMXStoragepublic <M extends systems.dmx.core.model.RelatedObjectModel> List<M> fetchAssocRelatedObjects(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTypeUri)
fetchAssocRelatedObjects in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.RelatedTopicModelImpl> fetchRelatedTopics(long id, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri)
fetchRelatedTopics in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.RelatedAssocModelImpl> fetchRelatedAssocs(long id, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
fetchRelatedAssocs in interface systems.dmx.core.storage.spi.DMXStoragepublic Object fetchProperty(long id, String propUri)
fetchProperty in interface systems.dmx.core.storage.spi.DMXStoragepublic boolean hasProperty(long id,
String propUri)
hasProperty in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.TopicModelImpl> fetchTopicsByProperty(String propUri, Object propValue)
fetchTopicsByProperty in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.TopicModelImpl> fetchTopicsByPropertyRange(String propUri, Number from, Number to)
fetchTopicsByPropertyRange in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.AssocModelImpl> fetchAssocsByProperty(String propUri, Object propValue)
fetchAssocsByProperty in interface systems.dmx.core.storage.spi.DMXStoragepublic List<systems.dmx.core.impl.AssocModelImpl> fetchAssocsByPropertyRange(String propUri, Number from, Number to)
fetchAssocsByPropertyRange in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeTopicProperty(long topicId,
String propUri,
Object propValue,
boolean addToIndex)
storeTopicProperty in interface systems.dmx.core.storage.spi.DMXStoragepublic void storeAssocProperty(long assocId,
String propUri,
Object propValue,
boolean addToIndex)
storeAssocProperty in interface systems.dmx.core.storage.spi.DMXStoragepublic void indexTopicProperty(long topicId,
String propUri,
Object propValue)
indexTopicProperty in interface systems.dmx.core.storage.spi.DMXStoragepublic void indexAssocProperty(long assocId,
String propUri,
Object propValue)
indexAssocProperty in interface systems.dmx.core.storage.spi.DMXStoragepublic void deleteTopicProperty(long topicId,
String propUri)
deleteTopicProperty in interface systems.dmx.core.storage.spi.DMXStoragepublic void deleteAssocProperty(long assocId,
String propUri)
deleteAssocProperty in interface systems.dmx.core.storage.spi.DMXStoragepublic systems.dmx.core.storage.spi.DMXTransaction beginTx()
beginTx in interface systems.dmx.core.storage.spi.DMXStoragepublic boolean setupRootNode()
setupRootNode in interface systems.dmx.core.storage.spi.DMXStoragepublic void shutdown()
shutdown in interface systems.dmx.core.storage.spi.DMXStoragepublic Object getDatabaseVendorObject()
getDatabaseVendorObject in interface systems.dmx.core.storage.spi.DMXStoragepublic Object getDatabaseVendorObject(long objectId)
getDatabaseVendorObject in interface systems.dmx.core.storage.spi.DMXStoragepublic systems.dmx.core.impl.ModelFactoryImpl getModelFactory()
getModelFactory in interface systems.dmx.core.storage.spi.DMXStorageCopyright © 2021. All rights reserved.