[
https://issues.apache.org/jira/browse/GEODE-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fred Krone resolved GEODE-3005.
-------------------------------
Resolution: Won't Fix
> A developer can create a Region with Partition by Prefix using Java API
> -----------------------------------------------------------------------
>
> Key: GEODE-3005
> URL: https://issues.apache.org/jira/browse/GEODE-3005
> Project: Geode
> Issue Type: Wish
> Components: regions
> Reporter: Fred Krone
> Assignee: Fred Krone
>
> A user should be able to set partition by prefix programmatically when
> creating a partitioned region.
> This can only be done when creating a Region type Partition
> Implement:
> Cache.xml XSD adding new 'partition by prefix' delimiter attribute
> Implement XML parser
> Generate cache.xml with new attributes
> Done:
> Code is reviewed and checked in
> Tests are created and pass
> Acceptance:
> A partitioned region can be created using with 'partition by prefix' via
> cache.xml
> Only String keys work -- all other keys throw an error
> Providing a key with the correct delimiter routes the entry to the correct
> node
> Providing a key with no delimiter throws an error
> When partition-by-prefix is 'on' AND the user also sets a specific partition
> resolver (an implemented class), partitioning should default to the
> implemented class.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)