Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
Description
Some custom index implementations require the base table's metadata to validate their creation options. For example, the options of these implementations can contain information about which base table's columns are going to be indexed and how, so the implementation needs to know the existence and the type of the columns to be indexed to properly validate.
The attached patch proposes to add base table's CFMetaData to Index' optional static method to validate the custom index options:
public static Map<String, String> validateOptions(CFMetaData cfm, Map<String, String> options);