Class QueryResults.Builder

java.lang.Object
org.apache.jena.riot.rowset.QueryResults.Builder
Enclosing class:
QueryResults

public static class QueryResults.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • lang

      public QueryResults.Builder lang(Lang hintLang)
      Provide a Lang for the parser. The declared MIME type takes precedence, the file extension does not.
    • forceLang

      public QueryResults.Builder forceLang(Lang forceLang)
      Provide a Lang for the parser. This setting overrides any declared MIME type or file extension.
    • context

      public QueryResults.Builder context(Context context)
      Set the Context. This defaults to the global settings of ARQ.getContext().
    • build

      public QueryResults build()
      Build a RS
    • read

      public RowSet read(String url)
      Short form equivalent to .build().read(url)
    • read

      public RowSet read(InputStream input)
      Short form equivalent to .build().read(InputStreams)