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 tableList<ObservationChart>getAccessionCharts(List<String> tableKeys, List<UUID> fields, TraitDataFilter traitDataFilter)Get accession observation charts from datasetsorg.springframework.http.ResponseEntity<List<ObservationChart>>getAccessionChartsWithHttpInfo(List<String> tableKeys, List<UUID> fields, TraitDataFilter traitDataFilter)Get accession observation charts from datasetsResponsePagegetAccessionDatasetObservations(List<String> tableKeys, List<UUID> fields, Integer p, Integer l, TraitDataFilter traitDataFilter)Get accession observations from datasetsorg.springframework.http.ResponseEntity<ResponsePage>getAccessionDatasetObservationsWithHttpInfo(List<String> tableKeys, List<UUID> fields, Integer p, Integer l, TraitDataFilter traitDataFilter)Get accession observations from datasetsHeatMapgetAccessionsHeatMapData(List<String> tableKeys, UUID xCategory, UUID yCategory, TraitDataFilter traitDataFilter)Generate a heat map Calculate a heat map of observations for two selected categorical descriptors in selected DatasetTablesorg.springframework.http.ResponseEntity<HeatMap>getAccessionsHeatMapDataWithHttpInfo(List<String> tableKeys, UUID xCategory, UUID yCategory, TraitDataFilter traitDataFilter)Generate a heat map Calculate a heat map of observations for two selected categorical descriptors in selected DatasetTablesApiClientgetApiClient()DatasetTablegetDataset(String tableKey)Get dataset informationList<DatasetTable>getDatasets(List<String> requestBody)Get list of datasets informationorg.springframework.http.ResponseEntity<List<DatasetTable>>getDatasetsWithHttpInfo(List<String> requestBody)Get list of datasets informationorg.springframework.http.ResponseEntity<DatasetTable>getDatasetWithHttpInfo(String tableKey)Get dataset informationResponsePagegetObservations(String tableKey, List<UUID> fields, Integer p, Integer l, TraitDataFilter traitDataFilter)Get accession observations from this datasetList<ObservationHistogram>getObservationsHistograms(List<String> tableKeys, List<UUID> fields, Integer bins, TraitDataFilter traitDataFilter)Generate histograms Get histogram of numerical observations from this datasetsorg.springframework.http.ResponseEntity<List<ObservationHistogram>>getObservationsHistogramsWithHttpInfo(List<String> tableKeys, List<UUID> fields, Integer bins, TraitDataFilter traitDataFilter)Generate histograms Get histogram of numerical observations from this datasetsorg.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)ObservationStreamResponsestreamObservations(String tableKey, List<UUID> fields, Integer batchSize, UUID streamUuid, TraitDataFilter traitDataFilter)Get accession observations from this dataset using cursororg.springframework.http.ResponseEntity<ObservationStreamResponse>streamObservationsWithHttpInfo(String tableKey, List<UUID> fields, Integer batchSize, UUID streamUuid, TraitDataFilter traitDataFilter)Get accession observations from this dataset using cursorDatasetTableupdateTable(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
-
getAccessionCharts
public List<ObservationChart> getAccessionCharts(List<String> tableKeys, List<UUID> fields, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Get accession observation charts from datasets400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKeys- Table keys (required)fields- Specify fields to return (optional)traitDataFilter- (optional)- Returns:
- List<ObservationChart>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getAccessionChartsWithHttpInfo
public org.springframework.http.ResponseEntity<List<ObservationChart>> getAccessionChartsWithHttpInfo(List<String> tableKeys, List<UUID> fields, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Get accession observation charts from datasets400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKeys- Table keys (required)fields- Specify fields to return (optional)traitDataFilter- (optional)- Returns:
- ResponseEntity<List<ObservationChart>>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getAccessionDatasetObservations
public ResponsePage getAccessionDatasetObservations(List<String> tableKeys, List<UUID> fields, Integer p, Integer l, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Get accession observations from datasets400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKeys- Table keys (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
-
getAccessionDatasetObservationsWithHttpInfo
public org.springframework.http.ResponseEntity<ResponsePage> getAccessionDatasetObservationsWithHttpInfo(List<String> tableKeys, List<UUID> fields, Integer p, Integer l, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Get accession observations from datasets400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKeys- Table keys (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
-
getAccessionsHeatMapData
public HeatMap getAccessionsHeatMapData(List<String> tableKeys, 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 selected DatasetTables400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKeys- Table keys (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
-
getAccessionsHeatMapDataWithHttpInfo
public org.springframework.http.ResponseEntity<HeatMap> getAccessionsHeatMapDataWithHttpInfo(List<String> tableKeys, 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 selected DatasetTables400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKeys- Table keys (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
-
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
-
getDatasets
public List<DatasetTable> getDatasets(List<String> requestBody) throws org.springframework.web.client.RestClientException
Get list of datasets information400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
requestBody- (optional)- Returns:
- List<DatasetTable>
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
getDatasetsWithHttpInfo
public org.springframework.http.ResponseEntity<List<DatasetTable>> getDatasetsWithHttpInfo(List<String> requestBody) throws org.springframework.web.client.RestClientException
Get list of datasets information400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
requestBody- (optional)- Returns:
- ResponseEntity<List<DatasetTable>>
- 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
-
getObservationsHistograms
public List<ObservationHistogram> getObservationsHistograms(List<String> tableKeys, List<UUID> fields, Integer bins, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Generate histograms Get histogram of numerical observations from this datasets400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKeys- Table keys (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
-
getObservationsHistogramsWithHttpInfo
public org.springframework.http.ResponseEntity<List<ObservationHistogram>> getObservationsHistogramsWithHttpInfo(List<String> tableKeys, List<UUID> fields, Integer bins, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Generate histograms Get histogram of numerical observations from this datasets400 - Bad Request
405 - Method Not Allowed
500 - Internal Server Error
404 - Not Found
401 - Unauthorized
200 - OK
- Parameters:
tableKeys- Table keys (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
-
streamObservations
public ObservationStreamResponse streamObservations(String tableKey, List<UUID> fields, Integer batchSize, UUID streamUuid, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Get accession observations from this dataset using cursor400 - 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)batchSize- Number of items to fetch (required)streamUuid- Stream UUID (optional)traitDataFilter- (optional)- Returns:
- ObservationStreamResponse
- Throws:
org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
-
streamObservationsWithHttpInfo
public org.springframework.http.ResponseEntity<ObservationStreamResponse> streamObservationsWithHttpInfo(String tableKey, List<UUID> fields, Integer batchSize, UUID streamUuid, TraitDataFilter traitDataFilter) throws org.springframework.web.client.RestClientException
Get accession observations from this dataset using cursor400 - 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)batchSize- Number of items to fetch (required)streamUuid- Stream UUID (optional)traitDataFilter- (optional)- Returns:
- ResponseEntity<ObservationStreamResponse>
- 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
-
-