presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/RaptorMetadata.java/RaptorMetadata/getView
class RaptorMetadata:    @Override
    public Optional<ConnectorViewDefinition> getView(ConnectorSession session, SchemaTableName viewName)
    {
        return dao.getViews(viewName.getSchemaName(), viewName.getTableName()).stream()
                .map(view -> VIEW_CODEC.fromJson(view.getData()))
                .collect(toOptional());
    }