Class ElasticsearchJsonTest
- java.lang.Object
-
- org.apache.calcite.adapter.elasticsearch.ElasticsearchJsonTest
-
public class ElasticsearchJsonTest extends java.lang.Object
Testing correct parsing of JSON (elasticsearch) response.
-
-
Field Summary
Fields Modifier and Type Field Description private com.fasterxml.jackson.databind.ObjectMapper
mapper
-
Constructor Summary
Constructors Constructor Description ElasticsearchJsonTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aggBuckets1()
void
aggEmpty()
void
aggManyAggregations()
void
aggMultiBuckets()
void
aggMultiValues()
void
aggSingle1()
void
aggSingle2()
void
setUp()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
aggEmpty
public void aggEmpty() throws java.lang.Exception
- Throws:
java.lang.Exception
-
aggSingle1
public void aggSingle1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
aggMultiValues
public void aggMultiValues() throws java.lang.Exception
- Throws:
java.lang.Exception
-
aggSingle2
public void aggSingle2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
aggBuckets1
public void aggBuckets1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
aggManyAggregations
public void aggManyAggregations() throws java.lang.Exception
- Throws:
java.lang.Exception
-
aggMultiBuckets
public void aggMultiBuckets() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-