code: public static <T> TupleDomain<T> fromFixedValues(Map<T, NullableValue> fixedValues)
      {
          return TupleDomain.withColumnDomains(fixedValues.entrySet().stream()
                  .collect(toLinkedMap(
                          Map.Entry::getKey,
                          entry -> {
                              Type type = entry.getValue().getType();
                              Object value = entry.getValue().getValue();
                              return value == null ? Domain.onlyNull(type) : Domain.singleValue(type, value);
                          })));
      }
docs: Convert a map of columns to values into the TupleDomain which requires
  those columns to be fixed to those values. Null is allowed as a fixed value.