public class InfinispanDialect<EK,AK,ISK> extends BaseGridDialect
| Constructor and Description |
|---|
InfinispanDialect(org.hibernate.ogm.datastore.infinispan.impl.InfinispanEmbeddedDatastoreProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
Association |
createAssociation(AssociationKey key,
AssociationContext associationContext) |
Tuple |
createTuple(EntityKey key,
OperationContext operationContext) |
void |
forEachTuple(ModelConsumer consumer,
TupleTypeContext tupleTypeContext,
EntityKeyMetadata entityKeyMetadata) |
Association |
getAssociation(AssociationKey key,
AssociationContext associationContext) |
LockingStrategy |
getLockingStrategy(Lockable lockable,
LockMode lockMode)
Get a strategy instance which knows how to acquire a database-level lock
of the specified/mode for this dialect.
|
Tuple |
getTuple(EntityKey key,
OperationContext operationContext) |
void |
insertOrUpdateAssociation(AssociationKey key,
Association association,
AssociationContext associationContext) |
void |
insertOrUpdateTuple(EntityKey key,
org.hibernate.ogm.entityentry.impl.TuplePointer tuplePointer,
TupleContext tupleContext) |
boolean |
isStoredInEntityStructure(AssociationKeyMetadata associationKeyMetadata,
AssociationTypeContext associationTypeContext) |
Number |
nextValue(NextValueRequest request) |
void |
removeAssociation(AssociationKey key,
AssociationContext associationContext) |
void |
removeTuple(EntityKey key,
TupleContext tupleContext) |
boolean |
supportsSequences()
With the introduction of Infinispan clustered counter
SequenceGenerator strategy is now supported
|
getDuplicateInsertPreventionStrategy, isInTheInsertionQueue, overrideType, usesNavigationalInformationForInverseSideOfAssociationspublic InfinispanDialect(org.hibernate.ogm.datastore.infinispan.impl.InfinispanEmbeddedDatastoreProvider provider)
public LockingStrategy getLockingStrategy(Lockable lockable, LockMode lockMode)
getLockingStrategy in interface GridDialectgetLockingStrategy in class BaseGridDialectlockable - The persister for the entity to be locked.lockMode - The type of lock to be acquired.public Tuple getTuple(EntityKey key, OperationContext operationContext)
public Tuple createTuple(EntityKey key, OperationContext operationContext)
public void insertOrUpdateTuple(EntityKey key, org.hibernate.ogm.entityentry.impl.TuplePointer tuplePointer, TupleContext tupleContext)
public void removeTuple(EntityKey key, TupleContext tupleContext)
public Association getAssociation(AssociationKey key, AssociationContext associationContext)
public Association createAssociation(AssociationKey key, AssociationContext associationContext)
public void insertOrUpdateAssociation(AssociationKey key, Association association, AssociationContext associationContext)
public void removeAssociation(AssociationKey key, AssociationContext associationContext)
public boolean isStoredInEntityStructure(AssociationKeyMetadata associationKeyMetadata, AssociationTypeContext associationTypeContext)
public Number nextValue(NextValueRequest request)
public void forEachTuple(ModelConsumer consumer, TupleTypeContext tupleTypeContext, EntityKeyMetadata entityKeyMetadata)
public boolean supportsSequences()
supportsSequences in interface GridDialectsupportsSequences in class BaseGridDialectCopyright © 2010-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.