public Criteria near(Point location, @Nullable Distance distance) {
		Assert.notNull(location, "Location must not be 'null' for near criteria.");
		assertPositiveDistanceValue(distance);

		predicates.add(
				new Predicate(OperationKey.NEAR, new Object[] { location, distance != null ? distance : new Distance(0) }));
		return this;
	}
public Criteria near ( Point location , @ Nullable Distance distance ) { Assert . notNull ( location , "Location must not be 'null' for near criteria." ) ; assertPositiveDistanceValue ( distance ) ; predicates . add ( new Predicate ( OperationKey . NEAR , new Object [ ] { location , distance != null ? distance : new Distance ( 0 ) } ) ) ; return this ; }
Creates new {@link Predicate} for {@code !bbox} for a specified distance. The difference between this and
{@code within} is this is approximate while {@code within} is exact.

@param location
@param distance
@return
@throws IllegalArgumentException if location is null
@throws InvalidDataAccessApiUsageException if distance is negative