Object targetValue = nearest.getValueToMatch(); Expression expr = nearest.getExpression(); String attribute = null;
} else if (NearestVisitor.class.isInstance(visitor)) { NearestVisitor ne = (NearestVisitor) visitor; Object valueToMatch = ne.getValueToMatch(); Object maxBelow = uniqueValues.floor(valueToMatch); Object minAbove = uniqueValues.ceiling(valueToMatch);
if (!(nearestVisitor.getValueToMatch() instanceof Date)) { return false; factory.property( "abs(ms(" + dateFormatUTC.format(nearestVisitor.getValueToMatch()) + "," + propName.getPropertyName()