Class Query.QueryBuilder

java.lang.Object
org.ivoa.dm.registry.sia.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
    any extra (particularly non-standard) parameters that must be provided (apart from what is part of base URL given by the accessURL element).
    the center position of the rectangular region that should be used as part of the query to the SIA service.
    the rectangular size of the region that should be used as part of the query to the SIA service.
    the verbosity level to use where 0 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

    • pos

      public SkyPos pos
      the center position of the rectangular region that should be used as part of the query to the SIA service.
    • size

      public SkySize size
      the rectangular size of the region that should be used as part of the query to the SIA service.
    • verb

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

      public String extras
      any extra (particularly 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.