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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FromClause()
FromClause(int type, FromList elements)
FromClause(FromList elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(IVisitor visitor)
Accept the given visitor.void
add(String element)
void
add(String alias, String element)
int
count()
boolean
equals(Object obj)
String
get(int i)
String
get(String alias)
String
getAlias(int i)
int
getType()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
DOCTYPE
public static final int DOCTYPE
- See Also:
- Constant Field Values
-
LOCATION
public static final int LOCATION
- See Also:
- Constant Field Values
-
elements
public final FromList elements
-
type
public final int type
-
-
Method Detail
-
add
public void add(String element)
-
get
public String get(int i)
-
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
-
-