Class RuntimeCSVFileStorage
- java.lang.Object
-
- org.dashbuilder.backend.services.dataset.RuntimeCSVFileStorage
-
- All Implemented Interfaces:
org.dashbuilder.dataprovider.csv.CSVFileStorage
@ApplicationScoped public class RuntimeCSVFileStorage extends Object implements org.dashbuilder.dataprovider.csv.CSVFileStorage
In Memory CSV storage.
-
-
Constructor Summary
Constructors Constructor Description RuntimeCSVFileStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteCSVFile(String uuid)voiddeleteCSVFile(org.dashbuilder.dataset.def.CSVDataSetDef def)InputStreamgetCSVInputStream(org.dashbuilder.dataset.def.CSVDataSetDef def)StringgetCSVString(org.dashbuilder.dataset.def.CSVDataSetDef def)voidinit()voidsaveCSVFile(org.dashbuilder.dataset.def.CSVDataSetDef def)voidstoreCSV(String uuid, String csvContent)
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getCSVInputStream
public InputStream getCSVInputStream(org.dashbuilder.dataset.def.CSVDataSetDef def)
- Specified by:
getCSVInputStreamin interfaceorg.dashbuilder.dataprovider.csv.CSVFileStorage
-
getCSVString
public String getCSVString(org.dashbuilder.dataset.def.CSVDataSetDef def)
- Specified by:
getCSVStringin interfaceorg.dashbuilder.dataprovider.csv.CSVFileStorage
-
saveCSVFile
public void saveCSVFile(org.dashbuilder.dataset.def.CSVDataSetDef def)
- Specified by:
saveCSVFilein interfaceorg.dashbuilder.dataprovider.csv.CSVFileStorage
-
deleteCSVFile
public void deleteCSVFile(org.dashbuilder.dataset.def.CSVDataSetDef def)
- Specified by:
deleteCSVFilein interfaceorg.dashbuilder.dataprovider.csv.CSVFileStorage
-
deleteCSVFile
public void deleteCSVFile(String uuid)
-
-