Toggle navigation
Home
java.lang.String to org.sonar.server.es.IndexTypeId
No. of Instances - 5
No. of Commits - 1
No. of Projects - {'sonarqube'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Add or Remove Method invocation
indexName
to
indexTypeId.getIndex()
TYPE_AUTHORIZATION
to
indexTypeId.getType()
esClient.prepareSearch(index).setTypes(TYPE_AUTHORIZATION)
to
esClient.prepareSearch(indexType)
esClient.prepareSearch(index).setTypes(TYPE_AUTHORIZATION)
to
esClient.prepareSearch(indexType)
index
to
indexType.getIndex()
executor.submit(() -> { if (lastUpdatedAt == -1L) { lastUpdatedAt=esClient.getMaxFieldValue(indexName,typeName,dateFieldName); } if (requestedAt > lastUpdatedAt) { long l=task.index(lastUpdatedAt); lastUpdatedAt=Math.max(l,lastUpdatedAt); } } )
to
executor.submit(() -> { if (lastUpdatedAt == -1L) { lastUpdatedAt=esClient.getMaxFieldValue(indexType,dateFieldName); } if (requestedAt > lastUpdatedAt) { long l=task.index(lastUpdatedAt); lastUpdatedAt=Math.max(l,lastUpdatedAt); } } )
Rename Variable
indexName
to
indexTypeId
index
to
indexType
indexName
to
indexType
index
to
indexType
indexName
to
indexType
indexName
to
indexType