Package org.kitesdk.data.spi

Examples of org.kitesdk.data.spi.DatasetRepository.update()


    if (uri != null) {
      Datasets.update(uri, descriptorBuilder.build());
    } else {
      // datasetName is checked above
      DatasetRepository repo = getDatasetRepository();
      repo.update(datasetNamespace, datasetName, descriptorBuilder.build());
    }
  }
}
View Full Code Here


    Pair<DatasetRepository, Map<String, String>> pair =
        Registration.lookupDatasetUri(URI.create(uri.getRawSchemeSpecificPart()));
    DatasetRepository repo = pair.first();
    Map<String, String> uriOptions = pair.second();

    return (D) repo.update(
        uriOptions.get(URIBuilder.NAMESPACE_OPTION),
        uriOptions.get(URIBuilder.DATASET_NAME_OPTION), descriptor, type);
  }

  /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.