[
https://issues.apache.org/jira/browse/GEODE-8562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Martell updated GEODE-8562:
-----------------------------------
Description:
There appears to be no native client tests that use a class for the key.
A new DataSerializable test should be added (new framework of course) that uses
a class that implements DataSerializable for both the key and the value. Also,
the test should be added for both C++ and .NET.
Notes:
*
Using a class as a key requires the equivalent Java class to be deployed, as
well as an Instantiator for that class to be executed by the server on startup.
An example of this is the QueryTest::DataSerializableQueryHaveCorrectValues
which uses Position.cs and Position.java.
* In this existing test, Position.java needs to be deployed and instantiated
because the test executes queries. In this new test, we need to deploy and
instantiate the java code for the key class because it's a key not a value.
was:
There appears to be no native client tests that use a class for the key.
A new DataSerializable test should be added (new framework of course) that uses
a class that implements DataSerializable for both the key and the value. Also,
the test should be added for both C++ and .NET.
Notes: Using a class as a key requires the equivalent Java class to be
deployed, as well as an Instantiator for that class to be executed by the
server on startup. An example of this is the
QueryTest::DataSerializableQueryHaveCorrectValues which uses Position.cs and
Position.java. In this existing test, Position.java needs to be deployed and
instantiated because the test executes queries. In this new test, we need to
deploy and instantiate the java code for the key class because it's a key not a
value.
> Add a new serialization test that uses a class for the key
> ----------------------------------------------------------
>
> Key: GEODE-8562
> URL: https://issues.apache.org/jira/browse/GEODE-8562
> Project: Geode
> Issue Type: Improvement
> Components: native client
> Reporter: Michael Martell
> Priority: Major
>
> There appears to be no native client tests that use a class for the key.
> A new DataSerializable test should be added (new framework of course) that
> uses a class that implements DataSerializable for both the key and the value.
> Also, the test should be added for both C++ and .NET.
> Notes:
> *
> Using a class as a key requires the equivalent Java class to be deployed, as
> well as an Instantiator for that class to be executed by the server on
> startup. An example of this is the
> QueryTest::DataSerializableQueryHaveCorrectValues which uses Position.cs and
> Position.java.
> * In this existing test, Position.java needs to be deployed and instantiated
> because the test executes queries. In this new test, we need to deploy and
> instantiate the java code for the key class because it's a key not a value.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)