this.entityRemover = new EntityRemover(this.entityStateHandler, nodeTypeRepresentationStrategy, relationshipTypeRepresentationStrategy, graphDatabase);
if (this.resultConverter == null) {
this.resultConverter = new EntityResultConverter<Object, Object>(conversionService);
}
this.graphDatabase.setResultConverter(resultConverter);
this.cypherQueryExecutor = new CypherQueryExecutor(graphDatabase.queryEngine(resultConverter));
if (schemaIndexProvider == null) {
schemaIndexProvider = new SchemaIndexProvider(graphDatabase);
}
if (this.indexProvider == null) {
this.indexProvider = new IndexProviderImpl(graphDatabase);