public class IndexFieldTypesService extends Object
| Constructor and Description |
|---|
IndexFieldTypesService(MongoConnection mongoConnection,
MongoJackObjectMapperProvider objectMapperProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String idOrIndexName) |
Optional<IndexFieldTypesDTO> |
get(String idOrIndexName) |
IndexFieldTypesDTO |
save(IndexFieldTypesDTO dto) |
Stream<IndexFieldTypesDTO> |
streamAll() |
Stream<IndexFieldTypesDTO> |
streamForFieldNames(Collection<String> fieldNames) |
Stream<IndexFieldTypesDTO> |
streamForFieldNamesAndIndices(Collection<String> fieldNames,
Collection<String> indexNames) |
Stream<IndexFieldTypesDTO> |
streamForIndexSet(String indexSetId) |
Optional<IndexFieldTypesDTO> |
upsert(IndexFieldTypesDTO dto) |
@Inject public IndexFieldTypesService(MongoConnection mongoConnection, MongoJackObjectMapperProvider objectMapperProvider)
public Optional<IndexFieldTypesDTO> get(String idOrIndexName)
public IndexFieldTypesDTO save(IndexFieldTypesDTO dto)
public Optional<IndexFieldTypesDTO> upsert(IndexFieldTypesDTO dto)
public void delete(String idOrIndexName)
public Stream<IndexFieldTypesDTO> streamForIndexSet(String indexSetId)
public Stream<IndexFieldTypesDTO> streamForFieldNames(Collection<String> fieldNames)
public Stream<IndexFieldTypesDTO> streamForFieldNamesAndIndices(Collection<String> fieldNames, Collection<String> indexNames)
public Stream<IndexFieldTypesDTO> streamAll()
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.