Class PredicateClause

    • Field Detail

      • arguments

        protected List arguments
    • Constructor Detail

      • PredicateClause

        public PredicateClause()
      • PredicateClause

        public PredicateClause​(PredicateIF predicate)
      • PredicateClause

        public PredicateClause​(PredicateIF predicate,
                               List arguments)
    • Method Detail

      • getArguments

        public List getArguments()
        Description copied from class: AbstractClause
        INTERNAL: Returns the arguments of this clause. For OrClause this is the list of all arguments to all the subclauses in the OrClause. Likewise for NotClause.
        Specified by:
        getArguments in class AbstractClause
      • setPredicate

        public void setPredicate​(PredicateIF predicate)
      • addArgument

        public void addArgument​(Object object)
      • getAllLiterals

        public Collection getAllLiterals()
        Description copied from class: AbstractClause
        INTERNAL: Returns all the literals used by this clause as parameters. (Literals in the second half of pair arguments are ignored.)
        Specified by:
        getAllLiterals in class AbstractClause
      • getReplacement

        public PredicateClause getReplacement()
        INTERNAL: Returns an equivalent, but more efficient, clause, if such a clause is possible; if not returns itself. Used by the optimizer to optimize queries.