| Modifier and Type | Method and Description |
|---|---|
BeanDescriptor<?> |
LoadManyBuffer.getBeanDescriptor() |
BeanDescriptor<?> |
LoadBeanBuffer.getBeanDescriptor() |
BeanDescriptor<?> |
SpiExpressionRequest.getBeanDescriptor()
Return the bean descriptor for the root type.
|
<T> BeanDescriptor<T> |
SpiEbeanServer.getBeanDescriptor(Class<T> type)
Return the BeanDescriptor for a given type of bean.
|
BeanDescriptor<?> |
SpiEbeanServer.getBeanDescriptorById(String descriptorId)
Return BeanDescriptor using it's unique id.
|
| Modifier and Type | Method and Description |
|---|---|
List<BeanDescriptor<?>> |
SpiEbeanServer.getBeanDescriptors()
Return all the descriptors.
|
List<BeanDescriptor<?>> |
SpiEbeanServer.getBeanDescriptors(String tableName)
Return BeanDescriptors mapped to this table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionEvent.addDeleteById(BeanDescriptor<?> desc,
Object id) |
void |
TransactionEvent.addDeleteByIdList(BeanDescriptor<?> desc,
List<Object> idList) |
void |
SpiExpression.containsMany(BeanDescriptor<?> desc,
ManyWhereJoins whereManyJoins)
Process "Many" properties populating ManyWhereJoins.
|
void |
SpiExpressionList.containsMany(BeanDescriptor<?> desc,
ManyWhereJoins manyWhereJoins)
Process "Many" properties populating ManyWhereJoins.
|
<T> SpiOrmQueryRequest<T> |
SpiEbeanServer.createQueryRequest(BeanDescriptor<T> desc,
SpiQuery<T> q,
Transaction t)
Create a query request object.
|
void |
SpiQuery.setBeanDescriptor(BeanDescriptor<?> desc)
Set the BeanDescriptor for the root type of this query.
|
| Modifier and Type | Method and Description |
|---|---|
OrmQueryDetail |
Statistics.buildTunedFetch(BeanDescriptor<?> rootDesc) |
void |
StatisticsNodeUsage.buildTunedFetch(PathProperties pathProps,
BeanDescriptor<?> rootDesc) |
| Modifier and Type | Method and Description |
|---|---|
static CachedBeanData |
CachedBeanDataFromBean.extract(BeanDescriptor<?> desc,
Object bean) |
static CachedBeanData |
CachedBeanDataFromBean.extract(BeanDescriptor<?> desc,
Object bean,
EntityBeanIntercept ebi) |
static void |
CachedBeanDataToBean.load(BeanDescriptor<?> desc,
Object bean,
CachedBeanData cacheBeandata) |
static void |
CachedBeanDataToBean.load(BeanDescriptor<?> desc,
Object bean,
EntityBeanIntercept ebi,
CachedBeanData cacheBeandata) |
static CachedBeanData |
CachedBeanDataUpdate.update(BeanDescriptor<?> desc,
CachedBeanData data,
PersistRequestBean<?> updateRequest) |
| Modifier and Type | Field and Description |
|---|---|
protected BeanDescriptor<T> |
PersistRequestBean.beanDescriptor |
| Modifier and Type | Method and Description |
|---|---|
BeanDescriptor<T> |
PersistRequestBean.getBeanDescriptor()
Return the BeanDescriptor for the associated bean.
|
BeanDescriptor<?> |
PersistRequestOrmUpdate.getBeanDescriptor() |
BeanDescriptor<?> |
SpiOrmQueryRequest.getBeanDescriptor()
Return the associated BeanDescriptor.
|
BeanDescriptor<T> |
OrmQueryRequest.getBeanDescriptor()
Return the BeanDescriptor for the associated bean.
|
<T> BeanDescriptor<T> |
DefaultServer.getBeanDescriptor(Class<T> beanClass)
Return the BeanDescriptor for a given type of bean.
|
BeanDescriptor<?> |
DefaultServer.getBeanDescriptorById(String descriptorId)
Return the BeanDescriptor using its unique id.
|
| Modifier and Type | Method and Description |
|---|---|
List<BeanDescriptor<?>> |
DefaultServer.getBeanDescriptors()
Return all the BeanDescriptors.
|
List<BeanDescriptor<?>> |
DefaultServer.getBeanDescriptors(String tableName)
Return the BeanDescriptor's for a given table name.
|
| Modifier and Type | Method and Description |
|---|---|
<T> SpiOrmQueryRequest<T> |
DefaultServer.createQueryRequest(BeanDescriptor<T> desc,
SpiQuery<T> query,
Transaction t) |
Map<String,ValuePair> |
DiffHelp.diff(Object a,
Object b,
BeanDescriptor<?> desc)
Return a map of the differences between a and b.
|
| Constructor and Description |
|---|
OrmQueryRequest(SpiEbeanServer server,
OrmQueryEngine queryEngine,
SpiQuery<T> query,
BeanDescriptor<T> desc,
SpiTransaction t)
Create the InternalQueryRequest.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CreateTableVisitor.visitBean(BeanDescriptor<?> descriptor) |
boolean |
DropTableVisitor.visitBean(BeanDescriptor<?> descriptor) |
boolean |
AddForeignKeysVisitor.visitBean(BeanDescriptor<?> descriptor) |
boolean |
CreateSequenceVisitor.visitBean(BeanDescriptor<?> descriptor) |
boolean |
BeanVisitor.visitBean(BeanDescriptor<?> descriptor)
Visit a BeanDescriptor and return true to continue visiting the bean
(return false to skip visiting this bean).
|
boolean |
DropSequenceVisitor.visitBean(BeanDescriptor<?> descriptor) |
static void |
VisitorUtil.visitBean(BeanDescriptor<?> desc,
BeanVisitor visitor)
Visit the bean using a visitor.
|
void |
CreateTableVisitor.visitBeanEnd(BeanDescriptor<?> descriptor) |
void |
DropTableVisitor.visitBeanEnd(BeanDescriptor<?> descriptor) |
void |
AddForeignKeysVisitor.visitBeanEnd(BeanDescriptor<?> descriptor) |
void |
CreateSequenceVisitor.visitBeanEnd(BeanDescriptor<?> descriptor) |
void |
BeanVisitor.visitBeanEnd(BeanDescriptor<?> descriptor)
Finished visiting the BeanDescriptor.
|
void |
DropSequenceVisitor.visitBeanEnd(BeanDescriptor<?> descriptor) |
void |
AbstractBeanVisitor.visitInheritanceProperties(BeanDescriptor<?> descriptor,
PropertyVisitor pv)
Visit all the other inheritance properties that are not on the root.
|
protected void |
DropTableVisitor.writeDropTable(BeanDescriptor<?> descriptor) |
protected void |
CreateTableVisitor.writeTableName(BeanDescriptor<?> descriptor)
Write the table name including a check for SQL reserved words.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
VisitorUtil.visit(List<BeanDescriptor<?>> descriptors,
BeanVisitor visitor)
Visit all the descriptors in the list.
|
| Modifier and Type | Method and Description |
|---|---|
BeanDescriptor<T> |
BeanManager.getBeanDescriptor()
Return the BeanDescriptor.
|
protected BeanDescriptor<?> |
DRawSqlSelectBuilder.getBeanDescriptor() |
BeanDescriptor<?> |
DRawSqlSelect.getBeanDescriptor() |
BeanDescriptor<?> |
InheritInfo.getBeanDescriptor()
Return the associated BeanDescriptor for this node.
|
BeanDescriptor<?> |
BeanProperty.getBeanDescriptor()
Return the BeanDescriptor that owns this property.
|
<T> BeanDescriptor<T> |
BeanDescriptorMap.getBeanDescriptor(Class<T> entityType)
Return the BeanDescriptor for a given class.
|
<T> BeanDescriptor<T> |
BeanDescriptorManager.getBeanDescriptor(Class<T> entityType) |
<U> BeanDescriptor<U> |
BeanDescriptor.getBeanDescriptor(Class<U> otherType)
Return the BeanDescriptor of another bean type.
|
BeanDescriptor<?> |
BeanDescriptor.getBeanDescriptor(String path)
Return the BeanDescriptor for a given path of Associated One or Many beans.
|
<T> BeanDescriptor<T> |
BeanDescriptorManager.getBeanDescriptor(String entityClassName) |
BeanDescriptor<?> |
BeanDescriptorManager.getBeanDescriptorById(String descriptorId) |
BeanDescriptor<T> |
BeanPropertyAssoc.getTargetDescriptor()
Return the BeanDescriptor of the target.
|
| Modifier and Type | Method and Description |
|---|---|
List<BeanDescriptor<?>> |
BeanDescriptorManager.getBeanDescriptorList()
Return an immutable list of all the BeanDescriptors.
|
Map<String,BeanDescriptor<?>> |
BeanDescriptorManager.getBeanDescriptors() |
List<BeanDescriptor<?>> |
BeanDescriptorManager.getBeanDescriptors(String tableName)
Return the BeanDescriptors mapped to the table.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
DeployUpdateMapFactory.build(BeanDescriptor<?> descriptor)
Build a map of logical to physical names for use in Orm Updates for a given descriptor.
|
<T> BeanManager<T> |
BeanManagerFactory.create(BeanDescriptor<T> desc) |
static BeanEmbeddedMeta |
BeanEmbeddedMetaFactory.create(BeanDescriptorMap owner,
DeployBeanPropertyAssocOne<?> prop,
BeanDescriptor<?> descriptor)
Create BeanProperties for embedded beans using the deployment specific DB column name and table alias.
|
protected ImportedId |
BeanPropertyAssoc.createImportedId(BeanPropertyAssoc<?> owner,
BeanDescriptor<?> target,
TableJoin join)
Build the list of imported property.
|
void |
InheritInfo.setDescriptor(BeanDescriptor<?> descriptor)
Set the descriptor for this node.
|
void |
IntersectionRow.setExcludeIds(ArrayList<Object> excludeIds,
BeanDescriptor<?> excludeDescriptor)
Set Id's to exclude.
|
| Modifier and Type | Method and Description |
|---|---|
BeanDescriptor<?> |
IdBinderEmbedded.getIdBeanDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
BeanPropertyCompoundRoot |
DeployBeanPropertyCompound.getFlatProperties(BeanDescriptorMap owner,
BeanDescriptor<?> descriptor) |
| Constructor and Description |
|---|
DeployBeanPropertyLists(BeanDescriptorMap owner,
BeanDescriptor<?> desc,
DeployBeanDescriptor<?> deploy) |
| Constructor and Description |
|---|
ElFilter(BeanDescriptor<T> beanDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractExpression.containsMany(BeanDescriptor<?> desc,
ManyWhereJoins manyWhereJoin) |
void |
DefaultExampleExpression.containsMany(BeanDescriptor<?> desc,
ManyWhereJoins whereManyJoins) |
void |
IdInExpression.containsMany(BeanDescriptor<?> desc,
ManyWhereJoins manyWhereJoin) |
| Modifier and Type | Field and Description |
|---|---|
protected BeanDescriptor<?> |
DLoadBaseContext.desc |
| Modifier and Type | Method and Description |
|---|---|
BeanDescriptor<?> |
DLoadBeanContext.LoadBuffer.getBeanDescriptor() |
BeanDescriptor<?> |
DLoadManyContext.getBeanDescriptor() |
BeanDescriptor<?> |
DLoadManyContext.LoadBuffer.getBeanDescriptor() |
| Constructor and Description |
|---|
DLoadBaseContext(DLoadContext parent,
BeanDescriptor<?> desc,
String path,
int defaultBatchSize,
OrmQueryProperties queryProps) |
DLoadBeanContext(DLoadContext parent,
BeanDescriptor<?> desc,
String path,
int defaultBatchSize,
OrmQueryProperties queryProps) |
DLoadContext(SpiEbeanServer ebeanServer,
BeanDescriptor<?> rootDescriptor,
Boolean readOnly,
SpiQuery<?> query) |
| Modifier and Type | Method and Description |
|---|---|
BeanPersister |
BeanPersisterFactory.create(BeanDescriptor<?> desc)
Create the BeanPersister implemenation for a given type.
|
| Constructor and Description |
|---|
BatchedBeanHolder(BatchControl control,
BeanDescriptor<?> beanDescriptor,
int order)
Create a new entry with a given type and depth.
|
| Modifier and Type | Method and Description |
|---|---|
BeanPersister |
DmlBeanPersisterFactory.create(BeanDescriptor<?> desc)
Create a DmlBeanPersister for the given bean type.
|
DeleteMeta |
MetaFactory.createDelete(BeanDescriptor<?> desc)
Create the DeleteMeta for the given bean type.
|
InsertMeta |
MetaFactory.createInsert(BeanDescriptor<?> desc)
Create the InsertMeta for the given bean type.
|
UpdateMeta |
MetaFactory.createUpdate(BeanDescriptor<?> desc)
Create the UpdateMeta for the given bean type.
|
| Constructor and Description |
|---|
DeleteMeta(boolean emptyStringAsNull,
BeanDescriptor<?> desc,
BindableId id,
Bindable version,
Bindable all) |
InsertMeta(DatabasePlatform dbPlatform,
BeanDescriptor<?> desc,
Bindable shadowFKey,
BindableId id,
Bindable all) |
UpdateMeta(boolean emptyStringAsNull,
BeanDescriptor<?> desc,
BindableList set,
BindableId id,
Bindable version,
Bindable all) |
| Modifier and Type | Method and Description |
|---|---|
Bindable |
FactoryVersion.create(BeanDescriptor<?> desc)
Create a Bindable for the version property(s) for a bean type.
|
List<Bindable> |
FactoryAssocOnes.create(List<Bindable> list,
BeanDescriptor<?> desc,
DmlMode mode)
Add foreign key columns from associated one beans.
|
void |
FactoryEmbedded.create(List<Bindable> list,
BeanDescriptor<?> desc,
DmlMode mode,
boolean withLobs)
Add bindable for the embedded properties to the list.
|
void |
FactoryBaseProperties.create(List<Bindable> list,
BeanDescriptor<?> desc,
DmlMode mode,
boolean withLobs)
Add Bindable for the base properties to the list.
|
BindableId |
FactoryId.createId(BeanDescriptor<?> desc)
Add uniqueId properties.
|
| Constructor and Description |
|---|
BindableIdEmbedded(BeanPropertyAssocOne<?> embId,
BeanDescriptor<?> desc) |
BindableIdMap(BeanProperty[] uids,
BeanDescriptor<?> desc) |
BindableUnidirectional(BeanDescriptor<?> desc,
BeanPropertyAssocOne<?> unidirectional) |
| Modifier and Type | Method and Description |
|---|---|
void |
SqlTreeAlias.addJoin(Set<String> propJoins,
BeanDescriptor<?> desc)
Add joins.
|
static Set<String> |
LoadedPropertiesCache.get(int partialHash,
Set<String> partialProps,
BeanDescriptor<?> desc) |
static String |
CQueryOrderBy.parse(BeanDescriptor<?> desc,
SpiQuery<?> query)
Create the logical order by clause.
|
| Constructor and Description |
|---|
BackgroundIdFetch(SpiTransaction transaction,
ResultSet rset,
PreparedStatement pstmt,
DbReadContext ctx,
BeanDescriptor<?> beanDescriptor,
BeanIdList idList)
Create the BackgroundFetch.
|
SqlTreeNodeBean(String prefix,
BeanPropertyAssoc<?> beanProp,
BeanDescriptor<?> desc,
SqlTreeProperties props,
List<SqlTreeNode> myChildren,
boolean withId,
BeanPropertyAssocMany<?> lazyLoadParent)
Create with the appropriate node.
|
SqlTreeNodeRoot(BeanDescriptor<?> desc,
SqlTreeProperties props,
List<SqlTreeNode> myList,
boolean withId) |
SqlTreeNodeRoot(BeanDescriptor<?> desc,
SqlTreeProperties props,
List<SqlTreeNode> myList,
boolean withId,
TableJoin includeJoin,
BeanPropertyAssocMany<?> many)
Specify for SqlSelect to include an Id property or not.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OrmQueryDetail.convertManyFetchJoinsToQueryJoins(BeanDescriptor<?> beanDescriptor,
String lazyLoadManyPath,
boolean allowOne,
int queryBatch)
Convert 'fetch joins' to 'many' properties over to 'query joins'.
|
void |
DefaultOrmQuery.setBeanDescriptor(BeanDescriptor<?> beanDescriptor)
Set the BeanDescriptor for the root type of this query.
|
void |
OrmQueryDetail.setDefaultSelectClause(BeanDescriptor<?> desc)
Set any default select clauses for the main bean and any joins that have
not explicitly defined a select clause.
|
void |
OrmQueryDetail.sortFetchPaths(BeanDescriptor<?> d) |
| Constructor and Description |
|---|
TCsvReader(EbeanServer server,
BeanDescriptor<T> descriptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReadJsonContext.pushBean(Object bean,
String path,
BeanDescriptor<?> beanDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
BeanDescriptor<?> |
BeanDeltaList.getBeanDescriptor() |
BeanDescriptor<?> |
BeanPathUpdateIds.getBeanDescriptor() |
BeanDescriptor<?> |
BeanDelta.getBeanDescriptor() |
BeanDescriptor<?> |
BeanPersistIds.getBeanDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
DeleteByIdMap.add(BeanDescriptor<?> desc,
Object id)
Add a Insert Update or Delete payload.
|
void |
BeanPersistIdMap.add(BeanDescriptor<?> desc,
PersistRequest.Type type,
Object id)
Add a Insert Update or Delete payload.
|
void |
BeanPathUpdate.add(BeanDescriptor<?> desc,
String path,
Object id) |
void |
DeleteByIdMap.addList(BeanDescriptor<?> desc,
List<Object> idList)
Add a List of Insert Update or Delete Id's.
|
void |
BeanPersistIds.setBeanDescriptor(BeanDescriptor<?> beanDescriptor) |
| Constructor and Description |
|---|
BeanDelta(BeanDescriptor<?> beanDescriptor,
Object id) |
BeanDeltaList(BeanDescriptor<?> beanDescriptor) |
BeanPathUpdateIds(BeanDescriptor<?> desc,
String path)
Create the payload.
|
BeanPersistIds(BeanDescriptor<?> desc)
Create the payload.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
BindParamsParser.parse(BindParams params,
String sql,
BeanDescriptor<?> beanDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
BeanDescriptor<?> |
DefaultExpressionRequest.getBeanDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultExpressionList.containsMany(BeanDescriptor<?> desc,
ManyWhereJoins whereManyJoins)
Return true if one of the expressions is related to a Many property.
|
| Constructor and Description |
|---|
DefaultExpressionRequest(BeanDescriptor<?> beanDescriptor) |
Copyright © 2014. All Rights Reserved.