E
- type of object on which the field is the payloadpublic class JoinQueryConditionDefinition<E>
extends java.lang.Object
Constructor and Description |
---|
JoinQueryConditionDefinition(StoredTableSchema maintable,
StoredFieldSchema<E> maintablefield,
StoredTableSchema sidetable,
java.lang.String sidetablesuffix,
StoredFieldSchema<E> sidetablefield,
DataObjectDefinition<?> sidetableobjectdefinition,
QueryOperator<E> joinqueryoperator)
creates a join query condition definition
|
Modifier and Type | Method and Description |
---|---|
JoinQueryCondition<E> |
generateJoinQueryCondition(java.lang.String maintablealias)
generates the query condition for the specified main table alias
|
QueryCondition |
generateSideTableUniversalQueryCondition(java.lang.String maintablealias)
generates the universal query condition on the side object.
|
public JoinQueryConditionDefinition(StoredTableSchema maintable, StoredFieldSchema<E> maintablefield, StoredTableSchema sidetable, java.lang.String sidetablesuffix, StoredFieldSchema<E> sidetablefield, DataObjectDefinition<?> sidetableobjectdefinition, QueryOperator<E> joinqueryoperator)
maintable
- main tablemaintablefield
- main table field for the join querysidetable
- side tablesidetablefield
- side table field for the join queryjoinqueryoperator
- Operator (typically equal)public JoinQueryCondition<E> generateJoinQueryCondition(java.lang.String maintablealias)
maintablealias
- main table aliaspublic QueryCondition generateSideTableUniversalQueryCondition(java.lang.String maintablealias)
maintablealias
- main table alias