public class IndexFieldTypesService extends Object
| Constructor and Description |
|---|
IndexFieldTypesService(MongoConnection mongoConnection,
StreamService streamService,
MongoJackObjectMapperProvider objectMapperProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String idOrIndexName) |
Collection<IndexFieldTypesDTO> |
findAll() |
Collection<IndexFieldTypesDTO> |
findForFieldNames(Collection<String> fieldNames) |
Collection<IndexFieldTypesDTO> |
findForFieldNamesAndIndices(Collection<String> fieldNames,
Collection<String> indexNames) |
Collection<IndexFieldTypesDTO> |
findForIndexSet(String indexSetId) |
Collection<IndexFieldTypesDTO> |
findForIndexSets(Collection<String> indexSetIds) |
Collection<IndexFieldTypesDTO> |
findForStreamIds(Collection<String> streamIds) |
Optional<IndexFieldTypesDTO> |
get(String idOrIndexName) |
IndexFieldTypesDTO |
save(IndexFieldTypesDTO dto) |
Optional<IndexFieldTypesDTO> |
upsert(IndexFieldTypesDTO dto) |
@Inject public IndexFieldTypesService(MongoConnection mongoConnection, StreamService streamService, 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 Collection<IndexFieldTypesDTO> findForIndexSet(String indexSetId)
public Collection<IndexFieldTypesDTO> findForIndexSets(Collection<String> indexSetIds)
public Collection<IndexFieldTypesDTO> findForFieldNames(Collection<String> fieldNames)
public Collection<IndexFieldTypesDTO> findForFieldNamesAndIndices(Collection<String> fieldNames, Collection<String> indexNames)
public Collection<IndexFieldTypesDTO> findForStreamIds(Collection<String> streamIds)
public Collection<IndexFieldTypesDTO> findAll()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.