this.errorHandler = state.getErrorHandler();
this.instanceInitializer = state.getInstanceInitializer();
this.timeoutExceptionFactory = state.getDefaultTimeoutExceptionFactory();
this.timingSource = state.getTimingSource();
this.mapping = state.getProgrammaticMapping();
this.statistics = new StatisticsImpl( this );
this.indexMetadataIsComplete = state.isIndexMetadataComplete();
this.isIdProvidedImplicit = state.isIdProvidedImplicit();
this.indexManagerFactory = state.getIndexManagerFactory();
boolean statsEnabled = ConfigurationParseHelper.getBooleanValue(
configurationProperties, Environment.GENERATE_STATS, false