APISonar


com.dremio.dac.explore.model.DownloadFormat.JSON

> com > dremio > dac > explore > model > DownloadFormat > JSON
com APIs dremio APIs dac APIs explore APIs model APIs DownloadFormat APIs JSON APIs

Example 1
public void testDownloadJsonRest() throws Exception {
    InitialPreviewResponse initialPreviewResponse = createDatasetFromSQL( String.format("select * from %s", dsg1DatasetPath), Collections.emptyList());

    Response response = download(initialPreviewResponse.getJobId(), DownloadFormat.JSON);

    validateAllRows(readDataJson(response));
  }