Class Query.QueryBuilder

java.lang.Object
org.ivoa.dm.registry.ssa.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

    • pos

      public PosParam pos
      the center position the search cone given in decimal degrees.
    • size

      public Double size
      the size of the search radius.
    • queryDataCmd

      public String queryDataCmd
      Fully specified test query formatted as an URL argument list in the syntax specified by the SSA standard. The list must exclude the REQUEST argument which is assumed to be set to 'queryData'. This value must be in the form of name=value pairs delimited with ampersands. A query may then be formed by appending to the base URL 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.