本文整理了Java中com.hp.hpl.jena.graph.Graph.getStatisticsHandler()
方法的一些代码示例,展示了Graph.getStatisticsHandler()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Graph.getStatisticsHandler()
方法的具体详情如下:
包路径:com.hp.hpl.jena.graph.Graph
类名称:Graph
方法名:getStatisticsHandler
[英]Answer this Graph's statistics handler, or null if there isn't one. Every call to this method on a particular graph delivers the same (==) answer.
[中]回答此图的统计处理程序,如果没有,则回答null。在特定图形上对该方法的每次调用都会提供相同的(=)答案。
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
@Override
public GraphStatisticsHandler getStatisticsHandler()
{
return graph.getStatisticsHandler() ;
}
代码示例来源:origin: org.appdapter/org.appdapter.lib.remote
@Override public GraphStatisticsHandler getStatisticsHandler() {
return g.getStatisticsHandler();
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-core
@Override
public GraphStatisticsHandler getStatisticsHandler()
{ return base.getStatisticsHandler(); }
代码示例来源:origin: com.hp.hpl.jena/arq
private static ReorderTransformation reorderBasicStats(Graph graph)
{
GraphStatisticsHandler stats = graph.getStatisticsHandler() ;
if ( stats == null )
return reorderFixed() ;
return new ReorderStatsHandler(graph, graph.getStatisticsHandler()) ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
private static ReorderTransformation reorderBasicStats(Graph graph)
{
GraphStatisticsHandler stats = graph.getStatisticsHandler() ;
if ( stats == null )
return reorderFixed() ;
return new ReorderStatsHandler(graph, graph.getStatisticsHandler()) ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-core
@Override
public long getStatistic( Node S, Node P, Node O )
{
long result = 0;
for (int i = 0; i < mu.m_subGraphs.size(); i += 1)
{
Graph g = mu.m_subGraphs.get( i );
GraphStatisticsHandler s = g.getStatisticsHandler();
long n = s.getStatistic( S, P, O );
if (n < 0) return n;
result += n;
}
return result;
}
内容来源于网络,如有侵权,请联系作者删除!