Search in sources :

Example 1 with DataSources

use of com.thinkbiganalytics.spark.rest.model.DataSources in project kylo by Teradata.

the class JerseySparkShellRestClient method getDataSources.

@Nonnull
@Override
public DataSources getDataSources(@Nonnull final SparkShellProcess process) {
    DataSources dataSources = getClient(process).get("/api/v1/spark/shell/data-sources", Collections.emptyMap(), DataSources.class);
    log.trace("{}", dataSources);
    return dataSources;
}
Also used : DataSources(com.thinkbiganalytics.spark.rest.model.DataSources) Nonnull(javax.annotation.Nonnull)

Aggregations

DataSources (com.thinkbiganalytics.spark.rest.model.DataSources)1 Nonnull (javax.annotation.Nonnull)1