Class MapFieldSelector

    • Constructor Detail

      • MapFieldSelector

        public MapFieldSelector​(List<String> fields)
        Create a a MapFieldSelector
        Parameters:
        fields - fields to LOAD. List of Strings. All other fields are NO_LOAD.
      • MapFieldSelector

        public MapFieldSelector​(String... fields)
        Create a a MapFieldSelector
        Parameters:
        fields - fields to LOAD. All other fields are NO_LOAD.
    • Method Detail

      • accept

        public FieldSelectorResult accept​(String field)
        Load field according to its associated value in fieldSelections
        Specified by:
        accept in interface FieldSelector
        Parameters:
        field - a field name
        Returns:
        the fieldSelections value that field maps to or NO_LOAD if none.