Class FromClause

java.lang.Object
org.nuxeo.ecm.core.query.sql.model.Clause
org.nuxeo.ecm.core.query.sql.model.FromClause
All Implemented Interfaces:
Serializable, ASTNode

public class FromClause extends Clause
Author:
Bogdan Stefanescu
See Also:
  • Field Details

  • Constructor Details

    • FromClause

      public FromClause()
    • FromClause

      public FromClause(FromList elements)
    • FromClause

      public FromClause(int type, FromList elements)
  • Method Details

    • add

      public void add(String alias, String element)
    • add

      public void add(String element)
    • get

      public String get(int i)
    • get

      public String get(String alias)
    • getAlias

      public String getAlias(int i)
    • count

      public int count()
    • getType

      public int getType()
    • accept

      public void accept(IVisitor visitor)
      Description copied from interface: ASTNode
      Accept the given visitor.
      Parameters:
      visitor - the AST node visitor
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object