presto-main/src/main/java/io/prestosql/sql/planner/optimizations/MetadataQueryOptimizer.java/MetadataQueryOptimizer/MetadataQueryOptimizer
class MetadataQueryOptimizer:    public MetadataQueryOptimizer(Metadata metadata)
    {
        requireNonNull(metadata, "metadata is null");

        this.metadata = metadata;
        this.literalEncoder = new LiteralEncoder(metadata);
    }