public class EmbeddedNeo4jDialect extends BaseNeo4jDialect<org.hibernate.ogm.datastore.neo4j.embedded.dialect.impl.EmbeddedNeo4jEntityQueries,org.hibernate.ogm.datastore.neo4j.embedded.dialect.impl.EmbeddedNeo4jAssociationQueries> implements StoredProcedureAwareGridDialect
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, PROCEDURE_CALL_FAILED_CODE, PROCEDURE_NOT_FOUND_CODE, TUPLE_ALREADY_EXISTS_EXCEPTION_PATTERN| Constructor and Description |
|---|
EmbeddedNeo4jDialect(org.hibernate.ogm.datastore.neo4j.embedded.impl.EmbeddedNeo4jDatastoreProvider provider) |
buildNativeQuery, buildProcedureQueryWithParams, 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, waitcreateAssociation, getDuplicateInsertPreventionStrategy, getLockingStrategy, isStoredInEntityStructure, overrideType, supportsSequences, usesNavigationalInformationForInverseSideOfAssociationspublic 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)
getTuple in interface GridDialectpublic List<Tuple> getTuples(EntityKey[] keys, TupleContext tupleContext)
getTuples in interface MultigetGridDialectpublic Tuple createTuple(EntityKey key, OperationContext tupleContext)
public void insertOrUpdateTuple(EntityKey key, org.hibernate.ogm.entityentry.impl.TuplePointer tuplePointer, TupleContext tupleContext)
insertOrUpdateTuple in interface GridDialectpublic void removeTuple(EntityKey key, TupleContext tupleContext)
removeTuple in interface GridDialectprotected EntityKeyMetadata entityKeyMetadata(EntityKeyMetadata keyMetadata, TupleTypeContext tupleTypeContext)
public Association getAssociation(AssociationKey associationKey, AssociationContext associationContext)
getAssociation in interface GridDialectpublic void insertOrUpdateAssociation(AssociationKey key, Association association, AssociationContext associationContext)
insertOrUpdateAssociation in interface GridDialectpublic void removeAssociation(AssociationKey key, AssociationContext associationContext)
removeAssociation in interface GridDialectpublic void forEachTuple(ModelConsumer consumer, TupleTypeContext tupleTypeContext, EntityKeyMetadata entityKeyMetadata)
forEachTuple in interface GridDialectpublic ClosableIterator<Tuple> callStoredProcedure(String storedProcedureName, ProcedureQueryParameters queryParameters, TupleContext tupleContext)
callStoredProcedure in interface StoredProcedureAwareGridDialectpublic Number nextValue(NextValueRequest request)
nextValue in interface GridDialectpublic ClosableIterator<Tuple> executeBackendQuery(BackendQuery<String> backendQuery, QueryParameters queryParameters, TupleContext tupleContext)
executeBackendQuery in interface QueryableGridDialect<String>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.