Uses of Enum
org.datanucleus.store.rdbms.sql.SQLJoin.JoinType
Packages that use SQLJoin.JoinType
Package
Description
Package providing the querying mechanism for DataNucleus for RDBMS datastores.
Series of classes used to generate SQL statements.
Support for invocation of Java methods, typically using SQL functions.
-
Uses of SQLJoin.JoinType in org.datanucleus.store.rdbms.query
Fields in org.datanucleus.store.rdbms.query declared as SQLJoin.JoinTypeModifier and TypeFieldDescription(package private) SQLJoin.JoinTypeQueryToSQLMapper.defaultJoinType(package private) SQLJoin.JoinTypeQueryToSQLMapper.defaultJoinTypeFilterMethods in org.datanucleus.store.rdbms.query that return SQLJoin.JoinTypeModifier and TypeMethodDescriptionprivate SQLJoin.JoinTypeQueryToSQLMapper.getDefaultJoinTypeForNavigation()Convenience method to return the default join type to use for a relation navigation.QueryToSQLMapper.getRequiredJoinTypeForAlias(String alias) Convenience method to return the required join type for the specified alias.Methods in org.datanucleus.store.rdbms.query with parameters of type SQLJoin.JoinTypeModifier and TypeMethodDescription(package private) voidQueryToSQLMapper.setDefaultJoinType(SQLJoin.JoinType joinType) Method to set the default join type to be used.(package private) voidQueryToSQLMapper.setDefaultJoinTypeFilter(SQLJoin.JoinType joinType) -
Uses of SQLJoin.JoinType in org.datanucleus.store.rdbms.sql
Subclasses with type arguments of type SQLJoin.JoinType in org.datanucleus.store.rdbms.sqlFields in org.datanucleus.store.rdbms.sql declared as SQLJoin.JoinTypeModifier and TypeFieldDescription(package private) SQLJoin.JoinTypeSQLTableGroup.joinTypeType of join to this group (from the candidate group presumably).private SQLJoin.JoinTypeSQLJoin.typeType of join to perform.Methods in org.datanucleus.store.rdbms.sql that return SQLJoin.JoinTypeModifier and TypeMethodDescriptionSQLTableGroup.getJoinType()static SQLJoin.JoinTypeSQLJoin.getJoinTypeForJoinExpressionType(org.datanucleus.store.query.expression.JoinExpression.JoinType ejt) static SQLJoin.JoinTypeSQLStatementHelper.getJoinTypeForOneToOneRelationJoin(JavaTypeMapping sourceMapping, SQLTable sourceSqlTbl, SQLJoin.JoinType joinType) Convenience method to return the join type to use for the specified 1-1 relation.SQLStatement.getJoinTypeForTable(SQLTable sqlTbl) Accessor for the type of join used for the specified table.SQLJoin.getType()static SQLJoin.JoinTypeReturns 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.Methods in org.datanucleus.store.rdbms.sql with parameters of type SQLJoin.JoinTypeModifier and TypeMethodDescriptionprotected voidSQLStatement.addJoin(SQLJoin.JoinType joinType, SQLTable sourceTable, SQLTable targetTable, BooleanExpression joinCondition, SQLJoin parentJoin) Internal method to form a join to the specified table using the provided mappings.static SQLTableSQLStatementHelper.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.static SQLJoin.JoinTypeSQLStatementHelper.getJoinTypeForOneToOneRelationJoin(JavaTypeMapping sourceMapping, SQLTable sourceSqlTbl, SQLJoin.JoinType joinType) Convenience method to return the join type to use for the specified 1-1 relation.SelectStatement.join(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, JavaTypeMapping sourceParentMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, JavaTypeMapping targetParentMapping, Object[] discrimValues, String tableGrpName, boolean applyToUnions, SQLJoin parentJoin) SelectStatement.join(SQLJoin.JoinType joinType, SQLTable sourceTable, Table target, String targetAlias, String tableGrpName, BooleanExpression joinCondition, boolean applyToUnions) SQLStatement.join(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, JavaTypeMapping sourceParentMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, JavaTypeMapping targetParentMapping, Object[] discrimValues, String tableGrpName, boolean applyToUnions, SQLJoin parentJoin) Method to form a join to the specified table using the provided mappings, with the join condition derived from the source-target mappings.SQLStatement.join(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, Object[] discrimValues, String tableGrpName) Method to form a join to the specified table using the provided mappings, with the join also being applied to any UNIONed statements.SQLStatement.join(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, Object[] discrimValues, String tableGrpName, boolean applyToUnions) Method to form a join to the specified table using the provided mappings.SQLStatement.join(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, Object[] discrimValues, String tableGrpName, boolean applyToUnions, SQLJoin parentJoin) Method to form a join to the specified table using the provided mappings.SQLStatement.join(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, Object[] discrimValues, String tableGrpName, SQLJoin parentJoin) Method to form a join to the specified table using the provided mappings, with the join also being applied to any UNIONed statements.SQLStatement.join(SQLJoin.JoinType joinType, SQLTable sourceTable, Table target, String targetAlias, String tableGrpName, BooleanExpression joinCondition, boolean applyToUnions) Method to form a join to the specified table using the provided mappings and applying the provided join condition (rather than generating one from the source/target mappings).protected voidSQLStatement.putSQLTableInGroup(SQLTable sqlTbl, String groupName, SQLJoin.JoinType joinType) Convenience method to add the SQLTable to the specified group.private static booleanSQLStatementHelper.selectFetchPlanFieldsOfFKRelatedObject(SelectStatement stmt, StatementClassMapping mappingDefinition, org.datanucleus.FetchPlan fetchPlan, SQLTable sourceSqlTbl, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr, int maxFetchPlanLimit, JavaTypeMapping m, String tableGroupName, StatementMappingIndex stmtMapping, SQLTable sqlTbl, SQLJoin.JoinType inputJoinType) Convenience method to join to and select all required FP fields of a related object where linked via an FK at this side.static voidSQLStatementHelper.selectFetchPlanOfSourceClassInStatement(SelectStatement stmt, StatementClassMapping mappingDefinition, org.datanucleus.FetchPlan fetchPlan, SQLTable sourceSqlTbl, org.datanucleus.metadata.AbstractClassMetaData sourceCmd, int maxFetchDepth, SQLJoin.JoinType inputJoinType) Method to select all fetch plan members for the "source" class.static voidSQLStatementHelper.selectMemberOfSourceInStatement(SelectStatement stmt, StatementClassMapping mappingDefinition, org.datanucleus.FetchPlan fetchPlan, SQLTable sourceSqlTbl, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr, int maxFetchPlanLimit, SQLJoin.JoinType inputJoinType) Method to select the specified member (field/property) of the source table in the passed SQL statement.voidSQLJoin.setType(SQLJoin.JoinType type) Constructors in org.datanucleus.store.rdbms.sql with parameters of type SQLJoin.JoinTypeModifierConstructorDescriptionSQLJoin(SQLJoin.JoinType type, SQLTable targetTbl, SQLTable sourceTbl, BooleanExpression condition) Constructor for a join.(package private)SQLTableGroup(String name, SQLJoin.JoinType joinType) Constructor for a group with this name. -
Uses of SQLJoin.JoinType in org.datanucleus.store.rdbms.sql.method
Methods in org.datanucleus.store.rdbms.sql.method with parameters of type SQLJoin.JoinTypeModifier and TypeMethodDescriptionprotected SQLExpressionCollectionContainsMethod.containsAsJoin(SQLStatement stmt, CollectionExpression collExpr, SQLExpression elemExpr, SQLJoin.JoinType joinType) Method to return an expression for Collection.contains using INNER JOIN to the element.protected SQLExpressionMapContainsKeyMethod.containsAsJoin(SQLStatement stmt, MapExpression mapExpr, SQLExpression keyExpr, SQLJoin.JoinType joinType) Method to return an expression for Map.containsKey using INNER JOIN to the element.protected SQLExpressionMapContainsValueMethod.containsAsJoin(SQLStatement stmt, MapExpression mapExpr, SQLExpression valExpr, SQLJoin.JoinType joinType) Method to return an expression for Map.containsValue using INNER JOIN to the element.