本文整理了Java中org.vertexium.Element.getPropertyValue()
方法的一些代码示例,展示了Element.getPropertyValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Element.getPropertyValue()
方法的具体详情如下:
包路径:org.vertexium.Element
类名称:Element
方法名:getPropertyValue
暂无
代码示例来源:origin: org.visallo/visallo-core
public final TRaw getPropertyValue(Element element, String propertyKey) {
Object value = element != null ? element.getPropertyValue(propertyKey, getPropertyName()) : null;
return value != null ? getRawConverter().apply(value) : null;
}
代码示例来源:origin: org.visallo/visallo-core
public final TRaw getPropertyValue(Element element) {
Object value = element != null ? element.getPropertyValue(getPropertyName()) : null;
return value != null ? getRawConverter().apply(value) : null;
}
代码示例来源:origin: org.visallo/visallo-core
public final TRaw getPropertyValueRequired(Element element) {
checkNotNull(element, "Element cannot be null");
Object value = element.getPropertyValue(getPropertyName());
checkNotNull(value, "Property value of property " + getPropertyName() + " cannot be null");
return getRawConverter().apply(value);
}
代码示例来源:origin: org.vertexium/vertexium-cypher
private boolean propertyMapMatch(
VertexiumCypherQueryContext ctx,
Element element,
ListMultimap<String, CypherAstBase> propertiesMap,
ExpressionScope scope
) {
for (Map.Entry<String, CypherAstBase> propertyEntry : propertiesMap.entries()) {
Object propertyValue = element.getPropertyValue(propertyEntry.getKey());
Object expressionValue = ctx.getExpressionExecutor().executeExpression(ctx, propertyEntry.getValue(), scope);
if (!ObjectUtils.equals(propertyValue, expressionValue)) {
return false;
}
}
return true;
}
代码示例来源:origin: visallo/vertexium
private boolean propertyMapMatch(
VertexiumCypherQueryContext ctx,
Element element,
ListMultimap<String, CypherAstBase> propertiesMap,
ExpressionScope scope
) {
for (Map.Entry<String, CypherAstBase> propertyEntry : propertiesMap.entries()) {
Object propertyValue = element.getPropertyValue(propertyEntry.getKey());
Object expressionValue = ctx.getExpressionExecutor().executeExpression(ctx, propertyEntry.getValue(), scope);
if (!ObjectUtils.equals(propertyValue, expressionValue)) {
return false;
}
}
return true;
}
代码示例来源:origin: visallo/vertexium
if (indexObj instanceof String) {
String propertyName = (String) indexObj;
return element.getPropertyValue(propertyName);
代码示例来源:origin: org.vertexium/vertexium-cypher
if (indexObj instanceof String) {
String propertyName = (String) indexObj;
return element.getPropertyValue(propertyName);
代码示例来源:origin: org.vertexium/vertexium-cypher
return element.getPropertyValue(ctx.normalizePropertyName(expression.getProperty()));
代码示例来源:origin: visallo/vertexium
return element.getPropertyValue(ctx.normalizePropertyName(expression.getProperty()));
内容来源于网络,如有侵权,请联系作者删除!