org.pentaho.platform.dataaccess.datasource.wizard.service.gwt
Interface ICsvDatasourceServiceAsync


public interface ICsvDatasourceServiceAsync


Method Summary
 void getEncoding(String fileName, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
           
 void getPreviewRows(String filename, boolean isFirstRowHeader, int rows, String encoding, com.google.gwt.user.client.rpc.AsyncCallback<List<String>> callback)
           
 void getStagedFiles(com.google.gwt.user.client.rpc.AsyncCallback<FileInfo[]> aCallback)
           
 void listDatasourceNames(com.google.gwt.user.client.rpc.AsyncCallback<List<String>> callback)
           
 void stageData(ModelInfo modelInfo, boolean truncateTable, com.google.gwt.user.client.rpc.AsyncCallback<FileTransformStats> callback)
           
 void stageFile(String name, String delimiter, String enclosure, boolean isFirstRowHeader, String encoding, com.google.gwt.user.client.rpc.AsyncCallback<ModelInfo> aCallback)
           
 

Method Detail

stageFile

void stageFile(String name,
               String delimiter,
               String enclosure,
               boolean isFirstRowHeader,
               String encoding,
               com.google.gwt.user.client.rpc.AsyncCallback<ModelInfo> aCallback)

getStagedFiles

void getStagedFiles(com.google.gwt.user.client.rpc.AsyncCallback<FileInfo[]> aCallback)

stageData

void stageData(ModelInfo modelInfo,
               boolean truncateTable,
               com.google.gwt.user.client.rpc.AsyncCallback<FileTransformStats> callback)

getPreviewRows

void getPreviewRows(String filename,
                    boolean isFirstRowHeader,
                    int rows,
                    String encoding,
                    com.google.gwt.user.client.rpc.AsyncCallback<List<String>> callback)
                    throws Exception
Throws:
Exception

getEncoding

void getEncoding(String fileName,
                 com.google.gwt.user.client.rpc.AsyncCallback<String> callback)

listDatasourceNames

void listDatasourceNames(com.google.gwt.user.client.rpc.AsyncCallback<List<String>> callback)