Tabnine Logo
EntityResult.getCreatedEntities
Code IndexAdd Tabnine to your IDE (free)

How to use
getCreatedEntities
method
in
org.apache.atlas.model.legacy.EntityResult

Best Java code snippets using org.apache.atlas.model.legacy.EntityResult.getCreatedEntities (Showing top 7 results out of 315)

origin: apache/atlas

/**
 * Convenience method to get the guids of the created entities from
 * the EntityResult.
 */
public List<String> getCreatedEntities() {
  if(entityResult == null) {
    return Collections.emptyList();
  }
  return getEntityResult().getCreatedEntities();
}
origin: org.apache.atlas/atlas-client-v1

/**
 * Convenience method to get the guids of the created entities from
 * the EntityResult.
 */
public List<String> getCreatedEntities() {
  if(entityResult == null) {
    return Collections.emptyList();
  }
  return getEntityResult().getCreatedEntities();
}
origin: apache/incubator-atlas

/**
 * Convenience method to get the guids of the created entities from
 * the EntityResult.
 */
public List<String> getCreatedEntities() {
  if(entityResult == null) {
    return Collections.emptyList();
  }
  return getEntityResult().getCreatedEntities();
}
origin: apache/incubator-atlas

/**
 * Create the given entity
 * @param entities entity(type instance) as json
 * @return json array of guids
 * @throws AtlasServiceException
 */
protected List<String> createEntity(JSONArray entities) throws AtlasServiceException {
  LOG.debug("Creating entities: {}", entities);
  JSONObject response = callAPIWithBody(API.CREATE_ENTITY, entities.toString());
  List<String> results = extractEntityResult(response).getCreatedEntities();
  LOG.debug("Create entities returned results: {}", results);
  return results;
}
origin: org.apache.atlas/atlas-client-v1

/**
 * Create the given entity
 * @param entities entity(type instance) as json
 * @return json array of guids
 * @throws AtlasServiceException
 */
protected List<String> createEntity(ArrayNode entities) throws AtlasServiceException {
  LOG.debug("Creating entities: {}", entities);
  ObjectNode   response = callAPIWithBody(API_V1.CREATE_ENTITY, entities.toString());
  List<String> results  = extractEntityResult(response).getCreatedEntities();
  LOG.debug("Create entities returned results: {}", results);
  return results;
}
origin: apache/atlas

/**
 * Create the given entity
 * @param entities entity(type instance) as json
 * @return json array of guids
 * @throws AtlasServiceException
 */
protected List<String> createEntity(ArrayNode entities) throws AtlasServiceException {
  LOG.debug("Creating entities: {}", entities);
  ObjectNode   response = callAPIWithBody(API_V1.CREATE_ENTITY, entities.toString());
  List<String> results  = extractEntityResult(response).getCreatedEntities();
  LOG.debug("Create entities returned results: {}", results);
  return results;
}
origin: apache/atlas

private String getSample(EntityResult entityResult) {
  String sample = getSample(entityResult.getCreatedEntities());
  if (sample == null) {
    sample = getSample(entityResult.getUpdateEntities());
  }
  return sample;
}
org.apache.atlas.model.legacyEntityResultgetCreatedEntities

Popular methods of EntityResult

  • getUpdateEntities
  • fromString
  • getDeletedEntities
  • set
  • <init>
  • get
  • getEntities

Popular in Java

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now