public class InfinispanDialect 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) |
Tuple |
createTupleAssociation(AssociationKey associationKey,
RowKey rowKey) |
void |
forEachTuple(Consumer consumer,
EntityKeyMetadata... entityKeyMetadatas) |
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) |
boolean |
isStoredInEntityStructure(AssociationKey associationKey,
AssociationContext associationContext) |
Number |
nextValue(NextValueRequest request) |
void |
removeAssociation(AssociationKey key,
AssociationContext associationContext) |
void |
removeTuple(EntityKey key,
TupleContext tupleContext) |
boolean |
supportsSequences() |
void |
updateAssociation(Association association,
AssociationKey key,
AssociationContext associationContext) |
void |
updateTuple(Tuple tuple,
EntityKey key,
TupleContext tupleContext) |
overrideTypepublic InfinispanDialect(InfinispanDatastoreProvider provider)
public org.hibernate.dialect.lock.LockingStrategy getLockingStrategy(org.hibernate.persister.entity.Lockable lockable,
org.hibernate.LockMode lockMode)
lockable - 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 updateTuple(Tuple tuple, EntityKey key, 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 updateAssociation(Association association, AssociationKey key, AssociationContext associationContext)
public void removeAssociation(AssociationKey key, AssociationContext associationContext)
public Tuple createTupleAssociation(AssociationKey associationKey, RowKey rowKey)
public boolean isStoredInEntityStructure(AssociationKey associationKey, AssociationContext associationContext)
public Number nextValue(NextValueRequest request)
public boolean supportsSequences()
public void forEachTuple(Consumer consumer, EntityKeyMetadata... entityKeyMetadatas)
Copyright © 2010-2014 Hibernate. All Rights Reserved.