Interface VisibilityLabelOrdinalProvider

All Known Implementing Classes:
VisibilityLabelsCache

@Private public interface VisibilityLabelOrdinalProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    getLabel(int ordinal)
    Returns the string associated with the ordinal.
    int
     
  • Method Details

    • getLabelOrdinal

      int getLabelOrdinal(String label)
      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

      String getLabel(int ordinal)
      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