public abstract class ContainerFieldStrategy extends AbstractFieldStrategy
field| Constructor and Description |
|---|
ContainerFieldStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendIndex(SQLBuffer sql,
Select sel,
Joins joins)
Append the ordered column alias to the given statement.
|
void |
appendIsEmpty(SQLBuffer sql,
Select sel,
Joins joins)
Append a where clause to the given statement checking if this value
is empty.
|
void |
appendIsNotEmpty(SQLBuffer sql,
Select sel,
Joins joins)
Append a where clause to the given statement checking if this value
is not empty.
|
void |
appendIsNotNull(SQLBuffer sql,
Select sel,
Joins joins)
Append a where clause to the given statement checking if this value
is not null.
|
void |
appendIsNull(SQLBuffer sql,
Select sel,
Joins joins)
Append a where clause to the given statement checking if this value
is null.
|
protected static void |
appendJoinCount(SQLBuffer sql,
Select sel,
Joins joins,
DBDictionary dict,
FieldMapping field,
ForeignKey fk) |
void |
appendSize(SQLBuffer sql,
Select sel,
Joins joins)
Append a where clause to the given statement checking the size
of the value.
|
static void |
appendUnaliasedJoin(SQLBuffer sql,
Select sel,
Joins joins,
DBDictionary dict,
FieldMapping field,
ForeignKey fk) |
protected abstract ClassMapping[] |
getIndependentElementMappings(boolean traverse)
Return all independent mappings to which this strategy must join in
order to access collection elements, or empty array if none.
|
abstract ForeignKey |
getJoinForeignKey() |
appendType, assertNotMappedBy, isEagerSelectToMany, isVersionable, join, joinKey, joinKeyRelation, joinRelation, load, load, loadEagerJoin, loadEagerParallel, loadKeyProjection, loadProjection, select, selectEagerJoin, selectEagerParallel, setFieldMapping, supportsSelect, toDataStoreValue, toKeyDataStoreValue, wherecustomDelete, customInsert, customUpdate, delete, getAlias, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, map, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomDelete, customInsert, customUpdate, delete, getAlias, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, map, updateprotected abstract ClassMapping[] getIndependentElementMappings(boolean traverse)
traverse - whether we're traversing through to the related typeValueMapping.getIndependentTypeMappings(),
ClassMapping.EMPTY_MAPPINGSpublic void appendIsEmpty(SQLBuffer sql, Select sel, Joins joins)
FieldStrategyappendIsEmpty in interface FieldStrategyappendIsEmpty in class AbstractFieldStrategypublic void appendIsNotEmpty(SQLBuffer sql, Select sel, Joins joins)
FieldStrategyappendIsNotEmpty in interface FieldStrategyappendIsNotEmpty in class AbstractFieldStrategypublic void appendIsNull(SQLBuffer sql, Select sel, Joins joins)
FieldStrategyappendIsNull in interface FieldStrategyappendIsNull in class AbstractFieldStrategypublic void appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)
FieldStrategyappendIsNotNull in interface FieldStrategyappendIsNotNull in class AbstractFieldStrategypublic abstract ForeignKey getJoinForeignKey()
public void appendSize(SQLBuffer sql, Select sel, Joins joins)
FieldStrategyappendSize in interface FieldStrategyappendSize in class AbstractFieldStrategypublic void appendIndex(SQLBuffer sql, Select sel, Joins joins)
FieldStrategyappendIndex in interface FieldStrategyappendIndex in class AbstractFieldStrategyprotected static void appendJoinCount(SQLBuffer sql, Select sel, Joins joins, DBDictionary dict, FieldMapping field, ForeignKey fk)
public static void appendUnaliasedJoin(SQLBuffer sql, Select sel, Joins joins, DBDictionary dict, FieldMapping field, ForeignKey fk)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.