Class GeoWithinFilter


  • public class GeoWithinFilter
    extends Filter
    Defines a $geoWithin filter.
    Since:
    2.0
    Developer note.
    This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Method Detail

      • crs

        public GeoWithinFilter crs​(com.mongodb.client.model.geojson.CoordinateReferenceSystem crs)
        Parameters:
        crs - the CoordinateReferenceSystem to use
        Returns:
        this
      • encode

        public final void encode​(Mapper mapper,
                                 org.bson.BsonWriter writer,
                                 org.bson.codecs.EncoderContext context)
        Overrides:
        encode in class Filter
        Parameters:
        mapper - the mapper
        writer - the writer
        context - the context