Class FieldSelector


  • @ThreadSafe
    public final class FieldSelector
    extends Object
    This filter selector is designed to determine the filter to exclude or rename fields in a document.
    • Method Detail

      • fieldFilterFor

        public FieldSelector.FieldFilter fieldFilterFor​(CollectionId id)
        Returns the field filter for the given collection identifier.

        Note that the field filter is completely independent of the collection selection predicate, so it is expected that this filter be used only after the collection selection predicate determined the collection containing documents with the field(s) is to be used.

        Parameters:
        id - the collection identifier, never null
        Returns:
        the field filter, never null