Configuring Hazelcast Addon - padogrid/padogrid GitHub Wiki
The PadoGrid includes the HQL (Hazelcast Query Language) addon for executing ad-hoc queries. Each Hazelcast cluster you create uses the template hazelcast.xml
file that has HQL already configured. If want to include HQL services in your own hazelcast.xml
and hazelcast-client.xml
files then you must configure them as follows:
<hazelcast ...>
...
<serialization>
<portable-factories>
<portable-factory factory-id="10000">
org.hazelcast.addon.hql.impl.PortableFactoryImpl
</portable-factory>
</portable-factories>
</serialization>
...
</hazelcast>
By default, PadoGrid sets the factory ID to 10000 and the class ID begins from 10000. The class IDs increment by 1 as more of them become available. If there are ID conflicts then you can change them using their system properties as follows:
-Dorg.hazelcast.addon.hql.impl.PortableFactoryImpl.factoryId=10000
-Dorg.hazelcast.addon.hql.impl.PortableFactoryImpl.firstClassId=10000