public class FromClause extends AbstractQueryClause<FromItem>
FromItem
,
Serialized FormDELIM_AND, DELIM_COMMA, PREFIX_FROM, PREFIX_GROUP_BY, PREFIX_HAVING, PREFIX_ORDER_BY, PREFIX_SELECT, PREFIX_WHERE
Constructor and Description |
---|
FromClause(Query query) |
Modifier and Type | Method and Description |
---|---|
String |
getAlias(Table table)
Gets the alias of a table, if it is registered (and visible, ie.
|
FromItem |
getItemByReference(String reference)
Retrieves a table by it's reference which may be it's alias or it's
qualified table name.
|
addItem, addItem, addItems, addItems, decorateIdentity, getItem, getItemCount, getItems, isEmpty, removeItem, removeItem, removeItems, setItems, toSql, toSql, toString
classEquals, equals, hashCode
public FromClause(Query query)
public String getAlias(Table table)
table
- the table to get the alias forpublic FromItem getItemByReference(String reference)
reference
- Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.