}
@SuppressWarnings("unchecked")
public ContentBuilder value(Object value) {
if (!writer.write(value, generator)) {
throw new EsHadoopSerializationException(String.format("Cannot handle type [%s], instance [%s] using writer [%s]", value.getClass(), value, writer));
}
return this;
}