Hi Shawn,
types whose fields are configured with CacheConfiguration.setIndexedTypes
method are internally turned into query entities [1]
Xml configuration will looks like this
<bean class="org.apache.ignite.configuration.CacheConfiguration">
<property name="queryEntities">
<list>
<bean class="org.apache.ignite.cache.QueryEntity">
<property name="keyType" value="java.lang.String"/>
<property name="valueType" value="<some class>"/>
......
[1]
http://apacheignite.gridgain.org/docs/indexes#queryentity-based-configuration
On Fri, Feb 3, 2017 at 11:49 AM, Shawn Du <[email protected]> wrote:
> Hi,
>
>
>
> CacheConfiguration cacheConfiguration = new CacheConfiguration();
>
> cacheConfiguration.setTypes(String.class, <some class>);
>
> cacheConfiguration.setIndexedTypes(String.class, <some class>);
>
>
>
> what’s equivalent xml configuration with above code?
>
>
>
> Thanks
>
> Shawn
>
--
С уважением,
Машенков Андрей Владимирович
Тел. +7-921-932-61-82
Best regards,
Andrey V. Mashenkov
Cerr: +7-921-932-61-82