public class Neo4jStorage extends Object implements de.deepamehta.core.storage.spi.DeepaMehtaStorage
| Modifier and Type | Method and Description |
|---|---|
de.deepamehta.core.storage.spi.DeepaMehtaTransaction |
beginTx() |
void |
deleteAssociation(long assocId) |
void |
deleteAssociationProperty(long assocId,
String propUri) |
void |
deleteTopic(long topicId) |
void |
deleteTopicProperty(long topicId,
String propUri) |
Iterator<de.deepamehta.core.model.AssociationModel> |
fetchAllAssociations() |
Iterator<de.deepamehta.core.model.TopicModel> |
fetchAllTopics() |
de.deepamehta.core.model.AssociationModel |
fetchAssociation(long assocId) |
de.deepamehta.core.model.AssociationModel |
fetchAssociation(String key,
Object value) |
List<de.deepamehta.core.model.AssociationModel> |
fetchAssociationAssociations(long assocId) |
List<de.deepamehta.core.model.RelatedAssociationModel> |
fetchAssociationRelatedAssociations(long assocId,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersAssocTypeUri) |
List<de.deepamehta.core.model.RelatedTopicModel> |
fetchAssociationRelatedTopics(long assocId,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersTopicTypeUri) |
List<de.deepamehta.core.model.AssociationModel> |
fetchAssociations(String assocTypeUri,
long topicId1,
long topicId2,
String roleTypeUri1,
String roleTypeUri2) |
List<de.deepamehta.core.model.AssociationModel> |
fetchAssociations(String key,
Object value) |
List<de.deepamehta.core.model.AssociationModel> |
fetchAssociationsBetweenTopicAndAssociation(String assocTypeUri,
long topicId,
long assocId,
String topicRoleTypeUri,
String assocRoleTypeUri) |
List<de.deepamehta.core.model.AssociationModel> |
fetchAssociationsByProperty(String propUri,
Object propValue) |
List<de.deepamehta.core.model.AssociationModel> |
fetchAssociationsByPropertyRange(String propUri,
Number from,
Number to) |
de.deepamehta.core.model.DeepaMehtaObjectModel |
fetchObject(long id) |
long[] |
fetchPlayerIds(long assocId) |
Object |
fetchProperty(long id,
String propUri) |
List<de.deepamehta.core.model.RelatedAssociationModel> |
fetchRelatedAssociations(long id,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersAssocTypeUri) |
List<de.deepamehta.core.model.RelatedTopicModel> |
fetchRelatedTopics(long id,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersTopicTypeUri) |
de.deepamehta.core.model.TopicModel |
fetchTopic(long topicId) |
de.deepamehta.core.model.TopicModel |
fetchTopic(String key,
Object value) |
List<de.deepamehta.core.model.AssociationModel> |
fetchTopicAssociations(long topicId) |
List<de.deepamehta.core.model.RelatedAssociationModel> |
fetchTopicRelatedAssociations(long topicId,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersAssocTypeUri) |
List<de.deepamehta.core.model.RelatedTopicModel> |
fetchTopicRelatedTopics(long topicId,
String assocTypeUri,
String myRoleTypeUri,
String othersRoleTypeUri,
String othersTopicTypeUri) |
List<de.deepamehta.core.model.TopicModel> |
fetchTopics(String key,
Object value) |
List<de.deepamehta.core.model.TopicModel> |
fetchTopicsByProperty(String propUri,
Object propValue) |
List<de.deepamehta.core.model.TopicModel> |
fetchTopicsByPropertyRange(String propUri,
Number from,
Number to) |
Object |
getDatabaseVendorObject() |
Object |
getDatabaseVendorObject(long objectId) |
de.deepamehta.core.service.ModelFactory |
getModelFactory() |
boolean |
hasProperty(long id,
String propUri) |
void |
indexAssociationProperty(long assocId,
String propUri,
Object propValue) |
void |
indexAssociationValue(long assocId,
de.deepamehta.core.model.IndexMode indexMode,
String indexKey,
de.deepamehta.core.model.SimpleValue indexValue) |
void |
indexTopicProperty(long topicId,
String propUri,
Object propValue) |
void |
indexTopicValue(long topicId,
de.deepamehta.core.model.IndexMode indexMode,
String indexKey,
de.deepamehta.core.model.SimpleValue indexValue) |
List<de.deepamehta.core.model.TopicModel> |
queryTopics(Object value) |
List<de.deepamehta.core.model.TopicModel> |
queryTopics(String key,
Object value) |
boolean |
setupRootNode() |
void |
shutdown() |
void |
storeAssociation(de.deepamehta.core.model.AssociationModel assocModel) |
void |
storeAssociationProperty(long assocId,
String propUri,
Object propValue,
boolean addToIndex) |
void |
storeAssociationTypeUri(long assocId,
String assocTypeUri) |
void |
storeAssociationUri(long assocId,
String uri) |
void |
storeAssociationValue(long assocId,
de.deepamehta.core.model.SimpleValue value,
List<de.deepamehta.core.model.IndexMode> indexModes,
String indexKey,
de.deepamehta.core.model.SimpleValue indexValue) |
void |
storeRoleTypeUri(long assocId,
long playerId,
String roleTypeUri) |
void |
storeTopic(de.deepamehta.core.model.TopicModel 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,
de.deepamehta.core.model.SimpleValue value,
List<de.deepamehta.core.model.IndexMode> indexModes,
String indexKey,
de.deepamehta.core.model.SimpleValue indexValue) |
public de.deepamehta.core.model.TopicModel fetchTopic(long topicId)
fetchTopic in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic de.deepamehta.core.model.TopicModel fetchTopic(String key, Object value)
fetchTopic in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.TopicModel> fetchTopics(String key, Object value)
fetchTopics in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.TopicModel> queryTopics(Object value)
queryTopics in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.TopicModel> queryTopics(String key, Object value)
queryTopics in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic Iterator<de.deepamehta.core.model.TopicModel> fetchAllTopics()
fetchAllTopics in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeTopic(de.deepamehta.core.model.TopicModel topicModel)
storeTopic in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeTopicUri(long topicId,
String uri)
storeTopicUri in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeTopicTypeUri(long topicId,
String topicTypeUri)
storeTopicTypeUri in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeTopicValue(long topicId,
de.deepamehta.core.model.SimpleValue value,
List<de.deepamehta.core.model.IndexMode> indexModes,
String indexKey,
de.deepamehta.core.model.SimpleValue indexValue)
storeTopicValue in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void indexTopicValue(long topicId,
de.deepamehta.core.model.IndexMode indexMode,
String indexKey,
de.deepamehta.core.model.SimpleValue indexValue)
indexTopicValue in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void deleteTopic(long topicId)
deleteTopic in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic de.deepamehta.core.model.AssociationModel fetchAssociation(long assocId)
fetchAssociation in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic de.deepamehta.core.model.AssociationModel fetchAssociation(String key, Object value)
fetchAssociation in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.AssociationModel> fetchAssociations(String key, Object value)
fetchAssociations in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.AssociationModel> fetchAssociations(String assocTypeUri, long topicId1, long topicId2, String roleTypeUri1, String roleTypeUri2)
fetchAssociations in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.AssociationModel> fetchAssociationsBetweenTopicAndAssociation(String assocTypeUri, long topicId, long assocId, String topicRoleTypeUri, String assocRoleTypeUri)
fetchAssociationsBetweenTopicAndAssociation in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic Iterator<de.deepamehta.core.model.AssociationModel> fetchAllAssociations()
fetchAllAssociations in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic long[] fetchPlayerIds(long assocId)
fetchPlayerIds in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeAssociation(de.deepamehta.core.model.AssociationModel assocModel)
storeAssociation in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeAssociationUri(long assocId,
String uri)
storeAssociationUri in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeAssociationTypeUri(long assocId,
String assocTypeUri)
storeAssociationTypeUri in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeAssociationValue(long assocId,
de.deepamehta.core.model.SimpleValue value,
List<de.deepamehta.core.model.IndexMode> indexModes,
String indexKey,
de.deepamehta.core.model.SimpleValue indexValue)
storeAssociationValue in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void indexAssociationValue(long assocId,
de.deepamehta.core.model.IndexMode indexMode,
String indexKey,
de.deepamehta.core.model.SimpleValue indexValue)
indexAssociationValue in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeRoleTypeUri(long assocId,
long playerId,
String roleTypeUri)
storeRoleTypeUri in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void deleteAssociation(long assocId)
deleteAssociation in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic de.deepamehta.core.model.DeepaMehtaObjectModel fetchObject(long id)
fetchObject in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.AssociationModel> fetchTopicAssociations(long topicId)
fetchTopicAssociations in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.AssociationModel> fetchAssociationAssociations(long assocId)
fetchAssociationAssociations in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.RelatedTopicModel> fetchTopicRelatedTopics(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri)
fetchTopicRelatedTopics in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.RelatedAssociationModel> fetchTopicRelatedAssociations(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
fetchTopicRelatedAssociations in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.RelatedTopicModel> fetchAssociationRelatedTopics(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri)
fetchAssociationRelatedTopics in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.RelatedAssociationModel> fetchAssociationRelatedAssociations(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
fetchAssociationRelatedAssociations in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.RelatedTopicModel> fetchRelatedTopics(long id, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri)
fetchRelatedTopics in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.RelatedAssociationModel> fetchRelatedAssociations(long id, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
fetchRelatedAssociations in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic Object fetchProperty(long id, String propUri)
fetchProperty in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic boolean hasProperty(long id,
String propUri)
hasProperty in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.TopicModel> fetchTopicsByProperty(String propUri, Object propValue)
fetchTopicsByProperty in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.TopicModel> fetchTopicsByPropertyRange(String propUri, Number from, Number to)
fetchTopicsByPropertyRange in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.AssociationModel> fetchAssociationsByProperty(String propUri, Object propValue)
fetchAssociationsByProperty in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic List<de.deepamehta.core.model.AssociationModel> fetchAssociationsByPropertyRange(String propUri, Number from, Number to)
fetchAssociationsByPropertyRange in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeTopicProperty(long topicId,
String propUri,
Object propValue,
boolean addToIndex)
storeTopicProperty in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void storeAssociationProperty(long assocId,
String propUri,
Object propValue,
boolean addToIndex)
storeAssociationProperty in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void indexTopicProperty(long topicId,
String propUri,
Object propValue)
indexTopicProperty in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void indexAssociationProperty(long assocId,
String propUri,
Object propValue)
indexAssociationProperty in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void deleteTopicProperty(long topicId,
String propUri)
deleteTopicProperty in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void deleteAssociationProperty(long assocId,
String propUri)
deleteAssociationProperty in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic de.deepamehta.core.storage.spi.DeepaMehtaTransaction beginTx()
beginTx in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic boolean setupRootNode()
setupRootNode in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic void shutdown()
shutdown in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic Object getDatabaseVendorObject()
getDatabaseVendorObject in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic Object getDatabaseVendorObject(long objectId)
getDatabaseVendorObject in interface de.deepamehta.core.storage.spi.DeepaMehtaStoragepublic de.deepamehta.core.service.ModelFactory getModelFactory()
getModelFactory in interface de.deepamehta.core.storage.spi.DeepaMehtaStorageCopyright © 2016. All rights reserved.