Reinstated FUNCTIONAL as a valid index type XML attribute and correction for compiler issue in GemfireOnRegionFunctionTemplate
This commit is contained in:
@@ -58,7 +58,7 @@ public class GemfireOnRegionFunctionTemplate extends AbstractFunctionTemplate i
|
||||
|
||||
@Override
|
||||
public <T> T executeAndextract(String functionId, Set<?> keys, Object... args) {
|
||||
return executeAndExtract(new RegionFunctionExecution(region)
|
||||
return this.<T> executeAndExtract(new RegionFunctionExecution(region)
|
||||
.setKeys(keys)
|
||||
.setFunctionId(functionId)
|
||||
.setTimeout(timeout)
|
||||
|
||||
@@ -2149,6 +2149,7 @@ The name of the index bean definition. If property 'name' is not set, it will be
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="HASH" />
|
||||
<xsd:enumeration value="PRIMARY_KEY"/>
|
||||
<xsd:enumeration value="FUNCTIONAL"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<!-- as there can be only one cache per VM -->
|
||||
|
||||
|
||||
<gfe:index id="simple" expression="status" from="/test-index"/>
|
||||
<gfe:index id="simple" expression="status" from="/test-index" type="FUNCTIONAL"/>
|
||||
|
||||
<gfe:index id="complex" name="complex-index" expression="tsi.name" from="/test-index tsi" type="HASH" imports="import java.util"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user