Class MatchAdapter<X,T>

java.lang.Object
org.apache.jena.rdfs.engine.MatchAdapter<X,T>
All Implemented Interfaces:
Match<org.apache.jena.graph.Node,org.apache.jena.graph.Triple>

public final class MatchAdapter<X,T> extends Object implements Match<org.apache.jena.graph.Node,org.apache.jena.graph.Triple>
This is the bridge between the Node/Triple level and some lower level such as one based on NodeIds.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MatchAdapter(Match<X,T> below, MapperX<X,T> mapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    MapperX<org.apache.jena.graph.Node,org.apache.jena.graph.Triple>
    The mapper for reuse with wrappers.
    Stream<org.apache.jena.graph.Triple>
    match(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.jena.rdfs.engine.Match

    contains
  • Constructor Details

  • Method Details

    • match

      public Stream<org.apache.jena.graph.Triple> match(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
      Specified by:
      match in interface Match<X,T>
    • getMapper

      public MapperX<org.apache.jena.graph.Node,org.apache.jena.graph.Triple> getMapper()
      Description copied from interface: Match
      The mapper for reuse with wrappers. Note that this indirectly ties the Match interface to the Node realm: One can use the mapper to obtain X for e.g. RDF.Nodes.type.
      Specified by:
      getMapper in interface Match<X,T>