Package co.cask.cdap.api.dataset

Examples of co.cask.cdap.api.dataset.DatasetSpecification


      if (type == Data.DATASET) {
        Set<String> dataSetsUsed = dataSetsUsedBy(appSpec);
        List<DatasetRecord> result = Lists.newArrayListWithExpectedSize(dataSetsUsed.size());
        for (String dsName : dataSetsUsed) {
          String typeName = null;
          DatasetSpecification dsSpec = getDatasetSpec(dsName);
          if (dsSpec != null) {
            typeName = dsSpec.getType();
          }
          result.add(makeDataSetRecord(dsName, typeName));
        }
        return GSON.toJson(result);
      }
View Full Code Here

TOP

Related Classes of co.cask.cdap.api.dataset.DatasetSpecification

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.