Class DatasetsApi
- java.lang.Object
-
- org.genesys.amphibian.client.api.DatasetsApi
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") @Component("org.genesys.amphibian.client.api.DatasetsApi") public class DatasetsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description DatasetsApi()DatasetsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObservationRegistrationaddObservations(String tableKey, ObservationRegistration observationRegistration)Add observations, returns result of update Add accession observationsorg.springframework.http.ResponseEntity<ObservationRegistration>addObservationsWithHttpInfo(String tableKey, ObservationRegistration observationRegistration)Add observations, returns result of update Add accession observationsDatasetTablecreateTable(DatasetTable datasetTable)Create a new tableorg.springframework.http.ResponseEntity<DatasetTable>createTableWithHttpInfo(DatasetTable datasetTable)Create a new tableDatasetTabledropTable(DatasetTable datasetTable)Drop a tableorg.springframework.http.ResponseEntity<DatasetTable>dropTableWithHttpInfo(DatasetTable datasetTable)Drop a tableApiClientgetApiClient()DatasetTablegetDataset(String tableKey)Get dataset informationorg.springframework.http.ResponseEntity<DatasetTable>getDatasetWithHttpInfo(String tableKey)Get dataset informationHeatMapgetHeatMapData(String tableKey, UUID xCategory, UUID yCategory, TraitDataFilter traitDataFilter)Generate a heat map Calculate a heat map of observations for two selected categorical descriptors in DatasetTableorg.springframework.http.ResponseEntity<HeatMap>getHeatMapDataWithHttpInfo(String tableKey, UUID xCategory, UUID yCategory, TraitDataFilter traitDataFilter)Generate a heat map Calculate a heat map of observations for two selected categorical descriptors in DatasetTableResponsePagegetObservations(String tableKey, List<UUID> fields, Integer p, Integer l, TraitDataFilter traitDataFilter)Get accession observations from this datasetList<ObservationChart>getObservationsCharts(String tableKey, List<UUID> fields, TraitDataFilter traitDataFilter)Generate charts Get charts of integer and coded observations from this datasetorg.springframework.http.ResponseEntity<List<ObservationChart>>getObservationsChartsWithHttpInfo(String tableKey, List<UUID> fields, TraitDataFilter traitDataFilter)Generate charts Get charts of integer and coded observations from this datasetList<ObservationHistogram>getObservationsHistogram(String tableKey, List<UUID> fields, Integer bins, TraitDataFilter traitDataFilter)Generate histograms Get histogram of numerical observations from this datasetorg.springframework.http.ResponseEntity<List<ObservationHistogram>>getObservationsHistogramWithHttpInfo(String tableKey, List<UUID> fields, Integer bins, TraitDataFilter traitDataFilter)Generate histograms Get histogram of numerical observations from this datasetorg.springframework.http.ResponseEntity<ResponsePage>getObservationsWithHttpInfo(String tableKey, List<UUID> fields, Integer p, Integer l, TraitDataFilter traitDataFilter)Get accession observations from this datasetSet<Object>ingestFromPreview(String tableKey, UUID descriptorUuid, UUID previewUuid, Integer sheet, Long startRow, IngestColumnRequest ingestColumnRequest)Ingest column values from Preview to Tableorg.springframework.http.ResponseEntity<Set<Object>>ingestFromPreviewWithHttpInfo(String tableKey, UUID descriptorUuid, UUID previewUuid, Integer sheet, Long startRow, IngestColumnRequest ingestColumnRequest)Ingest column values from Preview to TableDatasetTableremoveDescriptorData(String tableKey, UUID descriptorUuid)Remove descriptor data from tableorg.springframework.http.ResponseEntity<DatasetTable>removeDescriptorDataWithHttpInfo(String tableKey, UUID descriptorUuid)Remove descriptor data from tablevoidsetApiClient(ApiClient apiClient)DatasetTableupdateTable(DatasetTable datasetTable)Update tableorg.springframework.http.ResponseEntity<DatasetTable>updateTableWithHttpInfo(DatasetTable datasetTable)Update table
-
-
-
Constructor Detail
-
DatasetsApi
public DatasetsApi()
-
DatasetsApi
@Autowired public DatasetsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
addObservations
public ObservationRegistration addObservations(String tableKey, ObservationRegistration observationRegistration) throws org.springframework.web.client.RestClientException
Add observations, returns result of update Add accession observations400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)observationRegistration- (required)- Returns:
- ObservationRegistration
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
addObservationsWithHttpInfo
public org.springframework.http.ResponseEntity<ObservationRegistration> addObservationsWithHttpInfo(String tableKey, ObservationRegistration observationRegistration) throws org.springframework.web.client.RestClientException
Add observations, returns result of update Add accession observations400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)observationRegistration- (required)- Returns:
- ResponseEntity<ObservationRegistration>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
createTable
public DatasetTable createTable(DatasetTable datasetTable) throws org.springframework.web.client.RestClientException
Create a new table400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
datasetTable- (required)- Returns:
- DatasetTable
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
createTableWithHttpInfo
public org.springframework.http.ResponseEntity<DatasetTable> createTableWithHttpInfo(DatasetTable datasetTable) throws org.springframework.web.client.RestClientException
Create a new table400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
datasetTable- (required)- Returns:
- ResponseEntity<DatasetTable>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
dropTable
public DatasetTable dropTable(DatasetTable datasetTable) throws org.springframework.web.client.RestClientException
Drop a table400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
datasetTable- (required)- Returns:
- DatasetTable
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
dropTableWithHttpInfo
public org.springframework.http.ResponseEntity<DatasetTable> dropTableWithHttpInfo(DatasetTable datasetTable) throws org.springframework.web.client.RestClientException
Drop a table400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
datasetTable- (required)- Returns:
- ResponseEntity<DatasetTable>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getDataset
public DatasetTable getDataset(String tableKey) throws org.springframework.web.client.RestClientException
Get dataset information400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)- Returns:
- DatasetTable
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getDatasetWithHttpInfo
public org.springframework.http.ResponseEntity<DatasetTable> getDatasetWithHttpInfo(String tableKey) throws org.springframework.web.client.RestClientException
Get dataset information400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)- Returns:
- ResponseEntity<DatasetTable>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getHeatMapData
public HeatMap getHeatMapData(String tableKey, UUID xCategory, UUID yCategory, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Generate a heat map Calculate a heat map of observations for two selected categorical descriptors in DatasetTable400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)xCategory- X category field UUID (required)yCategory- Y category field UUID (required)traitDataFilter- (optional)- Returns:
- HeatMap
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getHeatMapDataWithHttpInfo
public org.springframework.http.ResponseEntity<HeatMap> getHeatMapDataWithHttpInfo(String tableKey, UUID xCategory, UUID yCategory, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Generate a heat map Calculate a heat map of observations for two selected categorical descriptors in DatasetTable400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)xCategory- X category field UUID (required)yCategory- Y category field UUID (required)traitDataFilter- (optional)- Returns:
- ResponseEntity<HeatMap>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getObservations
public ResponsePage getObservations(String tableKey, List<UUID> fields, Integer p, Integer l, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Get accession observations from this dataset400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)fields- Specify fields to return (optional)p- Page you want to retrieve (0..N) (optional)l- Number of records per page. (optional)traitDataFilter- (optional)- Returns:
- ResponsePage
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getObservationsWithHttpInfo
public org.springframework.http.ResponseEntity<ResponsePage> getObservationsWithHttpInfo(String tableKey, List<UUID> fields, Integer p, Integer l, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Get accession observations from this dataset400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)fields- Specify fields to return (optional)p- Page you want to retrieve (0..N) (optional)l- Number of records per page. (optional)traitDataFilter- (optional)- Returns:
- ResponseEntity<ResponsePage>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getObservationsCharts
public List<ObservationChart> getObservationsCharts(String tableKey, List<UUID> fields, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Generate charts Get charts of integer and coded observations from this dataset400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)fields- Specify fields to return (required)traitDataFilter- (optional)- Returns:
- List<ObservationChart>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getObservationsChartsWithHttpInfo
public org.springframework.http.ResponseEntity<List<ObservationChart>> getObservationsChartsWithHttpInfo(String tableKey, List<UUID> fields, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Generate charts Get charts of integer and coded observations from this dataset400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)fields- Specify fields to return (required)traitDataFilter- (optional)- Returns:
- ResponseEntity<List<ObservationChart>>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getObservationsHistogram
public List<ObservationHistogram> getObservationsHistogram(String tableKey, List<UUID> fields, Integer bins, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Generate histograms Get histogram of numerical observations from this dataset400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)fields- Specify fields to return (required)bins- Number of bins (optional, default to 4)traitDataFilter- (optional)- Returns:
- List<ObservationHistogram>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getObservationsHistogramWithHttpInfo
public org.springframework.http.ResponseEntity<List<ObservationHistogram>> getObservationsHistogramWithHttpInfo(String tableKey, List<UUID> fields, Integer bins, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Generate histograms Get histogram of numerical observations from this dataset400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)fields- Specify fields to return (required)bins- Number of bins (optional, default to 4)traitDataFilter- (optional)- Returns:
- ResponseEntity<List<ObservationHistogram>>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
ingestFromPreview
public Set<Object> ingestFromPreview(String tableKey, UUID descriptorUuid, UUID previewUuid, Integer sheet, Long startRow, IngestColumnRequest ingestColumnRequest) throws org.springframework.web.client.RestClientException
Ingest column values from Preview to Table400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)descriptorUuid- Descriptor UUID (required)previewUuid- Preview UUID (required)sheet- Sheet index (required)startRow- Index of the first row in the Preview (required)ingestColumnRequest- (required)- Returns:
- Set<Object>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
ingestFromPreviewWithHttpInfo
public org.springframework.http.ResponseEntity<Set<Object>> ingestFromPreviewWithHttpInfo(String tableKey, UUID descriptorUuid, UUID previewUuid, Integer sheet, Long startRow, IngestColumnRequest ingestColumnRequest) throws org.springframework.web.client.RestClientException
Ingest column values from Preview to Table400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)descriptorUuid- Descriptor UUID (required)previewUuid- Preview UUID (required)sheet- Sheet index (required)startRow- Index of the first row in the Preview (required)ingestColumnRequest- (required)- Returns:
- ResponseEntity<Set<Object>>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
removeDescriptorData
public DatasetTable removeDescriptorData(String tableKey, UUID descriptorUuid) throws org.springframework.web.client.RestClientException
Remove descriptor data from table400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)descriptorUuid- Descriptor UUID (required)- Returns:
- DatasetTable
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
removeDescriptorDataWithHttpInfo
public org.springframework.http.ResponseEntity<DatasetTable> removeDescriptorDataWithHttpInfo(String tableKey, UUID descriptorUuid) throws org.springframework.web.client.RestClientException
Remove descriptor data from table400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKey- Table key (required)descriptorUuid- Descriptor UUID (required)- Returns:
- ResponseEntity<DatasetTable>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
updateTable
public DatasetTable updateTable(DatasetTable datasetTable) throws org.springframework.web.client.RestClientException
Update table400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
datasetTable- (required)- Returns:
- DatasetTable
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
updateTableWithHttpInfo
public org.springframework.http.ResponseEntity<DatasetTable> updateTableWithHttpInfo(DatasetTable datasetTable) throws org.springframework.web.client.RestClientException
Update table400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
datasetTable- (required)- Returns:
- ResponseEntity<DatasetTable>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
-