test_class.declarator: contentCache
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private ContentCache contentCache;
test_class.type: ContentCache
test_class.var_name: contentCache
test_class.declarator: cacheKeyGenerator
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private CacheKeyGenerator cacheKeyGenerator;
test_class.type: CacheKeyGenerator
test_class.var_name: cacheKeyGenerator
test_class.declarator: preparationRepository
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private PreparationRepository preparationRepository;
test_class.type: PreparationRepository
test_class.var_name: preparationRepository
test_class.file: dataprep-transformation/src/test/java/org/talend/dataprep/transformation/service/TransformationServiceTest.java
test_class.identifier: TransformationServiceTest
test_class.superclass: extends TransformationServiceBaseTest
test_case.body: @Test
      public void exportDataSet() throws Exception {
          // given
          String dataSetId = createDataset("input_dataset.csv", "my dataset", "text/csv");
  
          // when
          String exportContent = given() //
                  .queryParam("name", "ds_export")
                  .expect()
                  .statusCode(200)
                  .log()
                  .ifError()//
                  .when() //
                  .get("/export/dataset/{id}/{format}", dataSetId, "JSON") //
                  .asString();
  
          // then
          String expectedContent =
                  IOUtils.toString(this.getClass().getResourceAsStream("no_action_expected.json"), UTF_8);
          JSONAssert.assertEquals(expectedContent, exportContent, false);
      }
