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 |
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, subListaddAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamprotected 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 Collectioncontains in interface Listcontains in class AbstractCollectionpublic Object get(int i)
get in interface Listget in class AbstractListpublic int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionpublic void clear()
clear in interface Collectionclear in interface Listclear in class AbstractListCopyright © 2006–2022 Apache Software Foundation. All rights reserved.