public interface IndexableObject
Modifier and Type | Method and Description |
---|---|
String |
build() |
String |
id()
Get the ID
|
IndexableObject |
id(String id)
Set the ID
|
IndexableObject |
ignoreNull(boolean ignorenull) |
String |
index()
Get the index
|
IndexableObject |
index(String index)
Set the index
|
boolean |
isEmpty() |
String |
meta(String key) |
IndexableObject |
meta(String key,
String value)
Set meta data of this indexable object
|
String |
optype()
Get the operation type
|
IndexableObject |
optype(String optype)
Set the operation type, either "index", "create", or "delete"
|
Map<String,Object> |
source() |
IndexableObject |
source(Map<String,Object> source) |
String |
type()
Get the type
|
IndexableObject |
type(String type)
Set the type
|
IndexableObject optype(String optype)
optype
- the operaion typeIndexableObject index(String index)
index
- the indexIndexableObject type(String type)
type
- the typeIndexableObject id(String id)
id
- the IDIndexableObject meta(String key, String value)
key
- the meta data keyvalue
- the meta data valueIndexableObject source(Map<String,Object> source)
String build() throws IOException
IOException
boolean isEmpty()
IndexableObject ignoreNull(boolean ignorenull)
elasticsearch-river-jdbc