List of usage examples for org.springframework.data.gemfire IndexType getGemfireIndexType
public org.apache.geode.cache.query.IndexType getGemfireIndexType()
From source file:org.springframework.data.gemfire.IndexFactoryBeanTest.java
private Index mockIndexWithDefinition(String name, String expression, String fromClause, IndexType type) { Index mockIndex = mockIndex(name);/*ww w . ja va2s . c o m*/ when(mockIndex.getIndexedExpression()).thenReturn(expression); when(mockIndex.getFromClause()).thenReturn(fromClause); when(mockIndex.getType()).thenReturn(type.getGemfireIndexType()); return mockIndex; }