Interface VisibilityLabelOrdinalProvider
- All Known Implementing Classes:
VisibilityLabelsCache
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel(int ordinal) Returns the string associated with the ordinal.intgetLabelOrdinal(String label)
-
Method Details
-
getLabelOrdinal
- Parameters:
label- Not null label string- Returns:
- The ordinal for the label. The ordinal starts from 1. Returns 0 when passed a non existing label.
-
getLabel
Returns the string associated with the ordinal. Not be used in MR.- Parameters:
ordinal- representing the visibility label's ordinal- Returns:
- label associated with the string, null if not found
-