public class InfinispanDialect<EK,AK,ISK> extends BaseGridDialect
| Constructor and Description |
|---|
InfinispanDialect(InfinispanDatastoreProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
Association |
createAssociation(AssociationKey key,
AssociationContext associationContext) |
Tuple |
createTuple(EntityKey key,
TupleContext tupleContext) |
void |
forEachTuple(ModelConsumer consumer,
TupleContext tupleContext,
EntityKeyMetadata entityKeyMetadata) |
Association |
getAssociation(AssociationKey key,
AssociationContext associationContext) |
org.hibernate.dialect.lock.LockingStrategy |
getLockingStrategy(org.hibernate.persister.entity.Lockable lockable,
org.hibernate.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,
TupleContext tupleContext) |
void |
insertOrUpdateAssociation(AssociationKey key,
Association association,
AssociationContext associationContext) |
void |
insertOrUpdateTuple(EntityKey key,
Tuple tuple,
TupleContext tupleContext) |
boolean |
isStoredInEntityStructure(AssociationKeyMetadata associationKeyMetadata,
AssociationTypeContext associationTypeContext) |
Number |
nextValue(NextValueRequest request) |
void |
removeAssociation(AssociationKey key,
AssociationContext associationContext) |
void |
removeTuple(EntityKey key,
TupleContext tupleContext) |
getDuplicateInsertPreventionStrategy, overrideType, supportsSequencespublic InfinispanDialect(InfinispanDatastoreProvider provider)
public org.hibernate.dialect.lock.LockingStrategy getLockingStrategy(org.hibernate.persister.entity.Lockable lockable,
org.hibernate.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, TupleContext tupleContext)
public Tuple createTuple(EntityKey key, TupleContext tupleContext)
public void insertOrUpdateTuple(EntityKey key, Tuple tuple, 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, TupleContext tupleContext, EntityKeyMetadata entityKeyMetadata)
Copyright © 2010–2016 Hibernate. All rights reserved.