Class SetBasedFieldSelector

    • Constructor Detail

      • SetBasedFieldSelector

        public SetBasedFieldSelector​(Set<String> fieldsToLoad,
                                     Set<String> lazyFieldsToLoad)
        Pass in the Set of Field names to load and the Set of Field names to load lazily. If both are null, the Document will not have any Field on it.
        Parameters:
        fieldsToLoad - A Set of String field names to load. May be empty, but not null
        lazyFieldsToLoad - A Set of String field names to load lazily. May be empty, but not null