public class IndexItem extends Index
Elasticsearch document fragment containing extended index information, used in bulk index responses.
Constructor and Description |
---|
IndexItem() |
Modifier and Type | Method and Description |
---|---|
String |
getError() |
String |
getResult() |
Shards |
getShards() |
int |
getStatus() |
long |
getVersion() |
boolean |
isCreated() |
void |
setCreated(boolean created) |
void |
setError(com.fasterxml.jackson.databind.JsonNode error) |
void |
setResult(String result) |
void |
setShards(Shards shards) |
void |
setStatus(int status) |
void |
setVersion(long version) |
public long getVersion()
public void setVersion(long version)
public String getResult()
public void setResult(String result)
public boolean isCreated()
public void setCreated(boolean created)
public int getStatus()
public void setStatus(int status)
public String getError()
public void setError(com.fasterxml.jackson.databind.JsonNode error)
public Shards getShards()
public void setShards(Shards shards)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.