Class DFTerm

  • Direct Known Subclasses:
    DFTermCount, DFTermExpression, DFTermField, DFTermValue

    public abstract class DFTerm
    extends java.lang.Object
    This object is a superclass of all objects used for definition of expression terms for query execution in DIF.
    Author:
    Petr Hamernik
    • Method Detail

      • validate

        public final TermErrors validate​(DFDataTree dataTree)
        Validate the term.
        Parameters:
        dataTree - The parameter is optional (it means it can be null). If dataTree is specified the term is validated in context of the datatree otherwise (if null) it is supposed that the whole term is defined inside one DFEntity
        Returns:
        The result of validation. Never returns null.
      • accept

        public abstract void accept​(DFTermVisitor visitor)