protected static class SelectImpl.Selects extends AbstractList
Modifier and Type | Field and Description |
---|---|
protected Map |
_aliases |
protected DBDictionary |
_dict |
protected List |
_idents |
protected List |
_ids |
protected Map |
_selectAs |
modCount
Modifier | Constructor and Description |
---|---|
protected |
SelectImpl.Selects() |
Modifier and Type | Method and Description |
---|---|
void |
addAll(SelectImpl.Selects sels)
Add all aliases from another instance.
|
void |
clear() |
void |
clearPlaceholders()
Clear all placeholders and select AS clauses.
|
boolean |
contains(Object id) |
Object |
get(int i) |
Object |
getAlias(Object id)
Returns the alias of a given id.
|
List |
getAliases(boolean ident,
boolean inner)
A list representation of the aliases, in select order, with
AS aliases present.
|
int |
indexOfAlias(Object alias)
Return the index of the given alias.
|
void |
insertAlias(int idx,
Object id,
Object alias)
Insert an alias before the given index, using negative indexes
to count backwards.
|
void |
setAlias(int idx,
Object alias)
Set an alias for a given index.
|
int |
setAlias(Object id,
Object alias,
boolean ident)
Set an alias for a given id.
|
void |
setSelectAs(Object id,
String as)
Set that a given id's alias has an AS value.
|
int |
size() |
add, add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
protected List _ids
protected List _idents
protected Map _aliases
protected Map _selectAs
protected DBDictionary _dict
public void addAll(SelectImpl.Selects sels)
public void setAlias(int idx, Object alias)
public void insertAlias(int idx, Object id, Object alias)
public int indexOfAlias(Object alias)
public List getAliases(boolean ident, boolean inner)
public void setSelectAs(Object id, String as)
public void clearPlaceholders()
public boolean contains(Object id)
contains
in interface Collection
contains
in interface List
contains
in class AbstractCollection
public Object get(int i)
get
in interface List
get
in class AbstractList
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
public void clear()
clear
in interface Collection
clear
in interface List
clear
in class AbstractList
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.