Class Query.QueryBuilder

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

    Fields
    Modifier and Type
    Field
    Description
    the catalog to query.
    the declination of the search cone's center in decimal degrees.
    any extra (non-standard) parameters that must be provided (apart from what is part of base URL given by the accessURL element).
    the right ascension of the search cone's center in decimal degrees.
    the radius of the search cone in decimal degrees.
    the verbosity level to use where 1 means the bare minimum set of columns and 3 means the full set of available columns.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create a Query from this builder.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ra

      public Double ra
      the right ascension of the search cone's center in decimal degrees.
    • dec

      public Double dec
      the declination of the search cone's center in decimal degrees.
    • sr

      public Double sr
      the radius of the search cone in decimal degrees.
    • verb

      public Integer verb
      the verbosity level to use where 1 means the bare minimum set of columns and 3 means the full set of available columns.
    • catalog

      public String catalog
      the catalog to query. When the service can access more than one catalog, this input parameter, if available, is used to indicate which service to access.
    • extras

      public String extras
      any extra (non-standard) parameters that must be provided (apart from what is part of base URL given by the accessURL element). this value should be in the form of name=value pairs delimited with ampersands.
  • Constructor Details

    • QueryBuilder

      public QueryBuilder()
  • Method Details

    • create

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