uk.ac.starlink.topcat.contrib.gavo
Class GavoSampleQuery

java.lang.Object
  extended by uk.ac.starlink.topcat.contrib.gavo.GavoSampleQuery

public class GavoSampleQuery
extends Object

Encapsulates example queries used by the GAVO loader.

Since:
8 Jun 2007
Author:
Mark Taylor, Gerard Lemson

Field Summary
static GavoSampleQuery[] GAL_SAMPLES
          List of sample queries, mainly galaxies.
static GavoSampleQuery[] HALO_SAMPLES
          List of sample queries, mainly halos.
 
Constructor Summary
GavoSampleQuery(String name, String[] descriptionLines, String[] textLines)
          Constructor.
 
Method Summary
 String getDescription()
          Returns query description.
 String getName()
          Returns query ID.
 String getText()
          Returns SQL text for query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HALO_SAMPLES

public static final GavoSampleQuery[] HALO_SAMPLES
List of sample queries, mainly halos.


GAL_SAMPLES

public static final GavoSampleQuery[] GAL_SAMPLES
List of sample queries, mainly galaxies.

Constructor Detail

GavoSampleQuery

public GavoSampleQuery(String name,
                       String[] descriptionLines,
                       String[] textLines)
Constructor.

Parameters:
name - query ID
descriptionLines - lines for short description (tooltip)
textLines - lines for SQL query text
Method Detail

getName

public String getName()
Returns query ID.

Returns:
name

getDescription

public String getDescription()
Returns query description.

Returns:
description

getText

public String getText()
Returns SQL text for query.

Returns:
text


Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.