Issue #1871 make Java data access class better match Python version
Change-Id: Ic3ab7e771add58a693420a16a349e8208852a051 Former-commit-id:68c84fd8cc
[formerly 21a59e4f9ab0e5a870b764259a1a0fc102f3b86f] Former-commit-id:4ac6480f52
This commit is contained in:
parent
826e64a990
commit
7ffd8efcf2
1 changed files with 10 additions and 0 deletions
|
@ -24,6 +24,7 @@ import com.raytheon.uf.common.dataaccess.exception.TimeAgnosticDataException;
|
|||
import com.raytheon.uf.common.dataaccess.exception.UnsupportedOutputTypeException;
|
||||
import com.raytheon.uf.common.dataaccess.geom.IGeometryData;
|
||||
import com.raytheon.uf.common.dataaccess.grid.IGridData;
|
||||
import com.raytheon.uf.common.dataaccess.impl.DefaultDataRequest;
|
||||
import com.raytheon.uf.common.time.BinOffset;
|
||||
import com.raytheon.uf.common.time.DataTime;
|
||||
import com.raytheon.uf.common.time.TimeRange;
|
||||
|
@ -172,6 +173,15 @@ public class DataAccessLayer {
|
|||
return factory.getAvailableLocationNames(request);
|
||||
}
|
||||
|
||||
/**
|
||||
* Shortcut to creating a new request
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static IDataRequest newDataRequest() {
|
||||
return new DefaultDataRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO: contemplate making this public to allow for special case handling
|
||||
* Returns the factory that should process the request. Will never return
|
||||
|
|
Loading…
Add table
Reference in a new issue