本文整理了Java中com.thinkaurelius.titan.graphdb.query.QueryProcessor.<init>
方法的一些代码示例,展示了QueryProcessor.<init>
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QueryProcessor.<init>
方法的具体详情如下:
包路径:com.thinkaurelius.titan.graphdb.query.QueryProcessor
类名称:QueryProcessor
方法名:<init>
暂无
代码示例来源:origin: thinkaurelius/titan
@Override
public Iterable<TitanEdge> edges() {
GraphCentricQuery query = constructQuery(ElementCategory.EDGE);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), TitanEdge.class);
}
代码示例来源:origin: thinkaurelius/titan
@Override
public Iterable<TitanVertexProperty> properties() {
GraphCentricQuery query = constructQuery(ElementCategory.PROPERTY);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), TitanVertexProperty.class);
}
代码示例来源:origin: thinkaurelius/titan
@Override
public Iterable<TitanVertex> vertices() {
GraphCentricQuery query = constructQuery(ElementCategory.VERTEX);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), TitanVertex.class);
}
代码示例来源:origin: thinkaurelius/titan
private Iterable<TitanRelation> executeIndividualRelations(InternalVertex vertex, BaseVertexCentricQuery baseQuery) {
VertexCentricQuery query = constructQuery(vertex, baseQuery);
if (useSimpleQueryProcessor(query,vertex)) return new SimpleVertexQueryProcessor(query,tx).relations();
else return new QueryProcessor<VertexCentricQuery,TitanRelation,SliceQuery>(query, tx.edgeProcessor);
}
代码示例来源:origin: org.hawkular.titan/titan-core
@Override
public Iterable<Edge> edges() {
GraphCentricQuery query = constructQuery(ElementCategory.EDGE);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), Edge.class);
}
代码示例来源:origin: com.thinkaurelius.titan/titan-core
@Override
public Iterable<TitanVertexProperty> properties() {
GraphCentricQuery query = constructQuery(ElementCategory.PROPERTY);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), TitanVertexProperty.class);
}
代码示例来源:origin: org.apache.atlas/atlas-titan
@Override
public Iterable<Edge> edges() {
GraphCentricQuery query = constructQuery(ElementCategory.EDGE);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), Edge.class);
}
代码示例来源:origin: org.apache.atlas/atlas-titan
@Override
public Iterable<Vertex> vertices() {
GraphCentricQuery query = constructQuery(ElementCategory.VERTEX);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), Vertex.class);
}
代码示例来源:origin: apache/incubator-atlas
@Override
public Iterable<Vertex> vertices() {
GraphCentricQuery query = constructQuery(ElementCategory.VERTEX);
return Iterables.filter(new QueryProcessor<>(query, tx.elementProcessor), Vertex.class);
}
代码示例来源:origin: org.hawkular.titan/titan-core
@Override
public Iterable<TitanProperty> properties() {
GraphCentricQuery query = constructQuery(ElementCategory.PROPERTY);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), TitanProperty.class);
}
代码示例来源:origin: com.thinkaurelius.titan/titan-core
@Override
public Iterable<TitanVertex> vertices() {
GraphCentricQuery query = constructQuery(ElementCategory.VERTEX);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), TitanVertex.class);
}
代码示例来源:origin: com.thinkaurelius.titan/titan-core
@Override
public Iterable<TitanEdge> edges() {
GraphCentricQuery query = constructQuery(ElementCategory.EDGE);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), TitanEdge.class);
}
代码示例来源:origin: apache/incubator-atlas
@Override
public Iterable<TitanProperty> properties() {
GraphCentricQuery query = constructQuery(ElementCategory.PROPERTY);
return Iterables.filter(new QueryProcessor<>(query, tx.elementProcessor), TitanProperty.class);
}
代码示例来源:origin: org.hawkular.titan/titan-core
@Override
public Iterable<Vertex> vertices() {
GraphCentricQuery query = constructQuery(ElementCategory.VERTEX);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), Vertex.class);
}
代码示例来源:origin: org.apache.atlas/atlas-titan
@Override
public Iterable<TitanProperty> properties() {
GraphCentricQuery query = constructQuery(ElementCategory.PROPERTY);
return Iterables.filter(new QueryProcessor<GraphCentricQuery, TitanElement, JointIndexQuery>(query, tx.elementProcessor), TitanProperty.class);
}
代码示例来源:origin: apache/incubator-atlas
@Override
public Iterable<Edge> edges() {
GraphCentricQuery query = constructQuery(ElementCategory.EDGE);
return Iterables.filter(new QueryProcessor<>(query, tx.elementProcessor), Edge.class);
}
代码示例来源:origin: com.thinkaurelius.titan/titan-core
private Iterable<TitanRelation> executeIndividualRelations(InternalVertex vertex, BaseVertexCentricQuery baseQuery) {
VertexCentricQuery query = constructQuery(vertex, baseQuery);
if (useSimpleQueryProcessor(query,vertex)) return new SimpleVertexQueryProcessor(query,tx).relations();
else return new QueryProcessor<VertexCentricQuery,TitanRelation,SliceQuery>(query, tx.edgeProcessor);
}
代码示例来源:origin: org.hawkular.titan/titan-core
private Iterable<TitanRelation> executeIndividualRelations(InternalVertex vertex, BaseVertexCentricQuery baseQuery) {
VertexCentricQuery query = constructQuery(vertex, baseQuery);
if (useSimpleQueryProcessor(query,vertex)) return new SimpleVertexQueryProcessor(query,tx).relations();
else return new QueryProcessor<VertexCentricQuery,TitanRelation,SliceQuery>(query, tx.edgeProcessor);
}
内容来源于网络,如有侵权,请联系作者删除!