gpt4 book ai didi

org.visallo.core.model.workQueue.WorkQueueRepository.pushElementImageQueue()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-22 10:11:05 25 4
gpt4 key购买 nike

本文整理了Java中org.visallo.core.model.workQueue.WorkQueueRepository.pushElementImageQueue()方法的一些代码示例,展示了WorkQueueRepository.pushElementImageQueue()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WorkQueueRepository.pushElementImageQueue()方法的具体详情如下:
包路径:org.visallo.core.model.workQueue.WorkQueueRepository
类名称:WorkQueueRepository
方法名:pushElementImageQueue

WorkQueueRepository.pushElementImageQueue介绍

暂无

代码示例

代码示例来源:origin: org.visallo/visallo-core

public void pushElementImageQueue(
    Element element,
    String propertyKey,
    String propertyName,
    Priority priority
) {
  getGraph().flush();
  checkNotNull(element);
  JSONObject data = new JSONObject();
  if (element instanceof Vertex) {
    data.put("graphVertexId", element.getId());
  } else if (element instanceof Edge) {
    data.put("graphEdgeId", element.getId());
  } else {
    throw new VisalloException("Unexpected element type: " + element.getClass().getName());
  }
  data.put("propertyKey", propertyKey);
  data.put("propertyName", propertyName);
  pushOnQueue(workQueueNames.getGraphPropertyQueueName(), FlushFlag.DEFAULT, data, priority);
  broadcastEntityImage(element, propertyKey, propertyName);
}

代码示例来源:origin: org.visallo/visallo-web

Priority.HIGH
);
workQueueRepository.pushElementImageQueue(
    entityVertex,
    null,

代码示例来源:origin: org.visallo/visallo-core

if (entityHasImage != null) {
  outVertex.markPropertyHidden(entityHasImage, workspaceVisibility, authorizations);
  this.workQueueRepository.pushElementImageQueue(outVertex, entityHasImage, priority);
if (entityHasImage != null) {
  outVertex.softDeleteProperty(entityHasImage.getKey(), entityHasImage.getName(), authorizations);
  this.workQueueRepository.pushElementImageQueue(outVertex, entityHasImage, priority);

代码示例来源:origin: org.visallo/visallo-core

Property entityHasImage = outVertex.getProperty(VisalloProperties.ENTITY_IMAGE_VERTEX_ID.getPropertyName());
outVertex.softDeleteProperty(entityHasImage.getKey(), entityHasImage.getName(), authorizations);
workQueueRepository.pushElementImageQueue(outVertex, entityHasImage, priority);
graph.softDeleteEdge(edge, authorizations);
workQueueRepository.pushEdgeDeletion(edge, beforeActionTimestamp, Priority.HIGH);

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com