| Package | Description |
|---|---|
| com.github.quintans.ezSQL | |
| com.github.quintans.ezSQL.db | |
| com.github.quintans.ezSQL.dml | |
| com.github.quintans.ezSQL.driver |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
AbstractDb.loadAssociation(Object bean,
Association association)
gets the value at the end of the association from the database, puts in the input bean and returns the value.
|
| Modifier and Type | Field and Description |
|---|---|
protected Association |
Association.fromM2M |
protected Association |
Association.toM2M |
| Modifier and Type | Method and Description |
|---|---|
Association |
Table.addAssociation(Association fk) |
Association |
Table.addAssociation(String name,
Association fk) |
Association |
Relashionships.AS(String alias) |
Association |
Association.AS(String alias) |
Association |
Association.bareCopy() |
Association |
Association.getFromM2M() |
Association |
Association.getToM2M() |
Association |
Association.WITH(Column<?> column,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Association> |
Table.getAssociations() |
| Modifier and Type | Method and Description |
|---|---|
Association |
Table.addAssociation(Association fk) |
Association |
Table.addAssociation(String name,
Association fk) |
void |
Association.setFromM2M(Association fromM2M) |
void |
Association.setToM2M(Association toM2M) |
| Constructor and Description |
|---|
Association(Association fk)
Copy constructor
|
Association(String alias,
Association fkey)
Cria uma ForeignKey com as relações invertidas da ForeignKey passada
WARNING: this can lead to ExceptionInInitialitionError due to circular references. |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Association,String> |
AliasBag.bag |
| Modifier and Type | Method and Description |
|---|---|
Association[] |
Join.getAssociations() |
Association |
PathElement.getBase() |
Association |
PathElement.getDerived() |
| Modifier and Type | Method and Description |
|---|---|
String |
AliasBag.getAlias(Association fk) |
String |
DmlBase.getAliasForAssociation(Association association) |
Query |
Query.inner(Association... associations)
includes the associations as inner joins to the current path.
|
Query |
Query.innerFetch(Association... associations)
Executa um INNER join com as tabelas definidas pelas foreign keys.
TODAS as colunas das tabelas intermédias são incluidas no select bem como TODAS as colunas da tabela no fim das associações. |
Query |
Query.innerJoin(Association... associations)
The same as inner(...).join()
|
Query |
Query.order(Column<?> column,
Association... associations)
Order by column belonging to another table.
|
Query |
Query.outer(Association... associations)
includes the associations as outer joins to the current path
|
Query |
Query.outerFetch(Association... associations)
Executa um OUTER join com as tabelas definidas pelas foreign keys.
TODAS as colunas das tabelas intermédias são incluidas no select bem como a TODAS as colunas da tabela no fim das associações. |
Query |
Query.outerJoin(Association... associations)
The same as outer(...).join()
|
void |
AliasBag.setAlias(Association fk,
String alias) |
void |
PathElement.setBase(Association base) |
void |
PathElement.setDerived(Association derived) |
| Constructor and Description |
|---|
PathElement(Association base,
Boolean inner) |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericQueryBuilder.joinAssociation(Association fk,
boolean inner) |
Copyright © 2019. All rights reserved.