public class CouchbasePersistentEntityIndexCreator extends Object implements ApplicationListener<MappingContextEvent<?,?>>
| Constructor and Description |
|---|
CouchbasePersistentEntityIndexCreator(CouchbaseMappingContext mappingContext,
CouchbaseOperations operations) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasSeen(CouchbasePersistentEntity<?> entity) |
boolean |
isIndexCreatorFor(MappingContext<?,?> context)
Returns whether the current index creator was registered for the given
MappingContext. |
void |
onApplicationEvent(MappingContextEvent<?,?> event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforPayloadpublic CouchbasePersistentEntityIndexCreator(CouchbaseMappingContext mappingContext, CouchbaseOperations operations)
public void onApplicationEvent(MappingContextEvent<?,?> event)
onApplicationEvent in interface ApplicationListener<MappingContextEvent<?,?>>public boolean isIndexCreatorFor(MappingContext<?,?> context)
MappingContext.public boolean hasSeen(CouchbasePersistentEntity<?> entity)
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.