Package | Description |
---|---|
org.datanucleus.store.rdbms.query |
Package providing the querying mechanism for DataNucleus for RDBMS datastores.
|
org.datanucleus.store.rdbms.sql |
Series of classes used to generate SQL statements.
|
Modifier and Type | Method and Description |
---|---|
SQLJoin.JoinType |
QueryToSQLMapper.getRequiredJoinTypeForAlias(String alias)
Convenience method to return the required join type for the specified alias.
|
Modifier and Type | Method and Description |
---|---|
SQLJoin.JoinType |
SQLTableGroup.getJoinType() |
SQLJoin.JoinType |
SQLStatement.getJoinTypeForTable(SQLTable sqlTbl)
Accessor for the type of join used for the specified table.
|
SQLJoin.JoinType |
SQLJoin.getType() |
static SQLJoin.JoinType |
SQLJoin.JoinType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLJoin.JoinType[] |
SQLJoin.JoinType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static SQLTable |
SQLStatementHelper.addJoinForOneToOneRelation(SQLStatement stmt,
JavaTypeMapping sourceMapping,
SQLTable sourceSqlTbl,
JavaTypeMapping targetMapping,
Table targetTable,
String targetAlias,
Object[] discrimValues,
String targetTablegroupName,
SQLJoin.JoinType joinType)
Convenience method to add a join across a 1-1 relation to the provided SQLStatement.
|
protected void |
SQLStatement.join(SQLJoin.JoinType joinType,
SQLTable sourceTable,
JavaTypeMapping sourceMapping,
JavaTypeMapping sourceParentMapping,
SQLTable targetTable,
JavaTypeMapping targetMapping,
JavaTypeMapping targetParentMapping,
Object[] discrimValues)
Internal method to form a join to the specified table using the provided mappings.
|
void |
SQLJoin.setType(SQLJoin.JoinType type) |
Constructor and Description |
---|
SQLJoin(SQLJoin.JoinType type,
SQLTable tbl,
SQLTable joinedTbl,
BooleanExpression condition)
Constructor for a join.
|
Copyright © 2023. All rights reserved.