Package | Description |
---|---|
org.elasticsearch.common.inject.multibindings |
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings-2.0.jar . |
org.elasticsearch.index.query |
Modifier and Type | Method and Description |
---|---|
static <K,V> MapBinder<K,V> |
MapBinder.newMapBinder(Binder binder,
Class<K> keyType,
Class<V> valueType)
Returns a new mapbinder that collects entries of
keyType /valueType in a
Map that is itself bound with no binding annotation. |
static <K,V> MapBinder<K,V> |
MapBinder.newMapBinder(Binder binder,
Class<K> keyType,
Class<V> valueType,
Annotation annotation)
Returns a new mapbinder that collects entries of
keyType /valueType in a
Map that is itself bound with annotation . |
static <K,V> MapBinder<K,V> |
MapBinder.newMapBinder(Binder binder,
Class<K> keyType,
Class<V> valueType,
Class<? extends Annotation> annotationType)
Returns a new mapbinder that collects entries of
keyType /valueType in a
Map that is itself bound with annotationType . |
static <K,V> MapBinder<K,V> |
MapBinder.newMapBinder(Binder binder,
TypeLiteral<K> keyType,
TypeLiteral<V> valueType)
Returns a new mapbinder that collects entries of
keyType /valueType in a
Map that is itself bound with no binding annotation. |
static <K,V> MapBinder<K,V> |
MapBinder.newMapBinder(Binder binder,
TypeLiteral<K> keyType,
TypeLiteral<V> valueType,
Annotation annotation)
Returns a new mapbinder that collects entries of
keyType /valueType in a
Map that is itself bound with annotation . |
static <K,V> MapBinder<K,V> |
MapBinder.newMapBinder(Binder binder,
TypeLiteral<K> keyType,
TypeLiteral<V> valueType,
Class<? extends Annotation> annotationType)
Returns a new mapbinder that collects entries of
keyType /valueType in a
Map that is itself bound with annotationType . |
Modifier and Type | Method and Description |
---|---|
MapBinder<String,QueryParserFactory> |
IndexQueryParserModule.QueryParsersProcessor.XContentQueryParsersBindings.binder() |
MapBinder<String,FilterParserFactory> |
IndexQueryParserModule.QueryParsersProcessor.XContentFilterParsersBindings.binder() |
Constructor and Description |
---|
XContentFilterParsersBindings(MapBinder<String,FilterParserFactory> binder,
Map<String,Settings> groupSettings) |
XContentQueryParsersBindings(MapBinder<String,QueryParserFactory> binder,
Map<String,Settings> groupSettings) |
Copyright © 2009–2015. All rights reserved.