public class SpdDataSource extends java.lang.Object implements DataSource
| Constructor and Description |
|---|
SpdDataSource() |
SpdDataSource(DataSourceConfiguration dataSourceModel) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.Path |
dataLocation()
Gets the directory where datasets are located
|
SpdDataSource |
getDataSourceModel() |
void |
initialize(java.util.Map<java.lang.String,java.lang.String> options)
Initialize
|
void |
setDataSourceModel(SpdDataSource dataSourceModel) |
java.lang.String |
toString() |
public SpdDataSource(DataSourceConfiguration dataSourceModel)
public SpdDataSource()
public void initialize(java.util.Map<java.lang.String,java.lang.String> options)
DataSourceinitialize in interface DataSourceoptions - the name of dataset and its pathpublic SpdDataSource getDataSourceModel()
public void setDataSourceModel(SpdDataSource dataSourceModel)
public java.nio.file.Path dataLocation()
throws TaxRateLookupException
DataSourcedataLocation in interface DataSourceTaxRateLookupException - exception thrown when it fails to get the directorypublic java.lang.String toString()
toString in class java.lang.Object