Class DbPointDataSource

All Implemented Interfaces:
Sharable, DataSource, DataSourceFactory, XmlPersistable

public class DbPointDataSource extends PointDataSource
Version:
$Revision: 1.90 $ $Date: 2007/08/06 17:02:27 $
Author:
IDV Development Team
  • Field Details

  • Constructor Details

    • DbPointDataSource

      public DbPointDataSource() throws VisADException
      Default contstructor.
      Throws:
      VisADException
    • DbPointDataSource

      public DbPointDataSource(DataSourceDescriptor descriptor, String source, Hashtable properties) throws Exception
      Create a new AddePointDataSource from the parameters supplied.
      Parameters:
      descriptor - DataSourceDescriptor for this.
      source - Source URL
      properties - Hashtable of properties for the source.
      Throws:
      Exception - On badness
  • Method Details

    • getConnection

      public Connection getConnection()
      get the jdbc connection
      Returns:
      the jdbc connection
    • makeObs

      protected FieldImpl makeObs(DataChoice dataChoice, DataSelection subset, ucar.unidata.geoloc.LatLonRect bbox) throws Exception
      make the obs
      Specified by:
      makeObs in class PointDataSource
      Parameters:
      dataChoice - the data choice
      subset - the data selection
      bbox - the bbox
      Returns:
      the obs
      Throws:
      Exception - On badness
    • getPropertiesComponents

      public void getPropertiesComponents(List comps)
      add to properties. The comps list contains pairs of label/widget.
      Overrides:
      getPropertiesComponents in class PointDataSource
      Parameters:
      comps - comps
    • applyProperties

      public boolean applyProperties()
      apply the properties
      Overrides:
      applyProperties in class PointDataSource
      Returns:
      success