Class Query.QueryBuilder

java.lang.Object
org.ivoa.dm.registry.slap.Query.QueryBuilder
Enclosing class:
Query

public static class Query.QueryBuilder extends Object
A builder class for Query, mainly for use in the functional builder pattern.
  • Field Details

    • wavelength

      public WavelengthRange wavelength
      Spectral range in meters to be used to constrain the query of spectral lines.
    • queryDataCmd

      public String queryDataCmd
      Fully specified queryData test query formatted as an URL argument list in the syntax specified by the SLAP standard. The list must exclude the REQUEST argument which is assumed to be set to 'queryData'. VERSION may be included if the test query applies to a specific version of the service protocol. If queryDataCmd is used to form a query, the default value of WAVELENGTH specified above is not used; if the test query requires WAVELENGTH it should be included directly in queryDataCmd. This value must be a string in the form of name=value pairs delimited with ampersands. A query may then be formed by appending to the baseURL the request argument, 'REQUEST=queryData;', followed by the contents of this element.
  • Constructor Details

    • QueryBuilder

      public QueryBuilder()
  • Method Details

    • create

      public Query create()
      create a Query from this builder.
      Returns:
      an object initialized from the builder.