public class Neo4jDialect extends Object implements GridDialect
A Tuple is saved as a Node where the columns are converted into properties of the node.
An Association is converted into a Relationship identified by the AssociationKey and the
RowKey.
| Modifier and Type | Field and Description |
|---|---|
static String |
TABLE_PROPERTY
Contains the name of the property with the table name.
|
| Constructor and Description |
|---|
Neo4jDialect(Neo4jDatastoreProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
Association |
createAssociation(AssociationKey associationKey) |
Tuple |
createTuple(EntityKey key) |
Tuple |
createTupleAssociation(AssociationKey associationKey,
RowKey rowKey) |
Iterator<Tuple> |
executeBackendQuery(org.hibernate.loader.custom.CustomQuery customQuery,
EntityKeyMetadata[] metadatas) |
void |
forEachTuple(Consumer consumer,
EntityKeyMetadata... entityKeyMetadatas) |
Association |
getAssociation(AssociationKey associationKey,
AssociationContext associationContext) |
org.hibernate.dialect.lock.LockingStrategy |
getLockingStrategy(org.hibernate.persister.entity.Lockable lockable,
org.hibernate.LockMode lockMode) |
Tuple |
getTuple(EntityKey key,
TupleContext context) |
void |
nextValue(RowKey key,
org.hibernate.id.IntegralDataTypeHolder value,
int increment,
int initialValue) |
GridType |
overrideType(org.hibernate.type.Type type) |
void |
removeAssociation(AssociationKey key) |
void |
removeTuple(EntityKey key) |
void |
updateAssociation(Association association,
AssociationKey key) |
void |
updateTuple(Tuple tuple,
EntityKey key) |
public static final String TABLE_PROPERTY
public Neo4jDialect(Neo4jDatastoreProvider provider)
public org.hibernate.dialect.lock.LockingStrategy getLockingStrategy(org.hibernate.persister.entity.Lockable lockable,
org.hibernate.LockMode lockMode)
getLockingStrategy in interface GridDialectpublic Tuple getTuple(EntityKey key, TupleContext context)
getTuple in interface GridDialectpublic Tuple createTuple(EntityKey key)
createTuple in interface GridDialectpublic void updateTuple(Tuple tuple, EntityKey key)
updateTuple in interface GridDialectpublic void removeTuple(EntityKey key)
removeTuple in interface GridDialectpublic Tuple createTupleAssociation(AssociationKey associationKey, RowKey rowKey)
createTupleAssociation in interface GridDialectpublic Association getAssociation(AssociationKey associationKey, AssociationContext associationContext)
getAssociation in interface GridDialectpublic Association createAssociation(AssociationKey associationKey)
createAssociation in interface GridDialectpublic void updateAssociation(Association association, AssociationKey key)
updateAssociation in interface GridDialectpublic void nextValue(RowKey key, org.hibernate.id.IntegralDataTypeHolder value, int increment, int initialValue)
nextValue in interface GridDialectpublic GridType overrideType(org.hibernate.type.Type type)
overrideType in interface GridDialectpublic void removeAssociation(AssociationKey key)
removeAssociation in interface GridDialectpublic void forEachTuple(Consumer consumer, EntityKeyMetadata... entityKeyMetadatas)
forEachTuple in interface GridDialectpublic Iterator<Tuple> executeBackendQuery(org.hibernate.loader.custom.CustomQuery customQuery, EntityKeyMetadata[] metadatas)
executeBackendQuery in interface GridDialectCopyright © 2010-2013 Hibernate. All Rights Reserved.