Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel.exps |
OpenJPA-JDBC Expression Tree
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
Library of mapping strategies.
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
Utilities for generating SQL.
|
Modifier and Type | Field and Description |
---|---|
Joins |
ExpState.joins |
Constructor and Description |
---|
ExpState(Joins joins) |
PathExpState(Joins joins) |
Modifier and Type | Method and Description |
---|---|
Joins |
FieldStrategy.join(Joins joins,
boolean forceOuter)
Join this value to the class table.
|
Joins |
FieldMapping.join(Joins joins,
boolean forceOuter) |
Joins |
FieldMapping.join(Joins joins,
boolean forceOuter,
boolean toMany)
Joins from the owning class' table to the table where this field lies
using the join foreign key.
|
Joins |
FieldMapping.join(Select sel)
Return any joins needed to get from the primary table to this table.
|
Joins |
FieldStrategy.joinKey(Joins joins,
boolean forceOuter)
Join the key value to the class table.
|
Joins |
FieldMapping.joinKey(Joins joins,
boolean forceOuter) |
Joins |
FieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse)
Join this value's table to the table for the related first class object
key type, if any.
|
Joins |
FieldMapping.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
FieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse)
Join this value's table to the table for the related first class object
type, if any.
|
Joins |
FieldMapping.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
ClassStrategy.joinSuperclass(Joins joins,
boolean toThis)
Join the mapping and its superclass.
|
Joins |
ClassMapping.joinSuperclass(Joins joins,
boolean toThis) |
Modifier and Type | Method and Description |
---|---|
boolean |
Discriminator.addClassConditions(Select sel,
boolean subs,
Joins joins)
Add WHERE conditions to the given select limiting the returned results
to our mapping type, possibly including subclasses.
|
void |
FieldStrategy.appendIndex(SQLBuffer sql,
Select sel,
Joins joins)
Append the ordered column alias to the given statement.
|
void |
FieldMapping.appendIndex(SQLBuffer sql,
Select sel,
Joins joins) |
void |
FieldStrategy.appendIsEmpty(SQLBuffer sql,
Select sel,
Joins joins)
Append a where clause to the given statement checking if this value
is empty.
|
void |
FieldMapping.appendIsEmpty(SQLBuffer sql,
Select sel,
Joins joins) |
void |
FieldStrategy.appendIsNotEmpty(SQLBuffer sql,
Select sel,
Joins joins)
Append a where clause to the given statement checking if this value
is not empty.
|
void |
FieldMapping.appendIsNotEmpty(SQLBuffer sql,
Select sel,
Joins joins) |
void |
FieldStrategy.appendIsNotNull(SQLBuffer sql,
Select sel,
Joins joins)
Append a where clause to the given statement checking if this value
is not null.
|
void |
FieldMapping.appendIsNotNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
FieldStrategy.appendIsNull(SQLBuffer sql,
Select sel,
Joins joins)
Append a where clause to the given statement checking if this value
is null.
|
void |
FieldMapping.appendIsNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
FieldStrategy.appendSize(SQLBuffer sql,
Select sel,
Joins joins)
Append a where clause to the given statement checking the size
of the value.
|
void |
FieldMapping.appendSize(SQLBuffer sql,
Select sel,
Joins joins) |
void |
FieldStrategy.appendType(SQLBuffer sql,
Select sel,
Joins joins)
Append the entity discriminator value to the given statement.
|
void |
FieldMapping.appendType(SQLBuffer sql,
Select sel,
Joins joins) |
SQLBuffer |
Discriminator.getClassConditions(Select sel,
Joins joins,
ClassMapping base,
boolean subs) |
SQLBuffer |
DiscriminatorStrategy.getClassConditions(Select sel,
Joins joins,
ClassMapping base,
boolean subs)
Return SQL to limit the classes selected as much as possible to the
given base class, and optionally its subclasses.
|
Object |
ClassMapping.getObjectId(JDBCStore store,
Result res,
ForeignKey fk,
boolean subs,
Joins joins)
Return the oid value stored in the result.
|
Object |
Joinable.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins)
Return the value for this joinable from the given result, using the
given columns.
|
Object |
DelegatingJoinable.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Joins |
FieldStrategy.join(Joins joins,
boolean forceOuter)
Join this value to the class table.
|
Joins |
FieldMapping.join(Joins joins,
boolean forceOuter) |
Joins |
FieldMapping.join(Joins joins,
boolean forceOuter,
boolean toMany)
Joins from the owning class' table to the table where this field lies
using the join foreign key.
|
Joins |
FieldStrategy.joinKey(Joins joins,
boolean forceOuter)
Join the key value to the class table.
|
Joins |
FieldMapping.joinKey(Joins joins,
boolean forceOuter) |
Joins |
FieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse)
Join this value's table to the table for the related first class object
key type, if any.
|
Joins |
FieldMapping.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
FieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse)
Join this value's table to the table for the related first class object
type, if any.
|
Joins |
FieldMapping.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
ClassStrategy.joinSuperclass(Joins joins,
boolean toThis)
Join the mapping and its superclass.
|
Joins |
ClassMapping.joinSuperclass(Joins joins,
boolean toThis) |
Object |
Version.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins) |
Object |
VersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins)
Load data.
|
Object |
FieldStrategy.loadKeyProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load this field's key value using the given result.
|
Object |
FieldMapping.loadKeyProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
FieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load this field value using the given result.
|
Object |
FieldMapping.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
QueryResultMapping.PCResult.map(List<MetaDataContext> path,
Object id,
Joins joins)
Map the given request onto a result id.
|
void |
FieldMapping.orderLocal(Select sel,
ClassMapping elem,
Joins joins)
Add ordering to the given select for all non-relation order values,
including the synthetic order column, if any.
|
void |
FieldMapping.orderRelation(Select sel,
ClassMapping elem,
Joins joins)
Add ordering to the given select for all relation-based values.
|
Modifier and Type | Method and Description |
---|---|
Joins |
HandlerCollectionTableFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
AbstractFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
RelationToManyInverseKeyFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
HandlerFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
PrimitiveFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
StringFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
RelationFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
RelationToManyTableFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
MapTableFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
EmbedFieldStrategy.join(Joins joins,
boolean forceOuter) |
protected Joins |
HandlerCollectionTableFieldStrategy.join(Joins joins,
ClassMapping elem) |
protected Joins |
RelationToManyInverseKeyFieldStrategy.join(Joins joins,
ClassMapping elem) |
Joins |
RelationCollectionInverseKeyFieldStrategy.join(Joins joins,
ClassMapping elem) |
protected Joins |
RelationToManyTableFieldStrategy.join(Joins joins,
ClassMapping elem) |
Joins |
RelationCollectionTableFieldStrategy.join(Joins joins,
ClassMapping elem) |
protected abstract Joins |
StoreCollectionFieldStrategy.join(Joins joins,
ClassMapping elem)
Join to the owning field table for the given element mapping from
ContainerFieldStrategy.getIndependentElementMappings(boolean) (or null). |
Joins |
HandlerCollectionTableFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem) |
protected Joins |
RelationToManyInverseKeyFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem) |
Joins |
RelationCollectionInverseKeyFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem) |
protected Joins |
RelationToManyTableFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem) |
Joins |
RelationCollectionTableFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem) |
Joins |
LRSCollectionFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem)
Join this value's table to the table for the given element mapping
from
LRSCollectionFieldStrategy.getIndependentElementMappings(boolean) (or null). |
protected abstract Joins |
StoreCollectionFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem)
Join this value's table to the table for the given element mapping
from
ContainerFieldStrategy.getIndependentElementMappings(boolean) (or null). |
Joins |
RelationMapInverseKeyFieldStrategy.joinKey(Joins joins,
boolean forceOuter) |
Joins |
AbstractFieldStrategy.joinKey(Joins joins,
boolean forceOuter) |
Joins |
RelationMapTableFieldStrategy.joinKey(Joins joins,
boolean forceOuter) |
Joins |
MapTableFieldStrategy.joinKey(Joins joins,
boolean forceOuter) |
Joins |
HandlerRelationMapTableFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationMapInverseKeyFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
AbstractFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationMapTableFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationRelationMapTableFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
HandlerHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationMapInverseKeyFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key) |
Joins |
LRSMapFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key)
Join this value's table to the table for the given key mapping
from
LRSMapFieldStrategy.getIndependentKeyMappings(boolean) (or null). |
Joins |
RelationMapTableFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key) |
Joins |
MapTableFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key)
|
Joins |
RelationHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key) |
Joins |
RelationRelationMapTableFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key) |
Joins |
HandlerRelationMapTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
HandlerCollectionTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
AbstractFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
HandlerFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationToManyTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationHandlerMapTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationRelationMapTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
HandlerHandlerMapTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
VerticalClassStrategy.joinSuperclass(Joins joins,
boolean toThis) |
Joins |
AbstractClassStrategy.joinSuperclass(Joins joins,
boolean toThis) |
Joins |
HandlerRelationMapTableFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val) |
Joins |
RelationMapInverseKeyFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val) |
Joins |
LRSMapFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val)
Join this value's table to the table for the given value mapping
from
LRSMapFieldStrategy.getIndependentValueMappings(boolean) (or null). |
Joins |
RelationMapTableFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val) |
Joins |
MapTableFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val)
Invokes
FieldStrategy.joinRelation(org.apache.openjpa.jdbc.sql.Joins, boolean, boolean) by default. |
Joins |
RelationRelationMapTableFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val) |
protected Joins |
StoreCollectionFieldStrategy.selectAll(Select sel,
ClassMapping elem,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode)
Select data for loading, starting in field table.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractFieldStrategy.appendIndex(SQLBuffer sql,
Select sel,
Joins joins) |
void |
ContainerFieldStrategy.appendIndex(SQLBuffer sql,
Select sel,
Joins joins) |
void |
AbstractFieldStrategy.appendIsEmpty(SQLBuffer sql,
Select sel,
Joins joins) |
void |
ContainerFieldStrategy.appendIsEmpty(SQLBuffer sql,
Select sel,
Joins joins) |
void |
AbstractFieldStrategy.appendIsNotEmpty(SQLBuffer sql,
Select sel,
Joins joins) |
void |
ContainerFieldStrategy.appendIsNotEmpty(SQLBuffer sql,
Select sel,
Joins joins) |
void |
AbstractFieldStrategy.appendIsNotNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
HandlerFieldStrategy.appendIsNotNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
PrimitiveFieldStrategy.appendIsNotNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
StringFieldStrategy.appendIsNotNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
RelationFieldStrategy.appendIsNotNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
ContainerFieldStrategy.appendIsNotNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
EmbedFieldStrategy.appendIsNotNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
AbstractFieldStrategy.appendIsNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
HandlerFieldStrategy.appendIsNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
PrimitiveFieldStrategy.appendIsNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
StringFieldStrategy.appendIsNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
RelationFieldStrategy.appendIsNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
ContainerFieldStrategy.appendIsNull(SQLBuffer sql,
Select sel,
Joins joins) |
void |
EmbedFieldStrategy.appendIsNull(SQLBuffer sql,
Select sel,
Joins joins) |
protected static void |
ContainerFieldStrategy.appendJoinCount(SQLBuffer sql,
Select sel,
Joins joins,
DBDictionary dict,
FieldMapping field,
ForeignKey fk) |
void |
AbstractFieldStrategy.appendSize(SQLBuffer sql,
Select sel,
Joins joins) |
void |
ContainerFieldStrategy.appendSize(SQLBuffer sql,
Select sel,
Joins joins) |
void |
AbstractFieldStrategy.appendType(SQLBuffer sql,
Select sel,
Joins joins) |
static void |
ContainerFieldStrategy.appendUnaliasedJoin(SQLBuffer sql,
Select sel,
Joins joins,
DBDictionary dict,
FieldMapping field,
ForeignKey fk) |
SQLBuffer |
SubclassJoinDiscriminatorStrategy.getClassConditions(Select sel,
Joins joins,
ClassMapping base,
boolean subclasses) |
SQLBuffer |
SuperclassDiscriminatorStrategy.getClassConditions(Select sel,
Joins joins,
ClassMapping base,
boolean subclasses) |
SQLBuffer |
AbstractDiscriminatorStrategy.getClassConditions(Select sel,
Joins joins,
ClassMapping base,
boolean subs) |
SQLBuffer |
InValueDiscriminatorStrategy.getClassConditions(Select sel,
Joins joins,
ClassMapping base,
boolean subclasses) |
Object |
HandlerFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Object |
PrimitiveFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Object |
StringFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Object |
RelationFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Result[] |
HandlerRelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] resJoins,
boolean lrs) |
Result[] |
RelationMapInverseKeyFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] joins,
boolean lrs) |
Result[] |
LRSMapFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] joins,
boolean lrs)
Return results containing all keys and values for this map.
|
Result[] |
RelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] joins,
boolean lrs) |
Result[] |
RelationHandlerMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] resJoins,
boolean lrs) |
Result[] |
RelationRelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] resJoins,
boolean lrs) |
Result[] |
HandlerHandlerMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] joins,
boolean lrs) |
Joins |
HandlerCollectionTableFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
AbstractFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
RelationToManyInverseKeyFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
HandlerFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
PrimitiveFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
StringFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
RelationFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
RelationToManyTableFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
MapTableFieldStrategy.join(Joins joins,
boolean forceOuter) |
Joins |
EmbedFieldStrategy.join(Joins joins,
boolean forceOuter) |
protected Joins |
HandlerCollectionTableFieldStrategy.join(Joins joins,
ClassMapping elem) |
protected Joins |
RelationToManyInverseKeyFieldStrategy.join(Joins joins,
ClassMapping elem) |
Joins |
RelationCollectionInverseKeyFieldStrategy.join(Joins joins,
ClassMapping elem) |
protected Joins |
RelationToManyTableFieldStrategy.join(Joins joins,
ClassMapping elem) |
Joins |
RelationCollectionTableFieldStrategy.join(Joins joins,
ClassMapping elem) |
protected abstract Joins |
StoreCollectionFieldStrategy.join(Joins joins,
ClassMapping elem)
Join to the owning field table for the given element mapping from
ContainerFieldStrategy.getIndependentElementMappings(boolean) (or null). |
Joins |
HandlerCollectionTableFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem) |
protected Joins |
RelationToManyInverseKeyFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem) |
Joins |
RelationCollectionInverseKeyFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem) |
protected Joins |
RelationToManyTableFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem) |
Joins |
RelationCollectionTableFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem) |
Joins |
LRSCollectionFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem)
Join this value's table to the table for the given element mapping
from
LRSCollectionFieldStrategy.getIndependentElementMappings(boolean) (or null). |
protected abstract Joins |
StoreCollectionFieldStrategy.joinElementRelation(Joins joins,
ClassMapping elem)
Join this value's table to the table for the given element mapping
from
ContainerFieldStrategy.getIndependentElementMappings(boolean) (or null). |
Joins |
RelationMapInverseKeyFieldStrategy.joinKey(Joins joins,
boolean forceOuter) |
Joins |
AbstractFieldStrategy.joinKey(Joins joins,
boolean forceOuter) |
Joins |
RelationMapTableFieldStrategy.joinKey(Joins joins,
boolean forceOuter) |
Joins |
MapTableFieldStrategy.joinKey(Joins joins,
boolean forceOuter) |
Joins |
HandlerRelationMapTableFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationMapInverseKeyFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
AbstractFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationMapTableFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationRelationMapTableFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
HandlerHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationMapInverseKeyFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key) |
Joins |
LRSMapFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key)
Join this value's table to the table for the given key mapping
from
LRSMapFieldStrategy.getIndependentKeyMappings(boolean) (or null). |
Joins |
RelationMapTableFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key) |
Joins |
MapTableFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key)
|
Joins |
RelationHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key) |
Joins |
RelationRelationMapTableFieldStrategy.joinKeyRelation(Joins joins,
ClassMapping key) |
Joins |
HandlerRelationMapTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
HandlerCollectionTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
AbstractFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
HandlerFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationToManyTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationHandlerMapTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
RelationRelationMapTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
HandlerHandlerMapTableFieldStrategy.joinRelation(Joins joins,
boolean forceOuter,
boolean traverse) |
Joins |
VerticalClassStrategy.joinSuperclass(Joins joins,
boolean toThis) |
Joins |
AbstractClassStrategy.joinSuperclass(Joins joins,
boolean toThis) |
Joins |
HandlerRelationMapTableFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val) |
Joins |
RelationMapInverseKeyFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val) |
Joins |
LRSMapFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val)
Join this value's table to the table for the given value mapping
from
LRSMapFieldStrategy.getIndependentValueMappings(boolean) (or null). |
Joins |
RelationMapTableFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val) |
Joins |
MapTableFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val)
Invokes
FieldStrategy.joinRelation(org.apache.openjpa.jdbc.sql.Joins, boolean, boolean) by default. |
Joins |
RelationRelationMapTableFieldStrategy.joinValueRelation(Joins joins,
ClassMapping val) |
protected Object |
MaxEmbeddedCharArrayFieldStrategy.load(Column col,
Result res,
Joins joins) |
protected Object |
MaxEmbeddedByteArrayFieldStrategy.load(Column col,
Result res,
Joins joins) |
Object |
ColumnVersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins) |
Object |
AbstractVersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins) |
static Object |
HandlerStrategies.loadDataStore(ValueMapping vm,
Result res,
Joins joins,
Column[] cols)
Load the datastore value from the given result.
|
Object |
HandlerCollectionTableFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
protected Object |
RelationToManyInverseKeyFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationCollectionInverseKeyFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
protected Object |
RelationToManyTableFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationCollectionTableFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
LRSCollectionFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load an element of the collection.
|
protected abstract Object |
StoreCollectionFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load an element of the collection.
|
Object |
HandlerRelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationMapInverseKeyFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
LRSMapFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load a key from the given result.
|
Object |
RelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationHandlerMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationRelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
HandlerHandlerMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
AbstractFieldStrategy.loadKeyProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
MapTableFieldStrategy.loadKeyProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
static Object |
HandlerStrategies.loadObject(ValueMapping vm,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins,
Column[] cols,
boolean objectValueRequiresLoad)
Load the Object value from the given result.
|
Object |
AbstractFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
HandlerFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
PrimitiveFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
StringFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
MapTableFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
StoreCollectionFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
EmbedFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Loading embed object without instantiating owner entity
|
Object |
HandlerRelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationMapInverseKeyFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
LRSMapFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load a value from the given result.
|
Object |
RelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationHandlerMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationRelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
HandlerHandlerMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
void |
HandlerCollectionTableFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins) |
protected void |
RelationToManyInverseKeyFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins) |
void |
RelationCollectionInverseKeyFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins) |
protected void |
RelationToManyTableFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins) |
void |
RelationCollectionTableFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins) |
void |
LRSCollectionFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins)
Implement this method to select the elements of this field for the
given element mapping from
LRSCollectionFieldStrategy.getIndependentElementMappings(boolean)
(or null). |
protected abstract void |
StoreCollectionFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins)
Implement this method to select the elements of this field for the
given element mapping from
ContainerFieldStrategy.getIndependentElementMappings(boolean)
(or null). |
void |
HandlerRelationMapTableFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationMapInverseKeyFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
LRSMapFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins)
Implement this method to select the keys of this field.
|
void |
RelationMapTableFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationHandlerMapTableFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationRelationMapTableFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
HandlerHandlerMapTableFieldStrategy.selectKey(Select sel,
ClassMapping cls,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
HandlerRelationMapTableFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationMapInverseKeyFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
LRSMapFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins)
Implement this method to select the values of this field.
|
void |
RelationMapTableFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationHandlerMapTableFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationRelationMapTableFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
HandlerHandlerMapTableFieldStrategy.selectValue(Select sel,
ClassMapping cls,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
Modifier and Type | Method and Description |
---|---|
Joins |
Select.and(Joins joins1,
Joins joins2)
AND the given joins together.
|
Joins |
LogicalUnion.UnionSelect.and(Joins joins1,
Joins joins2) |
Joins |
SelectImpl.and(Joins joins1,
Joins joins2) |
Joins |
Joins.crossJoin(Table localTable,
Table foreignTable)
Perform a cross join on the given tables.
|
Joins |
SelectImpl.crossJoin(Table localTable,
Table foreignTable) |
Joins |
SelectImpl.SelectResult.crossJoin(Table localTable,
Table foreignTable) |
Joins |
Select.getJoins()
Return the top-level joins for this select.
|
Joins |
LogicalUnion.UnionSelect.getJoins() |
Joins |
SelectImpl.getJoins() |
Joins |
Join.getRelationJoins()
If joining a relation, the joins leading to the relation.
|
Joins |
Joins.join(ForeignKey fk,
boolean inverse,
boolean toMany)
Join the columns of the given foreign key.
|
Joins |
SelectImpl.join(ForeignKey fk,
boolean inverse,
boolean toMany) |
Joins |
SelectImpl.SelectResult.join(ForeignKey fk,
boolean inverse,
boolean toMany) |
Joins |
Joins.joinRelation(String name,
ForeignKey fk,
ClassMapping target,
int subclasses,
boolean inverse,
boolean toMany)
Join the columns of the given foreign key, which represents a relation
via the given field name.
|
Joins |
SelectImpl.joinRelation(String name,
ForeignKey fk,
ClassMapping target,
int subs,
boolean inverse,
boolean toMany) |
Joins |
SelectImpl.SelectResult.joinRelation(String name,
ForeignKey fk,
ClassMapping target,
int subs,
boolean inverse,
boolean toMany) |
Joins |
MergedResult.newJoins() |
Joins |
Select.newJoins()
Return a new instance to use for joining.
|
Joins |
AbstractResult.newJoins()
Returns a no-op joins object by default.
|
Joins |
LogicalUnion.UnionSelect.newJoins() |
Joins |
Result.newJoins()
Return a new joins instance to use for traversing to related data.
|
Joins |
SelectImpl.newJoins() |
Joins |
SelectImpl.SelectResult.newJoins() |
Joins |
Select.newOuterJoins()
Return a new instance to use for outer joining.
|
Joins |
LogicalUnion.UnionSelect.newOuterJoins() |
Joins |
SelectImpl.newOuterJoins() |
Joins |
Select.or(Joins joins1,
Joins joins2)
OR the given joins together.
|
Joins |
LogicalUnion.UnionSelect.or(Joins joins1,
Joins joins2) |
Joins |
SelectImpl.or(Joins joins1,
Joins joins2) |
Joins |
Select.outer(Joins joins)
Return a join set making the given joins outer joins.
|
Joins |
LogicalUnion.UnionSelect.outer(Joins joins) |
Joins |
SelectImpl.outer(Joins joins) |
Joins |
Joins.outerJoin(ForeignKey fk,
boolean inverse,
boolean toMany)
Join the columns of the given foreign key.
|
Joins |
SelectImpl.outerJoin(ForeignKey fk,
boolean inverse,
boolean toMany) |
Joins |
SelectImpl.SelectResult.outerJoin(ForeignKey fk,
boolean inverse,
boolean toMany) |
Joins |
Joins.outerJoinRelation(String name,
ForeignKey fk,
ClassMapping target,
int subclasses,
boolean inverse,
boolean toMany)
Join the columns of the given foreign key, which represents a relation
via the given field name.
|
Joins |
SelectImpl.outerJoinRelation(String name,
ForeignKey fk,
ClassMapping target,
int subs,
boolean inverse,
boolean toMany) |
Joins |
SelectImpl.SelectResult.outerJoinRelation(String name,
ForeignKey fk,
ClassMapping target,
int subs,
boolean inverse,
boolean toMany) |
Joins |
Joins.setCorrelatedVariable(String var)
Set the correlated variable name being traversed into
with the next join.
|
Joins |
SelectImpl.setCorrelatedVariable(String var) |
Joins |
SelectImpl.SelectResult.setCorrelatedVariable(String var) |
Joins |
Joins.setJoinContext(Context context)
Set subquery context when traversing into the next join is
in transition from parent context to subquery.
|
Joins |
SelectImpl.setJoinContext(Context ctx) |
Joins |
SelectImpl.SelectResult.setJoinContext(Context ctx) |
Joins |
Joins.setSubselect(String alias)
Set the subquery alias.
|
Joins |
SelectImpl.setSubselect(String alias) |
Joins |
SelectImpl.SelectResult.setSubselect(String alias) |
Joins |
Joins.setVariable(String var)
Set the variable name being traversed into with the next join.
|
Joins |
SelectImpl.setVariable(String var) |
Joins |
SelectImpl.SelectResult.setVariable(String var) |
Modifier and Type | Method and Description |
---|---|
Joins |
Select.and(Joins joins1,
Joins joins2)
AND the given joins together.
|
Joins |
LogicalUnion.UnionSelect.and(Joins joins1,
Joins joins2) |
Joins |
SelectImpl.and(Joins joins1,
Joins joins2) |
void |
Select.append(SQLBuffer buf,
Joins joins)
Append the given joins to the given buffer.
|
void |
LogicalUnion.UnionSelect.append(SQLBuffer buf,
Joins joins) |
void |
SelectImpl.append(SQLBuffer buf,
Joins joins) |
boolean |
MergedResult.contains(Column col,
Joins joins) |
boolean |
AbstractResult.contains(Column col,
Joins joins) |
boolean |
Result.contains(Column col,
Joins joins)
Return true if the given column is available in the result.
|
boolean |
MergedResult.containsAll(Column[] cols,
Joins joins) |
boolean |
AbstractResult.containsAll(Column[] cols,
Joins joins) |
boolean |
Result.containsAll(Column[] cols,
Joins joins)
Return true if all the given columns are available in the result.
|
protected boolean |
AbstractResult.containsAllInternal(Object[] objs,
Joins joins)
Return whether this result contains data for all the given ids or
columns.
|
protected boolean |
SelectImpl.SelectResult.containsAllInternal(Object[] objs,
Joins joins) |
protected boolean |
ResultSetResult.containsInternal(Object obj,
Joins joins) |
protected abstract boolean |
AbstractResult.containsInternal(Object obj,
Joins joins)
Return whether this result contains data for the given id or column.
|
protected boolean |
SelectImpl.SelectResult.containsInternal(Object obj,
Joins joins) |
protected int |
ResultSetResult.findObject(Object obj,
Joins joins)
Return the 1-based result set index for the given column or id, or a
non-positive number if the column is not contained in this result.
|
protected int |
SelectImpl.SelectResult.findObject(Object obj,
Joins joins) |
Array |
MergedResult.getArray(Column col,
Joins joins) |
Array |
AbstractResult.getArray(Column col,
Joins joins) |
Array |
Result.getArray(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected Array |
ResultSetResult.getArrayInternal(Object obj,
Joins joins) |
protected Array |
AbstractResult.getArrayInternal(Object obj,
Joins joins) |
InputStream |
MergedResult.getAsciiStream(Column col,
Joins joins) |
InputStream |
AbstractResult.getAsciiStream(Column col,
Joins joins) |
InputStream |
Result.getAsciiStream(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected InputStream |
ResultSetResult.getAsciiStreamInternal(Object obj,
Joins joins) |
protected InputStream |
AbstractResult.getAsciiStreamInternal(Object obj,
Joins joins) |
BigDecimal |
MergedResult.getBigDecimal(Column col,
Joins joins) |
BigDecimal |
AbstractResult.getBigDecimal(Column col,
Joins joins) |
BigDecimal |
Result.getBigDecimal(Column col,
Joins joins)
Return the value stored in the given column.
|
protected BigDecimal |
ResultSetResult.getBigDecimalInternal(Object obj,
Joins joins) |
protected BigDecimal |
AbstractResult.getBigDecimalInternal(Object obj,
Joins joins) |
BigInteger |
MergedResult.getBigInteger(Column col,
Joins joins) |
BigInteger |
AbstractResult.getBigInteger(Column col,
Joins joins) |
BigInteger |
Result.getBigInteger(Column col,
Joins joins)
Return the value stored in the given column.
|
protected BigInteger |
ResultSetResult.getBigIntegerInternal(Object obj,
Joins joins) |
protected BigInteger |
AbstractResult.getBigIntegerInternal(Object obj,
Joins joins) |
InputStream |
MergedResult.getBinaryStream(Column col,
Joins joins) |
InputStream |
AbstractResult.getBinaryStream(Column col,
Joins joins) |
InputStream |
Result.getBinaryStream(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected InputStream |
ResultSetResult.getBinaryStreamInternal(Object obj,
Joins joins) |
protected InputStream |
AbstractResult.getBinaryStreamInternal(Object obj,
Joins joins) |
Blob |
MergedResult.getBlob(Column col,
Joins joins) |
Blob |
AbstractResult.getBlob(Column col,
Joins joins) |
Blob |
Result.getBlob(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected Blob |
ResultSetResult.getBlobInternal(Object obj,
Joins joins) |
protected Blob |
AbstractResult.getBlobInternal(Object obj,
Joins joins) |
boolean |
MergedResult.getBoolean(Column col,
Joins joins) |
boolean |
AbstractResult.getBoolean(Column col,
Joins joins) |
boolean |
Result.getBoolean(Column col,
Joins joins)
Return the value stored in the given column.
|
protected boolean |
ResultSetResult.getBooleanInternal(Object obj,
Joins joins) |
protected boolean |
AbstractResult.getBooleanInternal(Object obj,
Joins joins) |
byte |
MergedResult.getByte(Column col,
Joins joins) |
byte |
AbstractResult.getByte(Column col,
Joins joins) |
byte |
Result.getByte(Column col,
Joins joins)
Return the value stored in the given column.
|
protected byte |
ResultSetResult.getByteInternal(Object obj,
Joins joins) |
protected byte |
AbstractResult.getByteInternal(Object obj,
Joins joins) |
byte[] |
MergedResult.getBytes(Column col,
Joins joins) |
byte[] |
AbstractResult.getBytes(Column col,
Joins joins) |
byte[] |
Result.getBytes(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected byte[] |
ResultSetResult.getBytesInternal(Object obj,
Joins joins) |
protected byte[] |
AbstractResult.getBytesInternal(Object obj,
Joins joins) |
Calendar |
MergedResult.getCalendar(Column col,
Joins joins) |
Calendar |
AbstractResult.getCalendar(Column col,
Joins joins) |
Calendar |
Result.getCalendar(Column col,
Joins joins)
Return the value stored in the given column.
|
protected Calendar |
ResultSetResult.getCalendarInternal(Object obj,
Joins joins) |
protected Calendar |
AbstractResult.getCalendarInternal(Object obj,
Joins joins) |
char |
MergedResult.getChar(Column col,
Joins joins) |
char |
AbstractResult.getChar(Column col,
Joins joins) |
char |
Result.getChar(Column col,
Joins joins)
Return the value stored in the given column.
|
Reader |
MergedResult.getCharacterStream(Column col,
Joins joins) |
Reader |
AbstractResult.getCharacterStream(Column col,
Joins joins) |
Reader |
Result.getCharacterStream(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected Reader |
ResultSetResult.getCharacterStreamInternal(Object obj,
Joins joins) |
protected Reader |
AbstractResult.getCharacterStreamInternal(Object obj,
Joins joins) |
protected char |
ResultSetResult.getCharInternal(Object obj,
Joins joins) |
protected char |
AbstractResult.getCharInternal(Object obj,
Joins joins) |
Clob |
MergedResult.getClob(Column col,
Joins joins) |
Clob |
AbstractResult.getClob(Column col,
Joins joins) |
Clob |
Result.getClob(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected Clob |
ResultSetResult.getClobInternal(Object obj,
Joins joins) |
protected Clob |
AbstractResult.getClobInternal(Object obj,
Joins joins) |
String |
Select.getColumnAlias(Column col,
Joins joins)
Return the alias for the given column.
|
String |
LogicalUnion.UnionSelect.getColumnAlias(Column col,
Joins joins) |
String |
SelectImpl.getColumnAlias(Column col,
Joins joins) |
String |
Select.getColumnAlias(String col,
Table table,
Joins joins)
Return the alias for the given column.
|
String |
LogicalUnion.UnionSelect.getColumnAlias(String col,
Table table,
Joins joins) |
String |
SelectImpl.getColumnAlias(String col,
Table table,
Joins joins) |
Date |
MergedResult.getDate(Column col,
Calendar cal,
Joins joins) |
Date |
AbstractResult.getDate(Column col,
Calendar cal,
Joins joins) |
Date |
Result.getDate(Column col,
Calendar cal,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
Date |
MergedResult.getDate(Column col,
Joins joins) |
Date |
AbstractResult.getDate(Column col,
Joins joins) |
Date |
Result.getDate(Column col,
Joins joins)
Return the value stored in the given column.
|
protected Date |
ResultSetResult.getDateInternal(Object obj,
Calendar cal,
Joins joins) |
protected Date |
AbstractResult.getDateInternal(Object obj,
Calendar cal,
Joins joins) |
protected Date |
ResultSetResult.getDateInternal(Object obj,
Joins joins) |
protected Date |
AbstractResult.getDateInternal(Object obj,
Joins joins) |
double |
MergedResult.getDouble(Column col,
Joins joins) |
double |
AbstractResult.getDouble(Column col,
Joins joins) |
double |
Result.getDouble(Column col,
Joins joins)
Return the value stored in the given column.
|
protected double |
ResultSetResult.getDoubleInternal(Object obj,
Joins joins) |
protected double |
AbstractResult.getDoubleInternal(Object obj,
Joins joins) |
float |
MergedResult.getFloat(Column col,
Joins joins) |
float |
AbstractResult.getFloat(Column col,
Joins joins) |
float |
Result.getFloat(Column col,
Joins joins)
Return the value stored in the given column.
|
protected float |
ResultSetResult.getFloatInternal(Object obj,
Joins joins) |
protected float |
AbstractResult.getFloatInternal(Object obj,
Joins joins) |
int |
MergedResult.getInt(Column col,
Joins joins) |
int |
AbstractResult.getInt(Column col,
Joins joins) |
int |
Result.getInt(Column col,
Joins joins)
Return the value stored in the given column.
|
protected int |
ResultSetResult.getIntInternal(Object obj,
Joins joins) |
protected int |
AbstractResult.getIntInternal(Object obj,
Joins joins) |
protected InputStream |
ResultSetResult.getLOBStreamInternal(JDBCStore store,
Object obj,
Joins joins) |
protected InputStream |
AbstractResult.getLOBStreamInternal(JDBCStore store,
Object obj,
Joins joins) |
protected LocalDate |
ResultSetResult.getLocalDateInternal(Object obj,
Joins joins) |
protected LocalDate |
AbstractResult.getLocalDateInternal(Object obj,
Joins joins) |
protected LocalDateTime |
ResultSetResult.getLocalDateTimeInternal(Object obj,
Joins joins) |
protected LocalDateTime |
AbstractResult.getLocalDateTimeInternal(Object obj,
Joins joins) |
Locale |
MergedResult.getLocale(Column col,
Joins joins) |
Locale |
AbstractResult.getLocale(Column col,
Joins joins) |
Locale |
Result.getLocale(Column col,
Joins joins)
Return the value stored in the given column.
|
protected Locale |
ResultSetResult.getLocaleInternal(Object obj,
Joins joins) |
protected Locale |
AbstractResult.getLocaleInternal(Object obj,
Joins joins) |
protected LocalTime |
ResultSetResult.getLocalTimeInternal(Object obj,
Joins joins) |
protected LocalTime |
AbstractResult.getLocalTimeInternal(Object obj,
Joins joins) |
long |
MergedResult.getLong(Column col,
Joins joins) |
long |
AbstractResult.getLong(Column col,
Joins joins) |
long |
Result.getLong(Column col,
Joins joins)
Return the value stored in the given column.
|
protected long |
ResultSetResult.getLongInternal(Object obj,
Joins joins) |
protected long |
AbstractResult.getLongInternal(Object obj,
Joins joins) |
Number |
MergedResult.getNumber(Column col,
Joins joins) |
Number |
AbstractResult.getNumber(Column col,
Joins joins) |
Number |
Result.getNumber(Column col,
Joins joins)
Return the value stored in the given column.
|
protected Number |
ResultSetResult.getNumberInternal(Object obj,
Joins joins) |
protected Number |
AbstractResult.getNumberInternal(Object obj,
Joins joins) |
Object |
MergedResult.getObject(Column col,
Object arg,
Joins joins) |
Object |
AbstractResult.getObject(Column col,
Object arg,
Joins joins) |
Object |
Result.getObject(Column col,
Object arg,
Joins joins)
Return the value stored in the given column.
|
protected Object |
ResultSetResult.getObjectInternal(Object obj,
int metaTypeCode,
Object arg,
Joins joins) |
protected abstract Object |
AbstractResult.getObjectInternal(Object obj,
int metaType,
Object arg,
Joins joins)
Return the value stored in the given id or column.
|
protected OffsetDateTime |
ResultSetResult.getOffsetDateTimeInternal(Object obj,
Joins joins) |
protected OffsetDateTime |
AbstractResult.getOffsetDateTimeInternal(Object obj,
Joins joins) |
protected OffsetTime |
ResultSetResult.getOffsetTimeInternal(Object obj,
Joins joins) |
protected OffsetTime |
AbstractResult.getOffsetTimeInternal(Object obj,
Joins joins) |
Ref |
MergedResult.getRef(Column col,
Map map,
Joins joins) |
Ref |
AbstractResult.getRef(Column col,
Map map,
Joins joins) |
Ref |
Result.getRef(Column col,
Map map,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected Ref |
ResultSetResult.getRefInternal(Object obj,
Map map,
Joins joins) |
protected Ref |
AbstractResult.getRefInternal(Object obj,
Map map,
Joins joins) |
short |
MergedResult.getShort(Column col,
Joins joins) |
short |
AbstractResult.getShort(Column col,
Joins joins) |
short |
Result.getShort(Column col,
Joins joins)
Return the value stored in the given column.
|
protected short |
ResultSetResult.getShortInternal(Object obj,
Joins joins) |
protected short |
AbstractResult.getShortInternal(Object obj,
Joins joins) |
Object |
MergedResult.getSQLObject(Column col,
Map map,
Joins joins) |
Object |
AbstractResult.getSQLObject(Column col,
Map map,
Joins joins) |
Object |
Result.getSQLObject(Column col,
Map map,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected Object |
ResultSetResult.getSQLObjectInternal(Object obj,
Map map,
Joins joins) |
protected Object |
AbstractResult.getSQLObjectInternal(Object obj,
Map map,
Joins joins) |
protected Object |
ResultSetResult.getStreamInternal(JDBCStore store,
Object obj,
int metaTypeCode,
Object arg,
Joins joins) |
protected abstract Object |
AbstractResult.getStreamInternal(JDBCStore store,
Object obj,
int metaType,
Object arg,
Joins joins) |
String |
MergedResult.getString(Column col,
Joins joins) |
String |
AbstractResult.getString(Column col,
Joins joins) |
String |
Result.getString(Column col,
Joins joins)
Return the value stored in the given column.
|
protected String |
ResultSetResult.getStringInternal(Object obj,
Joins joins,
boolean isClobString) |
protected String |
AbstractResult.getStringInternal(Object obj,
Joins joins,
boolean isClobString) |
Time |
MergedResult.getTime(Column col,
Calendar cal,
Joins joins) |
Time |
AbstractResult.getTime(Column col,
Calendar cal,
Joins joins) |
Time |
Result.getTime(Column col,
Calendar cal,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected Time |
ResultSetResult.getTimeInternal(Object obj,
Calendar cal,
Joins joins) |
protected Time |
AbstractResult.getTimeInternal(Object obj,
Calendar cal,
Joins joins) |
Timestamp |
MergedResult.getTimestamp(Column col,
Calendar cal,
Joins joins) |
Timestamp |
AbstractResult.getTimestamp(Column col,
Calendar cal,
Joins joins) |
Timestamp |
Result.getTimestamp(Column col,
Calendar cal,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
protected Timestamp |
ResultSetResult.getTimestampInternal(Object obj,
Calendar cal,
Joins joins) |
protected Timestamp |
AbstractResult.getTimestampInternal(Object obj,
Calendar cal,
Joins joins) |
void |
Select.groupBy(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins)
Group by the columns of the given mapping, possibly including subclasses.
|
void |
LogicalUnion.UnionSelect.groupBy(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
SelectImpl.groupBy(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
Select.groupBy(Column[] cols,
Joins joins)
Group by the given columns.
|
void |
LogicalUnion.UnionSelect.groupBy(Column[] cols,
Joins joins) |
void |
SelectImpl.groupBy(Column[] cols,
Joins joins) |
void |
Select.groupBy(Column col,
Joins joins)
Group by the given column.
|
void |
LogicalUnion.UnionSelect.groupBy(Column col,
Joins joins) |
void |
SelectImpl.groupBy(Column col,
Joins joins) |
void |
Select.groupBy(SQLBuffer sql,
Joins joins)
Add a GROUP BY clause.
|
void |
LogicalUnion.UnionSelect.groupBy(SQLBuffer sql,
Joins joins) |
void |
SelectImpl.groupBy(SQLBuffer sql,
Joins joins) |
void |
Select.groupBy(String sql,
Joins joins)
Add a GROUP BY clause.
|
void |
LogicalUnion.UnionSelect.groupBy(String sql,
Joins joins) |
void |
SelectImpl.groupBy(String sql,
Joins joins) |
void |
Select.having(SQLBuffer sql,
Joins joins)
Add the given having conditions.
|
void |
LogicalUnion.UnionSelect.having(SQLBuffer sql,
Joins joins) |
void |
SelectImpl.having(SQLBuffer sql,
Joins joins) |
void |
Select.having(String sql,
Joins joins)
Add the given having conditions.
|
void |
LogicalUnion.UnionSelect.having(String sql,
Joins joins) |
void |
SelectImpl.having(String sql,
Joins joins) |
Object |
MergedResult.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
Object |
AbstractResult.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
Object |
Result.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins)
Load a pc object using the given store manager.
|
Object |
SelectImpl.SelectResult.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
Joins |
Select.or(Joins joins1,
Joins joins2)
OR the given joins together.
|
Joins |
LogicalUnion.UnionSelect.or(Joins joins1,
Joins joins2) |
Joins |
SelectImpl.or(Joins joins1,
Joins joins2) |
int |
Select.orderBy(Column[] cols,
boolean asc,
Joins joins,
boolean sel)
Order by the given columns.
|
int |
LogicalUnion.UnionSelect.orderBy(Column[] cols,
boolean asc,
Joins joins,
boolean select) |
int |
SelectImpl.orderBy(Column[] cols,
boolean asc,
Joins joins,
boolean sel) |
boolean |
Select.orderBy(Column col,
boolean asc,
Joins joins,
boolean sel)
Order by the given column.
|
boolean |
LogicalUnion.UnionSelect.orderBy(Column col,
boolean asc,
Joins joins,
boolean select) |
boolean |
SelectImpl.orderBy(Column col,
boolean asc,
Joins joins,
boolean sel) |
boolean |
Select.orderBy(SQLBuffer sql,
boolean asc,
Joins joins,
boolean sel,
Value selAs)
Add an ORDER BY clause.
|
boolean |
LogicalUnion.UnionSelect.orderBy(SQLBuffer sql,
boolean asc,
Joins joins,
boolean select,
Value selAs) |
boolean |
SelectImpl.orderBy(SQLBuffer sql,
boolean asc,
Joins joins,
boolean sel,
Value selAs) |
boolean |
Select.orderBy(String sql,
boolean asc,
Joins joins,
boolean sel)
Add an ORDER BY clause.
|
boolean |
LogicalUnion.UnionSelect.orderBy(String sql,
boolean asc,
Joins joins,
boolean select) |
boolean |
SelectImpl.orderBy(String sql,
boolean asc,
Joins joins,
boolean sel) |
int |
Select.orderByPrimaryKey(ClassMapping mapping,
boolean asc,
Joins joins,
boolean sel)
Select and order on the primary key columns of the given mapping,
joining to superclasses as necessary to get all columns needed to
construct an object id.
|
int |
LogicalUnion.UnionSelect.orderByPrimaryKey(ClassMapping mapping,
boolean asc,
Joins joins,
boolean select) |
int |
SelectImpl.orderByPrimaryKey(ClassMapping mapping,
boolean asc,
Joins joins,
boolean sel) |
int |
SelectImpl.orderByPrimaryKey(ClassMapping mapping,
boolean asc,
Joins joins,
boolean sel,
boolean aliasOrder)
Allow unions to set aliases on order columns.
|
Joins |
Select.outer(Joins joins)
Return a join set making the given joins outer joins.
|
Joins |
LogicalUnion.UnionSelect.outer(Joins joins) |
Joins |
SelectImpl.outer(Joins joins) |
void |
Select.select(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins)
Select the columns of the given mapping, possibly including subclasses.
|
void |
LogicalUnion.UnionSelect.select(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins) |
void |
SelectImpl.select(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins) |
int |
Select.select(Column[] cols,
Joins joins)
Select the given columns.
|
int |
LogicalUnion.UnionSelect.select(Column[] cols,
Joins joins) |
int |
SelectImpl.select(Column[] cols,
Joins joins) |
boolean |
Select.select(Column col,
Joins joins)
Select the given column.
|
boolean |
LogicalUnion.UnionSelect.select(Column col,
Joins joins) |
boolean |
SelectImpl.select(Column col,
Joins joins) |
boolean |
Select.select(SQLBuffer sql,
Object id,
Joins joins)
Select the given SQL; the given id object is an identifier
to use when retrieving the corresponding value from a
Result . |
boolean |
LogicalUnion.UnionSelect.select(SQLBuffer sql,
Object id,
Joins joins) |
boolean |
SelectImpl.select(SQLBuffer sql,
Object id,
Joins joins) |
boolean |
Select.select(String sql,
Object id,
Joins joins)
Select the given SQL; the given id object is an identifier
to use when retrieving the corresponding value from a
Result . |
boolean |
LogicalUnion.UnionSelect.select(String sql,
Object id,
Joins joins) |
boolean |
SelectImpl.select(String sql,
Object id,
Joins joins) |
void |
Select.selectIdentifier(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins)
Select the columns of the given mapping, possibly including subclasses.
|
void |
LogicalUnion.UnionSelect.selectIdentifier(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins) |
void |
SelectImpl.selectIdentifier(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins) |
int |
Select.selectIdentifier(Column[] cols,
Joins joins)
Select the given columns as ones that can be used to get a count of
distinct matches.
|
int |
LogicalUnion.UnionSelect.selectIdentifier(Column[] cols,
Joins joins) |
int |
SelectImpl.selectIdentifier(Column[] cols,
Joins joins) |
boolean |
Select.selectIdentifier(Column col,
Joins joins)
Select the given column as one that can be used to get a count of
distinct matches.
|
boolean |
LogicalUnion.UnionSelect.selectIdentifier(Column col,
Joins joins) |
boolean |
SelectImpl.selectIdentifier(Column col,
Joins joins) |
int |
Select.selectPrimaryKey(ClassMapping mapping,
Joins joins)
Select the primary key columns of the given mapping, joining to
superclasses as necessary to get all columns needed to construct
an object id.
|
int |
LogicalUnion.UnionSelect.selectPrimaryKey(ClassMapping mapping,
Joins joins) |
int |
SelectImpl.selectPrimaryKey(ClassMapping mapping,
Joins joins) |
void |
Join.setRelation(ClassMapping target,
int subs,
Joins joins)
When joining a relation, set target type and how to deal with
subclasses.
|
protected Object |
ResultSetResult.translate(Object obj,
Joins joins) |
protected Object |
AbstractResult.translate(Object obj,
Joins joins)
Translate the user-given id or column.
|
void |
Select.where(Joins joins)
Add the given where conditions.
|
void |
LogicalUnion.UnionSelect.where(Joins joins) |
void |
SelectImpl.where(Joins joins) |
void |
Select.where(SQLBuffer sql,
Joins joins)
Add the given where conditions.
|
void |
LogicalUnion.UnionSelect.where(SQLBuffer sql,
Joins joins) |
void |
SelectImpl.where(SQLBuffer sql,
Joins joins) |
void |
Select.where(String sql,
Joins joins)
Add the given where conditions.
|
void |
LogicalUnion.UnionSelect.where(String sql,
Joins joins) |
void |
SelectImpl.where(String sql,
Joins joins) |
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.