Package | Description |
---|---|
com.caucho.amber.expr | |
com.caucho.amber.field | |
com.caucho.amber.manager | |
com.caucho.amber.query | |
com.caucho.amber.table | |
com.caucho.amber.type |
Modifier and Type | Method and Description |
---|---|
AmberTable |
OneToManyExpr.getTable()
Returns the table.
|
AmberTable |
ElementCollectionExpr.getTable()
Returns the table.
|
Modifier and Type | Method and Description |
---|---|
AmberTable |
ManyToManyField.getAssociationTable()
Returns the association table
|
AmberTable |
ElementCollectionField.getAssociationTable()
Returns the association table
|
AmberTable |
PropertyField.getTable()
Returns the table containing the field's columns.
|
AmberTable |
AbstractField.getTable()
Returns the table containing the field's columns.
|
AmberTable |
AmberField.getTable()
Returns the table containing the value (or null)
|
AmberTable |
EmbeddedSubField.getTable()
Returns the table containing the value (or null)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ManyToOneField.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause.
|
java.lang.String |
PropertyField.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause.
|
java.lang.String |
AbstractField.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause for an entity load.
|
java.lang.String |
AmberField.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause for an entity load.
|
java.lang.String |
EmbeddedSubField.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause for an entity load.
|
java.lang.String |
EntityEmbeddedField.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause.
|
java.lang.String |
EmbeddedIdField.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause.
|
void |
ManyToManyField.setAssociationTable(AmberTable table)
Sets the association table
|
void |
ElementCollectionField.setAssociationTable(AmberTable table)
Sets the association table
|
Modifier and Type | Method and Description |
---|---|
AmberTable |
AmberPersistenceUnit.createTable(java.lang.String tableName)
Creates a table.
|
Modifier and Type | Method and Description |
---|---|
AmberTable |
FromItem.getTable()
Returns the table.
|
Modifier and Type | Method and Description |
---|---|
FromItem |
QueryParser.addFromItem(AmberTable table)
Adds a new FromItem.
|
FromItem |
QueryParser.addFromItem(AmberTable table,
java.lang.String id)
Adds a new FromItem.
|
FromItem |
QueryParser.addFromItem(EntityType entityType,
AmberTable table)
Adds a new FromItem.
|
FromItem |
QueryParser.addFromItem(EntityType entityType,
AmberTable table,
java.lang.String id)
Adds a new FromItem.
|
FromItem |
AbstractQuery.createFromItem(AmberTable table,
java.lang.String name)
Sets the from list.
|
FromItem |
AbstractQuery.createFromItem(EntityType entityType,
AmberTable table,
java.lang.String name)
Sets the from list.
|
void |
FromItem.setTable(AmberTable table)
Sets the table.
|
Modifier and Type | Method and Description |
---|---|
AmberTable |
LinkColumns.getSourceTable()
Returns the source table.
|
AmberTable |
AmberColumn.getTable()
Returns the owning table.
|
AmberTable |
LinkColumns.getTargetTable()
Returns the target table.
|
Constructor and Description |
---|
AmberColumn(AmberTable table,
java.lang.String name,
AmberType type)
Creates the column.
|
LinkColumns(AmberTable sourceTable,
AmberTable targetTable,
java.util.ArrayList<ForeignColumn> columns)
Creates the table link.
|
Modifier and Type | Method and Description |
---|---|
AmberTable |
EntityType.getSecondaryTable(java.lang.String name)
Gets a secondary table.
|
AmberTable |
EntityType.getTable()
Returns the table.
|
AmberTable |
GeneratorTableType.getTable()
Returns the table.
|
AmberTable |
MappedSuperclassType.getTable() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<AmberTable> |
EntityType.getSecondaryTables()
Gets the secondary tables.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityType.addSecondaryTable(AmberTable table)
Adds a secondary table.
|
java.lang.String |
EntityType.generateAutoCreateSQL(AmberTable table)
Generates the auto insert sql.
|
java.lang.String |
EntityType.generateCreateSQL(AmberTable table)
Generates the insert sql.
|
protected void |
EntityType.generateInsertColumns(AmberTable table,
java.util.ArrayList<java.lang.String> columns) |
void |
EntityType.generateInsertSet(JavaWriter out,
AmberTable table,
java.lang.String pstmt,
java.lang.String query,
java.lang.String obj)
Generates the update sql.
|
java.lang.String |
EntityType.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause for a load.
|
java.lang.String |
EmbeddableType.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause for a load.
|
abstract java.lang.String |
AmberBeanType.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause for a load.
|
java.lang.String |
ElementType.generateLoadSelect(AmberTable table,
java.lang.String id)
Generates the select clause for a load.
|
java.lang.String |
AmberBeanType.generateLoadSelect(AmberTable table,
java.lang.String id,
int loadGroup)
Generates the select clause for a load.
|
void |
EntityType.generateLoadSelect(java.lang.StringBuilder sb,
AmberTable table,
java.lang.String id,
int loadGroup)
Generates the select clause for a load.
|
void |
AmberBeanType.generateLoadSelect(java.lang.StringBuilder sb,
AmberTable table,
java.lang.String id,
int loadGroup)
Generates the select clause for a load.
|
void |
EntityType.setTable(AmberTable table)
Sets the table.
|