<h2>org.autoplot.datasource.DataSource</h2><p>Like the DataLoader of das2, but provides minimal dataset discovery metadata</p>
<hr>
<a name="asynchronousLoad"></a>
<h2>asynchronousLoad</h2>
asynchronousLoad(  ) &rarr; boolean

<p>loading the data is slow, so load the data asynchronously (on a separate thread).  This
should return true if getDataSet will take more than 100 milliseconds (interactive time).
 Note this is currently ignored, and may be indefinitely ignored.</p>

<h3>Returns:</h3>
boolean

<br><br>
<a href="https://github.com/autoplot/dev/search?q=asynchronousLoad&unscoped_q=asynchronousLoad">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/DataSource.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/DataSource.html#asynchronousLoad">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/DataSource.java#l43">[view source]</a>
<br>
<br>
<hr>
<a name="getCapability"></a>
<h2>getCapability</h2>
getCapability( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> clazz ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a>

<p>cookie jar of capabilities, see org.autoplot.datasource.capability.  Each capability can be 
 queried, and either an object implementing the capability or null is returned.  Example
 capabilities include:<table>
 <tr><td>TimeSeriesBrowse</td><td>which allows the user to request data from a different interval. </td></tr>
 <tr><td>Caching</td><td>which should be queried before the loader is called again.</td></tr>
 </table>
 Note the DataSourceFactory also has a getCapability method, solely to provide TimeSeriesBrowse so that 
 new URIs can be created in without reading data.</p>

<h3>Parameters</h3>
clazz - a java.lang.Class

<h3>Returns:</h3>
java.lang.Object

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getCapability&unscoped_q=getCapability">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/DataSource.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/DataSource.html#getCapability">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/DataSource.java#l89">[view source]</a>
<br>
<br>
<hr>
<a name="getDataSet"></a>
<h2>getDataSet</h2>
getDataSet( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a>

<p>retrieve the dataset.  This allowed to be sub-interactive or batch time scale, and will block
 until the dataset is produced.

 This may return null when no data is available, or NoDataInIntervalException can be thrown.

 If the user cancelled the operation, then java.io.InterrupedIOExcaption or
 better yet org.das2.CancelledOperationException should be called.  These will
 simply display "cancelled" (or similar) on the status bar.</p>

<h3>Parameters</h3>
mon - a ProgressMonitor

<h3>Returns:</h3>
the DataSet for the URI, or null if no data is available.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=getDataSet&unscoped_q=getDataSet">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/DataSource.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/DataSource.html#getDataSet">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/DataSource.java#l36">[view source]</a>
<br>
<br>
<hr>
<a name="getMetadata"></a>
<h2>getMetadata</h2>
getMetadata( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/util/Map.html'>java.util.Map</a>

<p>Return arbitrary metadata for the dataset.  This is a map of String to Objects,
 and to form a tree structure, property name may map to another Map&lt;String,Object&gt;.
 Note the order of the properties may be controlled by using LinkedHashMap for the
 implementation.  Even though this takes a monitor, it will be called after getDataSet,
 and the monitor may be safely ignored.
 This should return new HashMap() if no metadata is found.</p>

<h3>Parameters</h3>
mon - a ProgressMonitor

<h3>Returns:</h3>
a java.util.Map

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getMetadata&unscoped_q=getMetadata">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/DataSource.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/DataSource.html#getMetadata">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/DataSource.java#l63">[view source]</a>
<br>
<br>
<hr>
<a name="getMetadataModel"></a>
<h2>getMetadataModel</h2>
getMetadataModel(  ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/datasource/MetadataModel.html'>org.autoplot.datasource.MetadataModel</a>

<p>return a MetadataModel that scrapes the Metadata tree returned to provide a
 set of properties identified in QDataSet.</p>

<h3>Returns:</h3>
an org.autoplot.datasource.MetadataModel

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getMetadataModel&unscoped_q=getMetadataModel">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/DataSource.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/DataSource.html#getMetadataModel">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/DataSource.java#l50">[view source]</a>
<br>
<br>
<hr>
<a name="getProperties"></a>
<h2>getProperties</h2>
getProperties(  ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/util/Map.html'>java.util.Map</a>

<p>discovery properties for the dataset.  These should follow the QDataSet conventions, such as
 TITLE, LABEL, etc, and should mirror the structure of the dataset.  Note
 getMetadataModel().getProperties( getMetaData() ) should return the same thing.</p>

<h3>Returns:</h3>
the properties.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=getProperties&unscoped_q=getProperties">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/DataSource.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/DataSource.html#getProperties">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/DataSource.java#l77">[view source]</a>
<br>
<br>
<hr>
<a name="getURI"></a>
<h2>getURI</h2>
getURI(  ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a>

<p>return the fully-qualified URI of this data source, including the "vap+<ext>:" scheme.</p>

<h3>Returns:</h3>
a String

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getURI&unscoped_q=getURI">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/DataSource.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/DataSource.html#getURI">[view on old javadoc]</a>
 <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/DataSource.java#l69">[view source]</a>
<br>
<br>