use of org.apache.atlas.repository.graphdb.AtlasGraphIndex in project incubator-atlas by apache.
the class GraphBackedSearchIndexerTest method verifyVertexIndexContains.
private void verifyVertexIndexContains(AtlasGraphManagement managementSystem, String indexName) {
AtlasGraphIndex vertexIndex = managementSystem.getGraphIndex(Constants.VERTEX_INDEX);
Set<AtlasPropertyKey> fieldKeys = vertexIndex.getFieldKeys();
Arrays.asList(fieldKeys).contains(managementSystem.getPropertyKey(indexName));
}
Aggregations