presto-spi/src/main/java/io/prestosql/spi/connector/InMemoryRecordSet.java/Builder/Builder
class Builder:        private Builder(Collection<Type> types)
        {
            requireNonNull(types, "types is null");
            this.types = Collections.unmodifiableList(new ArrayList<>(types));
            checkArgument(!this.types.isEmpty(), "types is empty");
        }