@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Repeatable(value=LoadMultipleEsData.class) public @interface LoadEsData
@LoadEsData
is a repeatable annotation
that is used to define which Elasticsearch data to load into which index and how.Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<?> |
esEntityClass
mapping class of the data to be loaded into Elasticsearch
|
java.lang.String |
location
path to the file that contains the data
|
Modifier and Type | Optional Element and Description |
---|---|
EsDataFormat |
format
Format of the data to load.
|
long |
nbMaxItems
maximum number of items to load
|
long |
nbSkipItems
number of items to skip
|
public abstract java.lang.Class<?> esEntityClass
public abstract java.lang.String location
public abstract long nbMaxItems
public abstract long nbSkipItems
public abstract EsDataFormat format
location()
.