org.elasticsearch.index.mapper
Class ObjectMappers
java.lang.Object
org.elasticsearch.index.mapper.ObjectMappers
- All Implemented Interfaces:
- Iterable<ObjectMapper>
public class ObjectMappers
- extends Object
- implements 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(com.google.common.collect.ImmutableList<ObjectMapper> objectMappers)
mapper
public ObjectMapper mapper()
isEmpty
public boolean isEmpty()
mappers
public com.google.common.collect.ImmutableList<ObjectMapper> mappers()
iterator
public com.google.common.collect.UnmodifiableIterator<ObjectMapper> iterator()
- Specified by:
iterator
in interface 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(Iterable<ObjectMapper> mappers)
remove
public ObjectMappers remove(ObjectMapper mapper)
Copyright © 2009-2012. All Rights Reserved.