Class 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 Detail

      • PropFuncArg

        public PropFuncArg​(java.util.List<Node> argList,
                           Node arg)
      • PropFuncArg

        public PropFuncArg​(java.util.List<Node> argList)
      • PropFuncArg

        public PropFuncArg​(Node arg)
    • Method Detail

      • getArg

        public Node getArg()
      • getArgList

        public java.util.List<Node> getArgList()
      • getArgListSize

        public int getArgListSize()
      • getArg

        public Node getArg​(int index)
      • hashCode

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

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.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​(java.util.Collection<Var> acc,
                                   PropFuncArg pfArg)