Package org.aksw.jenax.arq.aggregation
Class AccBestLiteral
java.lang.Object
org.aksw.jenax.arq.aggregation.AccBestLiteral
- All Implemented Interfaces:
org.apache.jena.sparql.expr.aggregate.Accumulator
public class AccBestLiteral
extends Object
implements org.apache.jena.sparql.expr.aggregate.Accumulator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BestLiteralConfigprotected org.apache.jena.graph.Nodeprotected int[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulate(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.function.FunctionEnv functionEnv) static <T> booleancompareIterators(Iterator<T> as, Iterator<T> bs, BiPredicate<T, T> op) org.apache.jena.sparql.expr.NodeValuegetValue()
-
Field Details
-
bestLiteralConfig
-
bestMatchNode
protected org.apache.jena.graph.Node bestMatchNode -
bestMatchScore
protected int[] bestMatchScore
-
-
Constructor Details
-
AccBestLiteral
-
-
Method Details
-
accumulate
public void accumulate(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.function.FunctionEnv functionEnv) - Specified by:
accumulatein interfaceorg.apache.jena.sparql.expr.aggregate.Accumulator
-
getValue
public org.apache.jena.sparql.expr.NodeValue getValue()- Specified by:
getValuein interfaceorg.apache.jena.sparql.expr.aggregate.Accumulator
-
compareIterators
-