public class InfinispanDialect extends Object implements GridDialect
| 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) |
ClosableIterator<Tuple> |
executeBackendQuery(BackendCustomQuery customQuery,
org.hibernate.engine.spi.QueryParameters queryParameters) |
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.
|
ParameterMetadataBuilder |
getParameterMetadataBuilder() |
Tuple |
getTuple(EntityKey key,
TupleContext tupleContext) |
boolean |
isStoredInEntityStructure(AssociationKey associationKey,
AssociationContext associationContext) |
void |
nextValue(RowKey key,
org.hibernate.id.IntegralDataTypeHolder value,
int increment,
int initialValue) |
GridType |
overrideType(org.hibernate.type.Type type) |
void |
removeAssociation(AssociationKey key,
AssociationContext associationContext) |
void |
removeTuple(EntityKey key,
TupleContext tupleContext) |
void |
updateAssociation(Association association,
AssociationKey key,
AssociationContext associationContext) |
void |
updateTuple(Tuple tuple,
EntityKey key,
TupleContext tupleContext) |
public InfinispanDialect(InfinispanDatastoreProvider provider)
public org.hibernate.dialect.lock.LockingStrategy getLockingStrategy(org.hibernate.persister.entity.Lockable lockable,
org.hibernate.LockMode lockMode)
getLockingStrategy in interface GridDialectlockable - The persister for the entity to be locked.lockMode - The type of lock to be acquired.public Tuple getTuple(EntityKey key, TupleContext tupleContext)
getTuple in interface GridDialectpublic Tuple createTuple(EntityKey key, TupleContext tupleContext)
createTuple in interface GridDialectpublic void updateTuple(Tuple tuple, EntityKey key, TupleContext tupleContext)
updateTuple in interface GridDialectpublic void removeTuple(EntityKey key, TupleContext tupleContext)
removeTuple in interface GridDialectpublic Association getAssociation(AssociationKey key, AssociationContext associationContext)
getAssociation in interface GridDialectpublic Association createAssociation(AssociationKey key, AssociationContext associationContext)
createAssociation in interface GridDialectpublic void updateAssociation(Association association, AssociationKey key, AssociationContext associationContext)
updateAssociation in interface GridDialectpublic void removeAssociation(AssociationKey key, AssociationContext associationContext)
removeAssociation in interface GridDialectpublic Tuple createTupleAssociation(AssociationKey associationKey, RowKey rowKey)
createTupleAssociation in interface GridDialectpublic boolean isStoredInEntityStructure(AssociationKey associationKey, AssociationContext associationContext)
isStoredInEntityStructure in interface GridDialectpublic void nextValue(RowKey key, org.hibernate.id.IntegralDataTypeHolder value, int increment, int initialValue)
nextValue in interface GridDialectpublic GridType overrideType(org.hibernate.type.Type type)
overrideType in interface GridDialectpublic ClosableIterator<Tuple> executeBackendQuery(BackendCustomQuery customQuery, org.hibernate.engine.spi.QueryParameters queryParameters)
executeBackendQuery in interface GridDialectpublic void forEachTuple(Consumer consumer, EntityKeyMetadata... entityKeyMetadatas)
forEachTuple in interface GridDialectpublic ParameterMetadataBuilder getParameterMetadataBuilder()
getParameterMetadataBuilder in interface GridDialectCopyright © 2010-2014 Hibernate. All Rights Reserved.