Toggle navigation
Home
java.lang.String to org.apache.james.backends.es.IndexName
No. of Instances - 16
No. of Commits - 1
No. of Projects - {'james-project'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Add or Remove Method invocation
client.admin().indices().preparePutMapping(indexName).setType(typeName).setSource(mappingsSources).execute()
to
client.admin().indices().preparePutMapping(indexName.getValue()).setType(typeName.getValue()).setSource(mappingsSources).execute()
INDEX_NAME
to
INDEX_NAME.getValue()
MESSAGES
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
MESSAGES
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
MESSAGES
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
MESSAGES
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
MESSAGES
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
MESSAGES
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
MESSAGES
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
MESSAGES
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
MESSAGES
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
MESSAGES
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
TYPE_NAME
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
TYPE_NAME
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
TYPE_NAME
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
TYPE_NAME
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
TYPE_NAME
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
TYPE_NAME
to
TYPE_NAME.getValue()
INDEX_NAME
to
INDEX_NAME.getValue()
TYPE_NAME
to
TYPE_NAME.getValue()
new ScrollIterable(client,client.prepareSearch(indexName).setTypes(typeName).setScroll(TIMEOUT).setNoFields().setQuery(queryBuilder).setSize(batchSize)).stream()
to
new ScrollIterable(client,client.prepareSearch(indexName.getValue()).setTypes(typeName.getValue()).setScroll(TIMEOUT).setNoFields().setQuery(queryBuilder).setSize(batchSize)).stream()
client.prepareDelete().setIndex(indexName).setType(typeName).setId(hit.getId())
to
client.prepareDelete().setIndex(indexName.getValue()).setType(typeName.getValue()).setId(hit.getId())
client.admin().indices().delete(new DeleteIndexRequest(indexName))
to
client.admin().indices().delete(new DeleteIndexRequest(indexName.getValue()))
client.prepareIndex(indexName,typeName,id).setSource(content)
to
client.prepareIndex(indexName.getValue(),typeName.getValue(),id).setSource(content)
bulkRequestBuilder.add(client.prepareUpdate(indexName,typeName,updatedDocumentPart.getId()).setDoc(updatedDocumentPart.getUpdatedDocumentPart()))
to
bulkRequestBuilder.add(client.prepareUpdate(indexName.getValue(),typeName.getValue(),updatedDocumentPart.getId()).setDoc(updatedDocumentPart.getUpdatedDocumentPart()))
bulkRequestBuilder.add(client.prepareDelete(indexName,typeName,id))
to
bulkRequestBuilder.add(client.prepareDelete(indexName.getValue(),typeName.getValue(),id))
client.admin().indices().prepareCreate(name).setSettings(settings).execute()
to
client.admin().indices().prepareCreate(name.getValue()).setSettings(settings).execute()