public class SolrPersistentEntitySchemaCreator extends Object implements ApplicationListener<MappingContextEvent<SolrPersistentEntity<?>,SolrPersistentProperty>>
| Modifier and Type | Class and Description |
|---|---|
static class |
SolrPersistentEntitySchemaCreator.Feature |
| Constructor and Description |
|---|
SolrPersistentEntitySchemaCreator(SolrServerFactory solrServerFactory) |
SolrPersistentEntitySchemaCreator(SolrServerFactory factory,
SolrSchemaWriter schemaWriter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterSchemaWrite(SolrPersistentEntity<?> entity,
SchemaDefinition schema) |
protected void |
beforeSchemaWrite(SolrPersistentEntity<?> entity,
SchemaDefinition schema) |
SolrPersistentEntitySchemaCreator |
disable(SolrPersistentEntitySchemaCreator.Feature feature) |
SolrPersistentEntitySchemaCreator |
enable(Collection<SolrPersistentEntitySchemaCreator.Feature> features) |
SolrPersistentEntitySchemaCreator |
enable(SolrPersistentEntitySchemaCreator.Feature feature) |
void |
onApplicationEvent(MappingContextEvent<SolrPersistentEntity<?>,SolrPersistentProperty> event) |
public SolrPersistentEntitySchemaCreator(SolrServerFactory solrServerFactory)
public SolrPersistentEntitySchemaCreator(SolrServerFactory factory, SolrSchemaWriter schemaWriter)
protected void beforeSchemaWrite(SolrPersistentEntity<?> entity, SchemaDefinition schema)
protected void afterSchemaWrite(SolrPersistentEntity<?> entity, SchemaDefinition schema)
public void onApplicationEvent(MappingContextEvent<SolrPersistentEntity<?>,SolrPersistentProperty> event)
onApplicationEvent in interface ApplicationListener<MappingContextEvent<SolrPersistentEntity<?>,SolrPersistentProperty>>public SolrPersistentEntitySchemaCreator enable(SolrPersistentEntitySchemaCreator.Feature feature)
public SolrPersistentEntitySchemaCreator enable(Collection<SolrPersistentEntitySchemaCreator.Feature> features)
public SolrPersistentEntitySchemaCreator disable(SolrPersistentEntitySchemaCreator.Feature feature)
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.