Class PropFuncArg

java.lang.Object
org.apache.jena.sparql.util.PrintSerializableBase
org.apache.jena.sparql.pfunction.PropFuncArg
All Implemented Interfaces:
org.apache.jena.atlas.io.Printable, PrintSerializable

public class PropFuncArg extends PrintSerializableBase
Class representing an argument (subject or object position) of a property function. Such an argument can be a graph node (variable, IRI, literal). Blank nodes from the query will be seen as variables. Most implementations will want to work with the property function arguments after substitution from the current binding.
  • Constructor Details

    • PropFuncArg

      public PropFuncArg(List<org.apache.jena.graph.Node> argList, org.apache.jena.graph.Node arg)
    • PropFuncArg

      public PropFuncArg(List<org.apache.jena.graph.Node> argList)
    • PropFuncArg

      public PropFuncArg(org.apache.jena.graph.Node arg)
  • Method Details

    • getArg

      public org.apache.jena.graph.Node getArg()
    • getArgList

      public List<org.apache.jena.graph.Node> getArgList()
    • getArgListSize

      public int getArgListSize()
    • getArg

      public org.apache.jena.graph.Node getArg(int index)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • isList

      public boolean isList()
    • isNode

      public boolean isNode()
    • asExprList

      public ExprList asExprList()
    • output

      public void output(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)
    • addVars

      public static void addVars(Collection<Var> acc, PropFuncArg pfArg)