All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lordofthejars.nosqlunit.elasticsearch.DefaultElasticsearchInsertionStrategy Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.lordofthejars.nosqlunit.elasticsearch;

import java.io.InputStream;

import com.lordofthejars.nosqlunit.elasticsearch.parser.DataReader;

public class DefaultElasticsearchInsertionStrategy implements ElasticsearchInsertionStrategy {

	@Override
	public void insert(ElasticsearchConnectionCallback connection, InputStream dataset) throws Throwable {
		
		DataReader dataReader = new DataReader(connection.nodeClient());
		dataReader.read(dataset);
		
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy