# getAsStructuredMap no longer available in Elasticsearch 6.2.4

**URL:** <https://discuss.elastic.co/t/getasstructuredmap-no-longer-available-in-elasticsearch-6-2-4/134689>\
**Category:** Elasticsearch\
**Created:** [June 5, 2018, 8:27pm UTC](https://discuss.elastic.co/t/getasstructuredmap-no-longer-available-in-elasticsearch-6-2-4/134689 "2018-06-05T20:27:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prajakta\_Dhaygude](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@Prajakta\_Dhaygude](https://discuss.elastic.co/u/Prajakta_Dhaygude)\
**Post date:** [June 5, 2018, 8:27pm UTC](https://discuss.elastic.co/t/getasstructuredmap-no-longer-available-in-elasticsearch-6-2-4/134689/1 "2018-06-05T20:27:18Z")

</div>

Hi,

I am upgrading our Java API to Elasticsearch 6.2.4. I see following methods are removed between version 6.0.x and 6.1.x -

org.elasticsearch.common.settings.Settings  
public java.util.Map\<java.lang.String,java.lang.String\> getAsMap()  
public java.util.Map\<java.lang.String,java.lang.Object\> getAsStructuredMap()

In 6.2.4 these method are no longer available.

What is the the alternative way to handle this?

Map\<String, Object\> params = settings.getAsStructuredMap();

My code uses above code line in a method to extract the data from oracle using JDBCImporter.

Thanks,  
Prajakta

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 3, 2018, 8:27pm UTC](https://discuss.elastic.co/t/getasstructuredmap-no-longer-available-in-elasticsearch-6-2-4/134689/2 "2018-07-03T20:27:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
