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 Details

    • bestLiteralConfig

      protected BestLiteralConfig bestLiteralConfig
    • bestMatchNode

      protected org.apache.jena.graph.Node bestMatchNode
    • bestMatchScore

      protected int[] bestMatchScore
  • Constructor Details

  • Method Details

    • accumulate

      public void accumulate(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.function.FunctionEnv functionEnv)
      Specified by:
      accumulate in interface org.apache.jena.sparql.expr.aggregate.Accumulator
    • getValue

      public org.apache.jena.sparql.expr.NodeValue getValue()
      Specified by:
      getValue in interface org.apache.jena.sparql.expr.aggregate.Accumulator
    • compareIterators

      public static <T> boolean compareIterators(Iterator<T> as, Iterator<T> bs, BiPredicate<T,T> op)