test_case.class_method_signature: TransformationServiceTest.exportDataSet()
test_case.full_signature: @Test public void exportDataSet()
test_case.identifier: exportDataSet
test_case.invocations: createDataset asString get when ifError log statusCode expect queryParam given toString getResourceAsStream getClass assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void exportDataSet()
focal_class.declarator: LOG = LoggerFactory.getLogger(TransformationService.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(TransformationService.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: analyzerService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private AnalyzerService analyzerService;
focal_class.type: AnalyzerService
focal_class.var_name: analyzerService
focal_class.declarator: context
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ApplicationContext context;
focal_class.type: ApplicationContext
focal_class.var_name: context
focal_class.declarator: actionRegistry
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ActionRegistry actionRegistry;
focal_class.type: ActionRegistry
focal_class.var_name: actionRegistry
focal_class.declarator: aggregationService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private AggregationService aggregationService;
focal_class.type: AggregationService
focal_class.var_name: aggregationService
focal_class.declarator: suggestionEngine
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private SuggestionEngine suggestionEngine;
focal_class.type: SuggestionEngine
focal_class.var_name: suggestionEngine
focal_class.declarator: factory
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private TransformerFactory factory;
focal_class.type: TransformerFactory
focal_class.var_name: factory
focal_class.declarator: executor
focal_class.modifier: @Resource(name = "serializer#json#executor")
      private
focal_class.original_string: @Resource(name = "serializer#json#executor")
      private TaskExecutor executor;
focal_class.type: TaskExecutor
focal_class.var_name: executor
focal_class.declarator: securityProxy
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private SecurityProxy securityProxy;
focal_class.type: SecurityProxy
focal_class.var_name: securityProxy
focal_class.declarator: actionParser
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ActionParser actionParser;
focal_class.type: ActionParser
focal_class.var_name: actionParser
focal_class.declarator: cacheKeyGenerator
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private CacheKeyGenerator cacheKeyGenerator;
focal_class.type: CacheKeyGenerator
focal_class.var_name: cacheKeyGenerator
focal_class.declarator: contentCache
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ContentCache contentCache;
focal_class.type: ContentCache
focal_class.var_name: contentCache
focal_class.declarator: beanConversionService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BeanConversionService beanConversionService;
focal_class.type: BeanConversionService
focal_class.var_name: beanConversionService
focal_class.declarator: statisticsAdapter
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private StatisticsAdapter statisticsAdapter;
focal_class.type: StatisticsAdapter
focal_class.var_name: statisticsAdapter
focal_class.declarator: preparationExportStrategy
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private PreparationExportStrategy preparationExportStrategy;
focal_class.type: PreparationExportStrategy
focal_class.var_name: preparationExportStrategy
focal_class.declarator: exportParametersUtil
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ExportParametersUtil exportParametersUtil;
focal_class.type: ExportParametersUtil
focal_class.var_name: exportParametersUtil
focal_class.declarator: datasetClient
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private DatasetClient datasetClient;
focal_class.type: DatasetClient
focal_class.var_name: datasetClient
focal_class.file: dataprep-transformation/src/main/java/org/talend/dataprep/transformation/service/TransformationService.java
focal_class.identifier: TransformationService
focal_class.class_method_signature: TransformationService.execute(@ApiParam(
                      value = "Preparation id to apply.") @RequestBody @Valid @AsyncParameter @AsyncExecutionId final ExportParameters parameters)
focal_class.full_signature: @RequestMapping(value = "/apply", method = POST) @ApiOperation(value = "Run the transformation given the provided export parameters", notes = "This operation transforms the dataset or preparation using parameters in export parameters.") @VolumeMetered @AsyncOperation(conditionalClass = GetPrepContentAsyncCondition.class, // resultUrlGenerator = PreparationGetContentUrlGenerator.class, // executionIdGeneratorClass = ExportParametersExecutionIdGenerator.class // ) public StreamingResponseBody execute(@ApiParam(
                      value = "Preparation id to apply.") @RequestBody @Valid @AsyncParameter @AsyncExecutionId final ExportParameters parameters)
focal_class.identifier: execute
focal_class.modifiers: @RequestMapping(value = "/apply", method = POST) @ApiOperation(value = "Run the transformation given the provided export parameters", notes = "This operation transforms the dataset or preparation using parameters in export parameters.") @VolumeMetered @AsyncOperation(conditionalClass = GetPrepContentAsyncCondition.class, // resultUrlGenerator = PreparationGetContentUrlGenerator.class, // executionIdGeneratorClass = ExportParametersExecutionIdGenerator.class // ) public
focal_class.parameters: (@ApiParam(
                      value = "Preparation id to apply.") @RequestBody @Valid @AsyncParameter @AsyncExecutionId final ExportParameters parameters)
focal_class.return: StreamingResponseBody
focal_class.signature: StreamingResponseBody execute(@ApiParam(
                      value = "Preparation id to apply.") @RequestBody @Valid @AsyncParameter @AsyncExecutionId final ExportParameters parameters)
focal_class.class_method_signature: TransformationService.executeMetadata(@PathVariable("preparationId") @AsyncParameter String preparationId,
              @PathVariable("stepId") @AsyncParameter String stepId)
focal_class.full_signature: @RequestMapping(value = "/apply/preparation/{preparationId}/{stepId}/metadata", method = GET) @ApiOperation(value = "Run the transformation given the provided export parameters", notes = "This operation transforms the dataset or preparation using parameters in export parameters.") @VolumeMetered @AsyncOperation(conditionalClass = GetPrepMetadataAsyncCondition.class, // resultUrlGenerator = PrepMetadataGetContentUrlGenerator.class, // executionIdGeneratorClass = PrepMetadataExecutionIdGenerator.class) public DataSetMetadata executeMetadata(@PathVariable("preparationId") @AsyncParameter String preparationId,
              @PathVariable("stepId") @AsyncParameter String stepId)
focal_class.identifier: executeMetadata
focal_class.modifiers: @RequestMapping(value = "/apply/preparation/{preparationId}/{stepId}/metadata", method = GET) @ApiOperation(value = "Run the transformation given the provided export parameters", notes = "This operation transforms the dataset or preparation using parameters in export parameters.") @VolumeMetered @AsyncOperation(conditionalClass = GetPrepMetadataAsyncCondition.class, // resultUrlGenerator = PrepMetadataGetContentUrlGenerator.class, // executionIdGeneratorClass = PrepMetadataExecutionIdGenerator.class) public
focal_class.parameters: (@PathVariable("preparationId") @AsyncParameter String preparationId,
              @PathVariable("stepId") @AsyncParameter String stepId)
focal_class.return: DataSetMetadata
focal_class.signature: DataSetMetadata executeMetadata(@PathVariable("preparationId") @AsyncParameter String preparationId,
              @PathVariable("stepId") @AsyncParameter String stepId)
focal_class.class_method_signature: TransformationService.applyOnDataset(@ApiParam(value = "Preparation id to apply.") @PathVariable(value = "preparationId") final String preparationId,
                                                  @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
                                                  @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
                                                  @ApiParam(value = "Step id", defaultValue = "head") @RequestParam(value = "stepId", required = false, defaultValue = "head") final String stepId,
                                                  @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
                                                  @RequestParam final Map<String, String> exportParams)
focal_class.full_signature: @RequestMapping(value = "/apply/preparation/{preparationId}/dataset/{datasetId}/{format}", method = GET) @ApiOperation(value = "Transform the given preparation to the given format on the given dataset id", notes = "This operation transforms the dataset using preparation id in the provided format.") @VolumeMetered public StreamingResponseBody applyOnDataset(@ApiParam(value = "Preparation id to apply.") @PathVariable(value = "preparationId") final String preparationId,
                                                  @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
                                                  @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
                                                  @ApiParam(value = "Step id", defaultValue = "head") @RequestParam(value = "stepId", required = false, defaultValue = "head") final String stepId,
                                                  @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
                                                  @RequestParam final Map<String, String> exportParams)
focal_class.identifier: applyOnDataset
focal_class.modifiers: @RequestMapping(value = "/apply/preparation/{preparationId}/dataset/{datasetId}/{format}", method = GET) @ApiOperation(value = "Transform the given preparation to the given format on the given dataset id", notes = "This operation transforms the dataset using preparation id in the provided format.") @VolumeMetered public
focal_class.parameters: (@ApiParam(value = "Preparation id to apply.") @PathVariable(value = "preparationId") final String preparationId,
                                                  @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
                                                  @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
                                                  @ApiParam(value = "Step id", defaultValue = "head") @RequestParam(value = "stepId", required = false, defaultValue = "head") final String stepId,
                                                  @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
                                                  @RequestParam final Map<String, String> exportParams)
focal_class.return: StreamingResponseBody
focal_class.signature: StreamingResponseBody applyOnDataset(@ApiParam(value = "Preparation id to apply.") @PathVariable(value = "preparationId") final String preparationId,
                                                  @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
                                                  @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
                                                  @ApiParam(value = "Step id", defaultValue = "head") @RequestParam(value = "stepId", required = false, defaultValue = "head") final String stepId,
                                                  @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
                                                  @RequestParam final Map<String, String> exportParams)
focal_class.class_method_signature: TransformationService.exportDataset(
              @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
              @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
              @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
              @RequestParam final Map<String, String> exportParams)
focal_class.full_signature: @RequestMapping(value = "/export/dataset/{datasetId}/{format}", method = GET) @ApiOperation(value = "Export the given dataset") @Timed public StreamingResponseBody exportDataset(
              @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
              @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
              @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
              @RequestParam final Map<String, String> exportParams)
focal_class.identifier: exportDataset
focal_class.modifiers: @RequestMapping(value = "/export/dataset/{datasetId}/{format}", method = GET) @ApiOperation(value = "Export the given dataset") @Timed public
focal_class.parameters: (
              @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
              @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
              @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
              @RequestParam final Map<String, String> exportParams)
focal_class.return: StreamingResponseBody
focal_class.signature: StreamingResponseBody exportDataset(
              @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
              @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
              @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
              @RequestParam final Map<String, String> exportParams)
focal_class.class_method_signature: TransformationService.aggregate(@ApiParam(value = "The aggregation rawParams in json") @RequestBody final String rawParams)
focal_class.full_signature: @RequestMapping(value = "/aggregate", method = POST, consumes = APPLICATION_JSON_VALUE) @ApiOperation(value = "Compute the aggregation according to the request body rawParams", consumes = APPLICATION_JSON_VALUE) @VolumeMetered public AggregationResult aggregate(@ApiParam(value = "The aggregation rawParams in json") @RequestBody final String rawParams)
focal_class.identifier: aggregate
focal_class.modifiers: @RequestMapping(value = "/aggregate", method = POST, consumes = APPLICATION_JSON_VALUE) @ApiOperation(value = "Compute the aggregation according to the request body rawParams", consumes = APPLICATION_JSON_VALUE) @VolumeMetered public
focal_class.parameters: (@ApiParam(value = "The aggregation rawParams in json") @RequestBody final String rawParams)
focal_class.return: AggregationResult
focal_class.signature: AggregationResult aggregate(@ApiParam(value = "The aggregation rawParams in json") @RequestBody final String rawParams)
focal_class.class_method_signature: TransformationService.getContentToAggregate(AggregationParameters parameters)
focal_class.full_signature: private InputStream getContentToAggregate(AggregationParameters parameters)
focal_class.identifier: getContentToAggregate
focal_class.modifiers: private
focal_class.parameters: (AggregationParameters parameters)
focal_class.return: InputStream
focal_class.signature: InputStream getContentToAggregate(AggregationParameters parameters)
focal_class.class_method_signature: TransformationService.transformPreview(@ApiParam(name = "body", value = "Preview parameters.") @RequestBody final PreviewParameters previewParameters,
                                   final OutputStream output)
focal_class.full_signature: @RequestMapping(value = "/transform/preview", method = POST, produces = APPLICATION_JSON_VALUE) @ApiOperation(value = "Preview the transformation on input data", notes = "This operation returns the input data diff between the old and the new transformation actions", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) @VolumeMetered public void transformPreview(@ApiParam(name = "body", value = "Preview parameters.") @RequestBody final PreviewParameters previewParameters,
                                   final OutputStream output)
focal_class.identifier: transformPreview
focal_class.modifiers: @RequestMapping(value = "/transform/preview", method = POST, produces = APPLICATION_JSON_VALUE) @ApiOperation(value = "Preview the transformation on input data", notes = "This operation returns the input data diff between the old and the new transformation actions", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) @VolumeMetered public
focal_class.parameters: (@ApiParam(name = "body", value = "Preview parameters.") @RequestBody final PreviewParameters previewParameters,
                                   final OutputStream output)
focal_class.return: void
focal_class.signature: void transformPreview(@ApiParam(name = "body", value = "Preview parameters.") @RequestBody final PreviewParameters previewParameters,
                                   final OutputStream output)
focal_class.class_method_signature: TransformationService.executeDiffOnSample(final PreviewParameters previewParameters, final OutputStream output)
focal_class.full_signature: private void executeDiffOnSample(final PreviewParameters previewParameters, final OutputStream output)
focal_class.identifier: executeDiffOnSample
focal_class.modifiers: private
focal_class.parameters: (final PreviewParameters previewParameters, final OutputStream output)
focal_class.return: void
focal_class.signature: void executeDiffOnSample(final PreviewParameters previewParameters, final OutputStream output)
focal_class.class_method_signature: TransformationService.executeDiffOnDataset(final PreviewParameters previewParameters, final OutputStream output)
focal_class.full_signature: private void executeDiffOnDataset(final PreviewParameters previewParameters, final OutputStream output)
focal_class.identifier: executeDiffOnDataset
focal_class.modifiers: private
focal_class.parameters: (final PreviewParameters previewParameters, final OutputStream output)
focal_class.return: void
focal_class.signature: void executeDiffOnDataset(final PreviewParameters previewParameters, final OutputStream output)
focal_class.class_method_signature: TransformationService.shouldApplyDiffToSampleSource(final PreviewParameters previewParameters)
focal_class.full_signature: private boolean shouldApplyDiffToSampleSource(final PreviewParameters previewParameters)
focal_class.identifier: shouldApplyDiffToSampleSource
focal_class.modifiers: private
focal_class.parameters: (final PreviewParameters previewParameters)
focal_class.return: boolean
focal_class.signature: boolean shouldApplyDiffToSampleSource(final PreviewParameters previewParameters)
focal_class.class_method_signature: TransformationService.getCreatedColumns(@ApiParam(name = "body", value = "Preview parameters list in json.") @RequestBody final List<PreviewParameters> previewParameters)
focal_class.full_signature: @RequestMapping(value = "/transform/diff/metadata", method = POST) @ApiOperation(value = "Given a list of requested preview, it applies the diff to each one. A diff is between 2 sets of actions and return the info like created columns ids", notes = "This operation returns the diff metadata", consumes = APPLICATION_JSON_VALUE) @VolumeMetered public Stream<StepDiff> getCreatedColumns(@ApiParam(name = "body", value = "Preview parameters list in json.") @RequestBody final List<PreviewParameters> previewParameters)
focal_class.identifier: getCreatedColumns
focal_class.modifiers: @RequestMapping(value = "/transform/diff/metadata", method = POST) @ApiOperation(value = "Given a list of requested preview, it applies the diff to each one. A diff is between 2 sets of actions and return the info like created columns ids", notes = "This operation returns the diff metadata", consumes = APPLICATION_JSON_VALUE) @VolumeMetered public
focal_class.parameters: (@ApiParam(name = "body", value = "Preview parameters list in json.") @RequestBody final List<PreviewParameters> previewParameters)
focal_class.return: Stream<StepDiff>
focal_class.signature: Stream<StepDiff> getCreatedColumns(@ApiParam(name = "body", value = "Preview parameters list in json.") @RequestBody final List<PreviewParameters> previewParameters)
focal_class.class_method_signature: TransformationService.evictCache(@ApiParam(value = "Preparation Id.") @PathVariable(value = "preparationId") final String preparationId)
focal_class.full_signature: @RequestMapping(value = "/preparation/{preparationId}/cache", method = DELETE) @ApiOperation(value = "Evict content entries related to the preparation", notes = "This operation remove content entries related to the preparation.") @VolumeMetered public void evictCache(@ApiParam(value = "Preparation Id.") @PathVariable(value = "preparationId") final String preparationId)
focal_class.identifier: evictCache
focal_class.modifiers: @RequestMapping(value = "/preparation/{preparationId}/cache", method = DELETE) @ApiOperation(value = "Evict content entries related to the preparation", notes = "This operation remove content entries related to the preparation.") @VolumeMetered public
focal_class.parameters: (@ApiParam(value = "Preparation Id.") @PathVariable(value = "preparationId") final String preparationId)
focal_class.return: void
focal_class.signature: void evictCache(@ApiParam(value = "Preparation Id.") @PathVariable(value = "preparationId") final String preparationId)
focal_class.class_method_signature: TransformationService.evictCache(final String preparationId, final ExportParameters.SourceType sourceType)
focal_class.full_signature: private void evictCache(final String preparationId, final ExportParameters.SourceType sourceType)
focal_class.identifier: evictCache
focal_class.modifiers: private
focal_class.parameters: (final String preparationId, final ExportParameters.SourceType sourceType)
focal_class.return: void
focal_class.signature: void evictCache(final String preparationId, final ExportParameters.SourceType sourceType)
focal_class.class_method_signature: TransformationService.getCreatedColumns(final PreviewParameters previewParameters)
focal_class.full_signature: private StepDiff getCreatedColumns(final PreviewParameters previewParameters)
focal_class.identifier: getCreatedColumns
focal_class.modifiers: private
focal_class.parameters: (final PreviewParameters previewParameters)
focal_class.return: StepDiff
focal_class.signature: StepDiff getCreatedColumns(final PreviewParameters previewParameters)
focal_class.class_method_signature: TransformationService.applyActionsOnMetadata(RowMetadata metadata, String actionsAsJson)
focal_class.full_signature: private void applyActionsOnMetadata(RowMetadata metadata, String actionsAsJson)
focal_class.identifier: applyActionsOnMetadata
focal_class.modifiers: private
focal_class.parameters: (RowMetadata metadata, String actionsAsJson)
focal_class.return: void
focal_class.signature: void applyActionsOnMetadata(RowMetadata metadata, String actionsAsJson)
focal_class.class_method_signature: TransformationService.executePreview(final String actions, final String referenceActions, final String indexes, final DataSet dataSet,
                                  final OutputStream output)
focal_class.full_signature: private void executePreview(final String actions, final String referenceActions, final String indexes, final DataSet dataSet,
                                  final OutputStream output)
focal_class.identifier: executePreview
focal_class.modifiers: private
focal_class.parameters: (final String actions, final String referenceActions, final String indexes, final DataSet dataSet,
                                  final OutputStream output)
focal_class.return: void
focal_class.signature: void executePreview(final String actions, final String referenceActions, final String indexes, final DataSet dataSet,
                                  final OutputStream output)
focal_class.class_method_signature: TransformationService.dynamicParams(
              @ApiParam(value = "Action name.") @PathVariable("action") final String action,
              @ApiParam(value = "The column id.") @RequestParam(value = "columnId") final String columnId,
              @ApiParam(value = "Data set content as JSON") final InputStream content)
focal_class.full_signature: @RequestMapping(value = "/transform/suggest/{action}/params", method = POST) @ApiOperation(value = "Get the transformation dynamic parameters", notes = "Returns the transformation parameters.") @Timed public GenericParameter dynamicParams(
              @ApiParam(value = "Action name.") @PathVariable("action") final String action,
              @ApiParam(value = "The column id.") @RequestParam(value = "columnId") final String columnId,
              @ApiParam(value = "Data set content as JSON") final InputStream content)
focal_class.identifier: dynamicParams
focal_class.modifiers: @RequestMapping(value = "/transform/suggest/{action}/params", method = POST) @ApiOperation(value = "Get the transformation dynamic parameters", notes = "Returns the transformation parameters.") @Timed public
focal_class.parameters: (
              @ApiParam(value = "Action name.") @PathVariable("action") final String action,
              @ApiParam(value = "The column id.") @RequestParam(value = "columnId") final String columnId,
              @ApiParam(value = "Data set content as JSON") final InputStream content)
focal_class.return: GenericParameter
focal_class.signature: GenericParameter dynamicParams(
              @ApiParam(value = "Action name.") @PathVariable("action") final String action,
              @ApiParam(value = "The column id.") @RequestParam(value = "columnId") final String columnId,
              @ApiParam(value = "Data set content as JSON") final InputStream content)
focal_class.class_method_signature: TransformationService.columnActions(@RequestBody(required = false) ColumnMetadata column)
focal_class.full_signature: @RequestMapping(value = "/actions/column", method = POST) @ApiOperation(value = "Return all actions for a column (regardless of column metadata)", notes = "This operation returns an array of actions.") @ResponseBody public Stream<ActionForm> columnActions(@RequestBody(required = false) ColumnMetadata column)
focal_class.identifier: columnActions
focal_class.modifiers: @RequestMapping(value = "/actions/column", method = POST) @ApiOperation(value = "Return all actions for a column (regardless of column metadata)", notes = "This operation returns an array of actions.") @ResponseBody public
focal_class.parameters: (@RequestBody(required = false) ColumnMetadata column)
focal_class.return: Stream<ActionForm>
focal_class.signature: Stream<ActionForm> columnActions(@RequestBody(required = false) ColumnMetadata column)
focal_class.class_method_signature: TransformationService.suggest(@RequestBody(required = false) ColumnMetadata column, //
              @ApiParam(value = "How many actions should be suggested at most", defaultValue = "5") @RequestParam(
                      value = "limit", defaultValue = "5", required = false) int limit)
focal_class.full_signature: @RequestMapping(value = "/suggest/column", method = POST) @ApiOperation(value = "Suggest actions for a given column metadata", notes = "This operation returns an array of suggested actions in decreasing order of importance.") @ResponseBody public Stream<ActionForm> suggest(@RequestBody(required = false) ColumnMetadata column, //
              @ApiParam(value = "How many actions should be suggested at most", defaultValue = "5") @RequestParam(
                      value = "limit", defaultValue = "5", required = false) int limit)
focal_class.identifier: suggest
focal_class.modifiers: @RequestMapping(value = "/suggest/column", method = POST) @ApiOperation(value = "Suggest actions for a given column metadata", notes = "This operation returns an array of suggested actions in decreasing order of importance.") @ResponseBody public
focal_class.parameters: (@RequestBody(required = false) ColumnMetadata column, //
              @ApiParam(value = "How many actions should be suggested at most", defaultValue = "5") @RequestParam(
                      value = "limit", defaultValue = "5", required = false) int limit)
focal_class.return: Stream<ActionForm>
focal_class.signature: Stream<ActionForm> suggest(@RequestBody(required = false) ColumnMetadata column, //
              @ApiParam(value = "How many actions should be suggested at most", defaultValue = "5") @RequestParam(
                      value = "limit", defaultValue = "5", required = false) int limit)
focal_class.class_method_signature: TransformationService.lineActions()
focal_class.full_signature: @RequestMapping(value = "/actions/line", method = GET) @ApiOperation(value = "Return all actions on lines", notes = "This operation returns an array of actions.") @ResponseBody public Stream<ActionForm> lineActions()
focal_class.identifier: lineActions
focal_class.modifiers: @RequestMapping(value = "/actions/line", method = GET) @ApiOperation(value = "Return all actions on lines", notes = "This operation returns an array of actions.") @ResponseBody public
focal_class.parameters: ()
focal_class.return: Stream<ActionForm>
focal_class.signature: Stream<ActionForm> lineActions()
focal_class.class_method_signature: TransformationService.datasetActions()
focal_class.full_signature: @RequestMapping(value = "/actions/dataset", method = GET) @ApiOperation(value = "Return all actions on the whole dataset.", notes = "This operation returns an array of actions.") @ResponseBody public Stream<ActionForm> datasetActions()
focal_class.identifier: datasetActions
focal_class.modifiers: @RequestMapping(value = "/actions/dataset", method = GET) @ApiOperation(value = "Return all actions on the whole dataset.", notes = "This operation returns an array of actions.") @ResponseBody public
focal_class.parameters: ()
focal_class.return: Stream<ActionForm>
focal_class.signature: Stream<ActionForm> datasetActions()
focal_class.class_method_signature: TransformationService.multiColumnsActions()
focal_class.full_signature: @RequestMapping(value = "/actions/multi_columns", method = GET) @ApiOperation(value = "Return all actions on the selected columns.", notes = "This operation returns an array of actions.") @ResponseBody public Stream<ActionForm> multiColumnsActions()
focal_class.identifier: multiColumnsActions
focal_class.modifiers: @RequestMapping(value = "/actions/multi_columns", method = GET) @ApiOperation(value = "Return all actions on the selected columns.", notes = "This operation returns an array of actions.") @ResponseBody public
focal_class.parameters: ()
focal_class.return: Stream<ActionForm>
focal_class.signature: Stream<ActionForm> multiColumnsActions()
focal_class.class_method_signature: TransformationService.listErrors()
focal_class.full_signature: @RequestMapping(value = "/transform/errors", method = RequestMethod.GET) @ApiOperation(value = "Get all transformation related error codes.", notes = "Returns the list of all transformation related error codes.") @Timed public Iterable<JsonErrorCodeDescription> listErrors()
focal_class.identifier: listErrors
focal_class.modifiers: @RequestMapping(value = "/transform/errors", method = RequestMethod.GET) @ApiOperation(value = "Get all transformation related error codes.", notes = "Returns the list of all transformation related error codes.") @Timed public
focal_class.parameters: ()
focal_class.return: Iterable<JsonErrorCodeDescription>
focal_class.signature: Iterable<JsonErrorCodeDescription> listErrors()
focal_class.class_method_signature: TransformationService.exportTypes()
focal_class.full_signature: @RequestMapping(value = "/export/formats", method = GET) @ApiOperation(value = "Get the available format types") @Timed @PublicAPI public Stream<ExportFormatMessage> exportTypes()
focal_class.identifier: exportTypes
focal_class.modifiers: @RequestMapping(value = "/export/formats", method = GET) @ApiOperation(value = "Get the available format types") @Timed @PublicAPI public
focal_class.parameters: ()
focal_class.return: Stream<ExportFormatMessage>
focal_class.signature: Stream<ExportFormatMessage> exportTypes()
focal_class.class_method_signature: TransformationService.getPreparationExportTypesForPreparation(@PathVariable String preparationId)
focal_class.full_signature: @RequestMapping(value = "/export/formats/preparations/{preparationId}", method = GET) @ApiOperation(value = "Get the available format types for the preparation") @Timed public Stream<ExportFormatMessage> getPreparationExportTypesForPreparation(@PathVariable String preparationId)
focal_class.identifier: getPreparationExportTypesForPreparation
focal_class.modifiers: @RequestMapping(value = "/export/formats/preparations/{preparationId}", method = GET) @ApiOperation(value = "Get the available format types for the preparation") @Timed public
focal_class.parameters: (@PathVariable String preparationId)
focal_class.return: Stream<ExportFormatMessage>
focal_class.signature: Stream<ExportFormatMessage> getPreparationExportTypesForPreparation(@PathVariable String preparationId)
focal_class.class_method_signature: TransformationService.getPreparationExportTypesForDataSet(@PathVariable String dataSetId)
focal_class.full_signature: @RequestMapping(value = "/export/formats/datasets/{dataSetId}", method = GET) @ApiOperation(value = "Get the available format types for the preparation") @Timed public Stream<ExportFormatMessage> getPreparationExportTypesForDataSet(@PathVariable String dataSetId)
focal_class.identifier: getPreparationExportTypesForDataSet
focal_class.modifiers: @RequestMapping(value = "/export/formats/datasets/{dataSetId}", method = GET) @ApiOperation(value = "Get the available format types for the preparation") @Timed public
focal_class.parameters: (@PathVariable String dataSetId)
focal_class.return: Stream<ExportFormatMessage>
focal_class.signature: Stream<ExportFormatMessage> getPreparationExportTypesForDataSet(@PathVariable String dataSetId)
focal_class.class_method_signature: TransformationService.getDictionary()
focal_class.full_signature: @RequestMapping(value = "/dictionary", method = GET, produces = APPLICATION_OCTET_STREAM_VALUE) @ApiOperation(value = "Get current dictionary (as serialized object).") @Timed public StreamingResponseBody getDictionary()
focal_class.identifier: getDictionary
focal_class.modifiers: @RequestMapping(value = "/dictionary", method = GET, produces = APPLICATION_OCTET_STREAM_VALUE) @ApiOperation(value = "Get current dictionary (as serialized object).") @Timed public
focal_class.parameters: ()
focal_class.return: StreamingResponseBody
focal_class.signature: StreamingResponseBody getDictionary()
focal_class.class_method_signature: TransformationService.getPreparationColumnSemanticCategories(
              @ApiParam(value = "The preparation id") @PathVariable String preparationId,
              @ApiParam(value = "The column id") @PathVariable String columnId,
              @ApiParam(value = "The preparation version") @RequestParam(defaultValue = "head") String stepId)
focal_class.full_signature: @RequestMapping(value = "/preparations/{preparationId}/columns/{columnId}/types", method = GET) @ApiOperation(value = "list the types of the wanted column", notes = "This list can be used by user to change the column type.") @Timed @PublicAPI public List<SemanticDomain> getPreparationColumnSemanticCategories(
              @ApiParam(value = "The preparation id") @PathVariable String preparationId,
              @ApiParam(value = "The column id") @PathVariable String columnId,
              @ApiParam(value = "The preparation version") @RequestParam(defaultValue = "head") String stepId)
focal_class.identifier: getPreparationColumnSemanticCategories
focal_class.modifiers: @RequestMapping(value = "/preparations/{preparationId}/columns/{columnId}/types", method = GET) @ApiOperation(value = "list the types of the wanted column", notes = "This list can be used by user to change the column type.") @Timed @PublicAPI public
focal_class.parameters: (
              @ApiParam(value = "The preparation id") @PathVariable String preparationId,
              @ApiParam(value = "The column id") @PathVariable String columnId,
              @ApiParam(value = "The preparation version") @RequestParam(defaultValue = "head") String stepId)
focal_class.return: List<SemanticDomain>
focal_class.signature: List<SemanticDomain> getPreparationColumnSemanticCategories(
              @ApiParam(value = "The preparation id") @PathVariable String preparationId,
              @ApiParam(value = "The column id") @PathVariable String columnId,
              @ApiParam(value = "The preparation version") @RequestParam(defaultValue = "head") String stepId)
focal_class.class_method_signature: TransformationService.getPreparation(String preparationId)
focal_class.full_signature: private PreparationDTO getPreparation(String preparationId)
focal_class.identifier: getPreparation
focal_class.modifiers: private
focal_class.parameters: (String preparationId)
focal_class.return: PreparationDTO
focal_class.signature: PreparationDTO getPreparation(String preparationId)
focal_class.class_method_signature: TransformationService.getSemanticDomains(DataSetMetadata metadata, String columnId, InputStream records)
focal_class.full_signature: private List<SemanticDomain> getSemanticDomains(DataSetMetadata metadata, String columnId, InputStream records)
focal_class.identifier: getSemanticDomains
focal_class.modifiers: private
focal_class.parameters: (DataSetMetadata metadata, String columnId, InputStream records)
focal_class.return: List<SemanticDomain>
focal_class.signature: List<SemanticDomain> getSemanticDomains(DataSetMetadata metadata, String columnId, InputStream records)
focal_class.class_method_signature: TransformationService.addPreparationInCache(PreparationDTO preparation, String stepId)
focal_class.full_signature: private void addPreparationInCache(PreparationDTO preparation, String stepId)
focal_class.identifier: addPreparationInCache
focal_class.modifiers: private
focal_class.parameters: (PreparationDTO preparation, String stepId)
focal_class.return: void
focal_class.signature: void addPreparationInCache(PreparationDTO preparation, String stepId)
focal_class.superclass: extends BaseTransformationService
focal_method.body: @RequestMapping(value = "/export/dataset/{datasetId}/{format}", method = GET)
      @ApiOperation(value = "Export the given dataset")
      @Timed
      public StreamingResponseBody exportDataset(
              @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
              @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
              @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
              @RequestParam final Map<String, String> exportParams) {
          //@formatter:on
          return applyOnDataset(null, datasetId, formatName, null, name, exportParams);
      }
focal_method.class_method_signature: TransformationService.exportDataset(
              @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
              @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
              @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
              @RequestParam final Map<String, String> exportParams)
focal_method.full_signature: @RequestMapping(value = "/export/dataset/{datasetId}/{format}", method = GET) @ApiOperation(value = "Export the given dataset") @Timed public StreamingResponseBody exportDataset(
              @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
              @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
              @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
              @RequestParam final Map<String, String> exportParams)
focal_method.identifier: exportDataset
focal_method.invocations: applyOnDataset
focal_method.modifiers: @RequestMapping(value = "/export/dataset/{datasetId}/{format}", method = GET) @ApiOperation(value = "Export the given dataset") @Timed public
focal_method.parameters: (
              @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
              @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
              @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
              @RequestParam final Map<String, String> exportParams)
focal_method.return: StreamingResponseBody
focal_method.signature: StreamingResponseBody exportDataset(
              @ApiParam(value = "DataSet id to transform.") @PathVariable(value = "datasetId") final String datasetId,
              @ApiParam(value = "Output format") @PathVariable("format") final String formatName,
              @ApiParam(value = "Name of the transformation", defaultValue = "untitled") @RequestParam(value = "name", required = false, defaultValue = "untitled") final String name,
              @RequestParam final Map<String, String> exportParams)