public class EmbeddedNeo4jDialect extends BaseNeo4jDialect<org.hibernate.ogm.datastore.neo4j.embedded.dialect.impl.EmbeddedNeo4jEntityQueries,org.hibernate.ogm.datastore.neo4j.embedded.dialect.impl.EmbeddedNeo4jAssociationQueries>
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. The type of the relationship is the value returned by
AssociationKeyMetadata.getCollectionRole().
If the value of a property is set to null the property will be removed (Neo4j does not allow to store null values).
CONSTRAINT_VIOLATION_CODE, TUPLE_ALREADY_EXISTS_EXCEPTION_PATTERN| Constructor and Description |
|---|
EmbeddedNeo4jDialect(org.hibernate.ogm.datastore.neo4j.embedded.impl.EmbeddedNeo4jDatastoreProvider provider) |
buildNativeQuery, convert, createAssociation, entityKeyMetadata, getAssociationQueries, getDuplicateInsertPreventionStrategy, getEntityKey, getEntityQueries, getEntityQueries, getParameterMetadataBuilder, getParameters, getServiceRegistry, initializeAssociationQueries, injectServices, isPartOfRegularEmbedded, isStoredInEntityStructure, overrideType, sessionFactoryCreated, supportsSequences, usesNavigationalInformationForInverseSideOfAssociationsgetLockingStrategy, isInTheInsertionQueueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLockingStrategypublic EmbeddedNeo4jDialect(org.hibernate.ogm.datastore.neo4j.embedded.impl.EmbeddedNeo4jDatastoreProvider provider)
protected org.hibernate.ogm.datastore.neo4j.embedded.dialect.impl.EmbeddedNeo4jAssociationQueries createNeo4jAssociationQueries(EntityKeyMetadata ownerEntityKeyMetadata, AssociationKeyMetadata associationKeyMetadata)
protected org.hibernate.ogm.datastore.neo4j.embedded.dialect.impl.EmbeddedNeo4jEntityQueries createNeo4jEntityQueries(EntityKeyMetadata entityKeyMetadata, TupleTypeContext tupleTypeContext)
public Tuple getTuple(EntityKey key, OperationContext context)
public List<Tuple> getTuples(EntityKey[] keys, TupleContext tupleContext)
public Tuple createTuple(EntityKey key, OperationContext tupleContext)
public void insertOrUpdateTuple(EntityKey key, org.hibernate.ogm.entityentry.impl.TuplePointer tuplePointer, TupleContext tupleContext)
public void removeTuple(EntityKey key, TupleContext tupleContext)
protected EntityKeyMetadata entityKeyMetadata(EntityKeyMetadata keyMetadata, TupleTypeContext tupleTypeContext)
public Association getAssociation(AssociationKey associationKey, AssociationContext associationContext)
public void insertOrUpdateAssociation(AssociationKey key, Association association, AssociationContext associationContext)
public void removeAssociation(AssociationKey key, AssociationContext associationContext)
public void forEachTuple(ModelConsumer consumer, TupleTypeContext tupleTypeContext, EntityKeyMetadata entityKeyMetadata)
public Number nextValue(NextValueRequest request)
public ClosableIterator<Tuple> executeBackendQuery(BackendQuery<String> backendQuery, QueryParameters queryParameters, TupleContext tupleContext)
public int executeBackendUpdateQuery(BackendQuery<String> backendQuery, QueryParameters queryParameters, TupleContext tupleContext)
executeBackendUpdateQuery in interface QueryableGridDialect<String>executeBackendUpdateQuery in class BaseNeo4jDialect<org.hibernate.ogm.datastore.neo4j.embedded.dialect.impl.EmbeddedNeo4jEntityQueries,org.hibernate.ogm.datastore.neo4j.embedded.dialect.impl.EmbeddedNeo4jAssociationQueries>Copyright © 2010-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.