public class DataReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_ELEMENT |
static String |
DOCUMENT_ELEMENT |
static String |
DOCUMENTS_ELEMENT |
static String |
INDEX_ELEMENT |
static String |
INDEX_ID_ELEMENT |
static String |
INDEX_NAME_ELEMENT |
static String |
INDEX_TYPE_ELEMENT |
| Constructor and Description |
|---|
DataReader(org.elasticsearch.client.Client client) |
| Modifier and Type | Method and Description |
|---|---|
static List<Map<String,Object>> |
getDocuments(InputStream data) |
void |
read(InputStream data) |
public static final String DOCUMENTS_ELEMENT
public static final String DOCUMENT_ELEMENT
public static final String DATA_ELEMENT
public static final String INDEX_ELEMENT
public static final String INDEX_NAME_ELEMENT
public static final String INDEX_TYPE_ELEMENT
public static final String INDEX_ID_ELEMENT
public void read(InputStream data)
public static List<Map<String,Object>> getDocuments(InputStream data) throws IOException
IOExceptionCopyright © 2017 JBoss by Red Hat. All Rights Reserved.