本文整理了Java中org.vertexium.Element.getExtendedDataTableNames()
方法的一些代码示例,展示了Element.getExtendedDataTableNames()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Element.getExtendedDataTableNames()
方法的具体详情如下:
包路径:org.vertexium.Element
类名称:Element
方法名:getExtendedDataTableNames
[英]Gets the list of extended data table names.
[中]获取扩展数据表名称的列表。
代码示例来源:origin: org.vertexium/vertexium-core
@Override
protected Iterable<? extends ExtendedDataRow> getIterable(Element element) {
return new SelectManyIterable<String, ExtendedDataRow>(element.getExtendedDataTableNames()) {
@Override
protected Iterable<? extends ExtendedDataRow> getIterable(String tableName) {
return element.getExtendedData(tableName);
}
};
}
};
代码示例来源:origin: visallo/vertexium
@Override
protected Iterable<? extends ExtendedDataRow> getIterable(Element element) {
return new SelectManyIterable<String, ExtendedDataRow>(element.getExtendedDataTableNames()) {
@Override
protected Iterable<? extends ExtendedDataRow> getIterable(String tableName) {
return element.getExtendedData(tableName);
}
};
}
};
代码示例来源:origin: visallo/vertexium
@Override
protected Iterable<? extends ExtendedDataRow> getIterable(Element element) {
return new SelectManyIterable<String, ExtendedDataRow>(element.getExtendedDataTableNames()) {
@Override
protected Iterable<? extends ExtendedDataRow> getIterable(String tableName) {
return element.getExtendedData(tableName);
}
};
}
};
代码示例来源:origin: org.vertexium/vertexium-core
@Override
protected Iterable<? extends ExtendedDataRow> getIterable(Element element) {
return new SelectManyIterable<String, ExtendedDataRow>(element.getExtendedDataTableNames()) {
@Override
protected Iterable<? extends ExtendedDataRow> getIterable(String tableName) {
return element.getExtendedData(tableName);
}
};
}
};
代码示例来源:origin: visallo/vertexium
protected void deleteAllExtendedDataForElement(Element element, Authorizations authorizations) {
if (!element.getFetchHints().isIncludeExtendedDataTableNames() || element.getExtendedDataTableNames().size() <= 0) {
return;
}
for (ExtendedDataRow row : getExtendedData(ElementType.getTypeFromElement(element), element.getId(), null, authorizations)) {
deleteExtendedDataRow(row.getId(), authorizations);
}
}
代码示例来源:origin: org.vertexium/vertexium-core
protected void deleteAllExtendedDataForElement(Element element, Authorizations authorizations) {
if (!element.getFetchHints().isIncludeExtendedDataTableNames() || element.getExtendedDataTableNames().size() <= 0) {
return;
}
for (ExtendedDataRow row : getExtendedData(ElementType.getTypeFromElement(element), element.getId(), null, authorizations)) {
deleteExtendedDataRow(row.getId(), authorizations);
}
}
代码示例来源:origin: org.visallo/visallo-core
private static void populateClientApiElement(
ClientApiElement clientApiElement,
org.vertexium.Element element,
String workspaceId
) {
clientApiElement.setId(element.getId());
clientApiElement.getProperties().addAll(toClientApiProperties(element.getProperties(), workspaceId));
clientApiElement.getExtendedDataTableNames().addAll(element.getExtendedDataTableNames());
clientApiElement.setSandboxStatus(SandboxStatusUtil.getSandboxStatus(element, workspaceId));
VisibilityJson visibilityJson = VisalloProperties.VISIBILITY_JSON.getPropertyValue(element);
if (visibilityJson != null) {
clientApiElement.setVisibilitySource(visibilityJson.getSource());
}
if (clientApiElement instanceof ClientApiVertex) {
ClientApiVertex clientApiVertex = (ClientApiVertex) clientApiElement;
String conceptType = VisalloProperties.CONCEPT_TYPE.getPropertyValue(element, null);
clientApiVertex.setConceptType(conceptType);
}
}
代码示例来源:origin: org.vertexium/vertexium-core
for (String tableName : element.getExtendedDataTableNames()) {
for (ExtendedDataRow extendedDataRow : element.getExtendedData(tableName)) {
visitor.visitExtendedDataRow(element, tableName, extendedDataRow);
代码示例来源:origin: visallo/vertexium
for (String tableName : element.getExtendedDataTableNames()) {
for (ExtendedDataRow extendedDataRow : element.getExtendedData(tableName)) {
visitor.visitExtendedDataRow(element, tableName, extendedDataRow);
代码示例来源:origin: org.vertexium/vertexium-elasticsearch5
ImmutableSet<String> extendedDataTableNames = element.getExtendedDataTableNames();
if (extendedDataTableNames != null && !extendedDataTableNames.isEmpty()) {
extendedDataTableNames.forEach(tableName ->
代码示例来源:origin: visallo/vertexium
ImmutableSet<String> extendedDataTableNames = element.getExtendedDataTableNames();
if (extendedDataTableNames != null && !extendedDataTableNames.isEmpty()) {
extendedDataTableNames.forEach(tableName ->
内容来源于网络,如有侵权,请联系作者删除!