org.autoplot.hapi.HapiDataSource

HAPI data source uses transactions with HAPI servers to collect data.

HapiDataSource( java.net.URI uri )


FILL_VALUE


getDataSet

getDataSet( ProgressMonitor monitor ) → QDataSet

Parameters

monitor - a ProgressMonitor

Returns:

org.das2.qds.QDataSet

[search for examples] [view on GitHub] [view on old javadoc]


getDataSetViaBinary

getDataSetViaBinary( int totalFields, ProgressMonitor monitor, java.net.URL url, org.autoplot.hapi.HapiDataSource.ParamDescription[] pds, DatumRange tr, int nparam, int[] nfields, String useCacheUriParam ) → QDataSet

read the interval using binary.

Parameters

totalFields - an int
monitor - a ProgressMonitor
url - an URL
pds - an org.autoplot.hapi.HapiDataSource.ParamDescription[]
tr - a DatumRange
nparam - an int
nfields - an int[]
useCacheUriParam - a String

Returns:

a QDataSet

[search for examples] [view on GitHub] [view on old javadoc]


getDataSetViaCsv

getDataSetViaCsv( int totalFields, ProgressMonitor monitor, java.net.URL url, org.autoplot.hapi.HapiDataSource.ParamDescription[] pds, DatumRange tr, int nparam, int[] nfields, String useCacheUriParam ) → QDataSet

read the interval using CSV.

Parameters

totalFields - an int
monitor - a ProgressMonitor
url - an URL
pds - an org.autoplot.hapi.HapiDataSource.ParamDescription[]
tr - a DatumRange
nparam - an int
nfields - an int[]
useCacheUriParam - a String

Returns:

a QDataSet

[search for examples] [view on GitHub] [view on old javadoc]


getHapiCache

getHapiCache( ) → String

return the local folder of the cache for HAPI data. This will end with a slash.

Returns:

the local folder of the cache for HAPI data.

[search for examples] [view on GitHub] [view on old javadoc]


getParameterDescriptions

getParameterDescriptions( JSONObject doc ) → org.autoplot.hapi.HapiDataSource.ParamDescription[]

Parameters

doc - a JSONObject

Returns:

org.autoplot.hapi.HapiDataSource.ParamDescription[]

[search for examples] [view on GitHub] [view on old javadoc]


printCacheStats

printCacheStats( ) → void

print the cache stats.

Returns:

void (returns nothing)

See Also:

https://sourceforge.net/p/autoplot/bugs/1996/


[search for examples] [view on GitHub] [view on old javadoc]