org.opensha.sha.cybershake.db
Class AttenRelCurves2DB
java.lang.Object
org.opensha.sha.cybershake.db.AttenRelCurves2DB
public class AttenRelCurves2DB
- extends Object
|
Method Summary |
HashMap<Location,ArbitrarilyDiscretizedFunc> |
fetchCurves(int datasetID,
int imTypeID)
|
GeoDataSet |
fetchMap(int datasetID,
int imTypeID,
boolean isProbAt_IML,
double level,
boolean latitudeX)
|
ArbitrarilyDiscretizedFunc |
getCurve(int curveID)
|
HashMap<Location,Integer> |
getCurveIDs(int datasetID,
int imTypeID)
|
HashMap<Integer,ArbitrarilyDiscretizedFunc> |
getCurves(Iterable<Integer> curveIDs)
|
HashMap<Integer,ArbitrarilyDiscretizedFunc> |
getCurves(Iterable<Integer> curveIDs,
double minValue,
double maxValue,
boolean isProbAt_IML)
|
void |
insertARCurves(Date date,
int datasetID,
int imTypeID,
Map<Location,? extends DiscretizedFunc> map)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttenRelCurves2DB
public AttenRelCurves2DB(DBAccess db)
insertARCurves
public void insertARCurves(Date date,
int datasetID,
int imTypeID,
Map<Location,? extends DiscretizedFunc> map)
throws SQLException
- Throws:
SQLException
getCurveIDs
public HashMap<Location,Integer> getCurveIDs(int datasetID,
int imTypeID)
throws SQLException
- Throws:
SQLException
getCurve
public ArbitrarilyDiscretizedFunc getCurve(int curveID)
throws SQLException
- Throws:
SQLException
getCurves
public HashMap<Integer,ArbitrarilyDiscretizedFunc> getCurves(Iterable<Integer> curveIDs)
throws SQLException
- Throws:
SQLException
getCurves
public HashMap<Integer,ArbitrarilyDiscretizedFunc> getCurves(Iterable<Integer> curveIDs,
double minValue,
double maxValue,
boolean isProbAt_IML)
throws SQLException
- Throws:
SQLException
fetchCurves
public HashMap<Location,ArbitrarilyDiscretizedFunc> fetchCurves(int datasetID,
int imTypeID)
throws SQLException
- Throws:
SQLException
fetchMap
public GeoDataSet fetchMap(int datasetID,
int imTypeID,
boolean isProbAt_IML,
double level,
boolean latitudeX)
throws SQLException
- Throws:
SQLException