public MemoryFeatureWriter(MemoryState state, Query query) throws IOException { this.state = state; this.typeName = state.getEntry().getName(); this.featureType = state.getFeatureType(); MemoryEntry entry = state.getEntry(); iterator = entry.getMemory().values().iterator(); }