public class PerDimensionOrdinalPolicy extends CategoryListParams
CategoryListParams
which allow controlling the
CategoryListParams.OrdinalPolicy
used for each dimension. The
dimension is specified as the first component in
CategoryPath.components
.CategoryListParams.OrdinalPolicy
DEFAULT_FIELD, DEFAULT_ORDINAL_POLICY, field
Constructor and Description |
---|
PerDimensionOrdinalPolicy(Map<String,CategoryListParams.OrdinalPolicy> policies) |
PerDimensionOrdinalPolicy(Map<String,CategoryListParams.OrdinalPolicy> policies,
CategoryListParams.OrdinalPolicy defaultOP) |
Modifier and Type | Method and Description |
---|---|
CategoryListParams.OrdinalPolicy |
getOrdinalPolicy(String dimension)
Returns the
CategoryListParams.OrdinalPolicy to use for the given dimension. |
String |
toString() |
createCategoryListIterator, createEncoder, equals, hashCode
public PerDimensionOrdinalPolicy(Map<String,CategoryListParams.OrdinalPolicy> policies)
public PerDimensionOrdinalPolicy(Map<String,CategoryListParams.OrdinalPolicy> policies, CategoryListParams.OrdinalPolicy defaultOP)
public CategoryListParams.OrdinalPolicy getOrdinalPolicy(String dimension)
CategoryListParams
CategoryListParams.OrdinalPolicy
to use for the given dimension. This
CategoryListParams
always returns CategoryListParams.DEFAULT_ORDINAL_POLICY
for all dimensions.getOrdinalPolicy
in class CategoryListParams
public String toString()
toString
in class CategoryListParams
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.