com.cloudera.api.v3
Interface ParcelsResource

All Known Subinterfaces:
ParcelsResourceV5

public interface ParcelsResource


Method Summary
 ParcelResource getParcelResource(String product, String version)
          Retrieves detailed information about a parcel
 ApiParcelList readParcels(DataView dataView)
          Lists all parcels that the cluster has access to.
 

Method Detail

readParcels

@Path(value="/")
ApiParcelList readParcels(DataView dataView)
Lists all parcels that the cluster has access to.

Returns:
List of parcels.

getParcelResource

@Path(value="/products/{product}/versions/{version}")
ParcelResource getParcelResource(String product,
                                      String version)
Retrieves detailed information about a parcel

Parameters:
product - the product
version - the version
Returns:
the parcel


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.