org.elasticsearch.index.mapper
Class ObjectMappers
java.lang.Object
org.elasticsearch.index.mapper.ObjectMappers
- All Implemented Interfaces:
- java.lang.Iterable<ObjectMapper>
@Immutable
public class ObjectMappers
- extends java.lang.Object
- implements java.lang.Iterable<ObjectMapper>
A holder for several ObjectMapper
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectMappers
public ObjectMappers()
ObjectMappers
public ObjectMappers(ObjectMapper objectMapper)
ObjectMappers
public ObjectMappers(ObjectMapper[] objectMappers)
ObjectMappers
public ObjectMappers(org.elasticsearch.common.collect.ImmutableList<ObjectMapper> objectMappers)
mapper
public ObjectMapper mapper()
isEmpty
public boolean isEmpty()
mappers
public org.elasticsearch.common.collect.ImmutableList<ObjectMapper> mappers()
iterator
public org.elasticsearch.common.collect.UnmodifiableIterator<ObjectMapper> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<ObjectMapper>
concat
public ObjectMappers concat(ObjectMapper mapper)
- Concats and returns a new
ObjectMappers
.
concat
public ObjectMappers concat(ObjectMappers mappers)
- Concats and returns a new
ObjectMappers
.
remove
public ObjectMappers remove(java.lang.Iterable<ObjectMapper> mappers)
remove
public ObjectMappers remove(ObjectMapper mapper)