Uses of Class
org.datanucleus.store.rdbms.sql.SQLTable

Packages that use SQLTable
org.datanucleus.store.rdbms.request Provides the mechanism of communicating with the database using JDBC. 
org.datanucleus.store.rdbms.sql Series of classes used to generate SQL statements. 
org.datanucleus.store.rdbms.sql.expression Series of expressions representing conditions in SQL statements. 
 

Uses of SQLTable in org.datanucleus.store.rdbms.request
 

Methods in org.datanucleus.store.rdbms.request with parameters of type SQLTable
protected  int FetchRequest2.processMembersOfClass(SQLStatement sqlStatement, java.lang.Class cls, org.datanucleus.metadata.AbstractMemberMetaData[] mmds, org.datanucleus.store.mapped.DatastoreClass table, SQLTable sqlTbl, org.datanucleus.store.mapped.StatementClassMapping mappingDef, java.util.Collection fetchCallbacks, org.datanucleus.ClassLoaderResolver clr)
          Method to process the supplied members of the class, adding to the SQLStatement as required.
 

Uses of SQLTable in org.datanucleus.store.rdbms.sql
 

Fields in org.datanucleus.store.rdbms.sql declared as SQLTable
protected  SQLTable SQLStatement.primaryTable
          Primary table for this statement.
protected  SQLTable SQLColumn.table
          The SQL Table that we are selecting columns from.
 

Fields in org.datanucleus.store.rdbms.sql with type parameters of type SQLTable
protected  java.util.Map<java.lang.String,SQLTable> SQLStatement.tables
          Map of tables referenced in this statement, keyed by their alias.
 

Methods in org.datanucleus.store.rdbms.sql that return SQLTable
static SQLTable SQLStatementHelper.addJoinForOneToOneRelation(SQLStatement stmt, org.datanucleus.store.mapped.mapping.JavaTypeMapping sourceMapping, SQLTable sourceSqlTbl, org.datanucleus.store.mapped.mapping.JavaTypeMapping targetMapping, org.datanucleus.store.mapped.DatastoreContainerObject targetTable, java.lang.String targetAlias, java.lang.Object[] discrimValues, java.lang.String targetTablegroupName)
          Convenience method to add a join across a 1-1 relation to the provided SQLStatement.
 SQLTable SQLStatement.crossJoin(org.datanucleus.store.mapped.DatastoreContainerObject target, java.lang.String targetAlias, java.lang.String tableGrpName)
          Method to form a right outer join to the specified table using the provided mappings.
 SQLTable SQLStatement.getPrimaryTable()
          Accessor for the primary table of the statement.
static SQLTable SQLStatementHelper.getSQLTableForMappingOfTable(SQLStatement stmt, SQLTable sqlTbl, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Method to return the SQLTable where the specified mapping (in the same table group as the provided SQLTable) is defined.
 SQLTable SQLJoin.getTable()
           
 SQLTable SQLColumn.getTable()
           
 SQLTable SQLStatement.getTable(org.datanucleus.store.mapped.DatastoreContainerObject table, java.lang.String groupName)
          Accessor for the SQLTable object for the specified table (if defined for this statement) in the specified table group.
 SQLTable SQLStatement.getTable(java.lang.String alias)
          Accessor for the SQLTable object with the specified alias (if defined for this statement).
 SQLTable[] SQLTableGroup.getTables()
           
 SQLTable SQLStatement.innerJoin(SQLTable sourceTable, org.datanucleus.store.mapped.mapping.JavaTypeMapping sourceMapping, org.datanucleus.store.mapped.DatastoreContainerObject target, java.lang.String targetAlias, org.datanucleus.store.mapped.mapping.JavaTypeMapping targetMapping, java.lang.Object[] discrimValues, java.lang.String tableGrpName)
          Method to form an inner join to the specified table using the provided mappings.
 SQLTable SQLStatement.leftOuterJoin(SQLTable sourceTable, org.datanucleus.store.mapped.mapping.JavaTypeMapping sourceMapping, org.datanucleus.store.mapped.DatastoreContainerObject target, java.lang.String targetAlias, org.datanucleus.store.mapped.mapping.JavaTypeMapping targetMapping, java.lang.Object[] discrimValues, java.lang.String tableGrpName)
          Method to form a left outer join to the specified table using the provided mappings.
 SQLTable SQLStatement.rightOuterJoin(SQLTable sourceTable, org.datanucleus.store.mapped.mapping.JavaTypeMapping sourceMapping, org.datanucleus.store.mapped.DatastoreContainerObject target, java.lang.String targetAlias, org.datanucleus.store.mapped.mapping.JavaTypeMapping targetMapping, java.lang.Object[] discrimValues, java.lang.String tableGrpName)
          Method to form a right outer join to the specified table using the provided mappings.
 

Methods in org.datanucleus.store.rdbms.sql with parameters of type SQLTable
static SQLTable SQLStatementHelper.addJoinForOneToOneRelation(SQLStatement stmt, org.datanucleus.store.mapped.mapping.JavaTypeMapping sourceMapping, SQLTable sourceSqlTbl, org.datanucleus.store.mapped.mapping.JavaTypeMapping targetMapping, org.datanucleus.store.mapped.DatastoreContainerObject targetTable, java.lang.String targetAlias, java.lang.Object[] discrimValues, java.lang.String targetTablegroupName)
          Convenience method to add a join across a 1-1 relation to the provided SQLStatement.
 void SQLTableGroup.addTable(SQLTable tbl)
           
static BooleanExpression SQLStatementHelper.getExpressionForDiscriminatorForClass(SQLStatement stmt, java.lang.String className, org.datanucleus.metadata.DiscriminatorMetaData dismd, org.datanucleus.store.mapped.mapping.JavaTypeMapping discriminatorMapping, SQLTable discrimSqlTbl)
          Convenience method to generate a BooleanExpression for the associated discriminator value for the specified class.
static SQLTable SQLStatementHelper.getSQLTableForMappingOfTable(SQLStatement stmt, SQLTable sqlTbl, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Method to return the SQLTable where the specified mapping (in the same table group as the provided SQLTable) is defined.
 SQLTable SQLStatement.innerJoin(SQLTable sourceTable, org.datanucleus.store.mapped.mapping.JavaTypeMapping sourceMapping, org.datanucleus.store.mapped.DatastoreContainerObject target, java.lang.String targetAlias, org.datanucleus.store.mapped.mapping.JavaTypeMapping targetMapping, java.lang.Object[] discrimValues, java.lang.String tableGrpName)
          Method to form an inner join to the specified table using the provided mappings.
protected  void SQLStatement.join(SQLJoin.JoinType joinType, SQLTable sourceTable, org.datanucleus.store.mapped.mapping.JavaTypeMapping sourceMapping, SQLTable targetTable, org.datanucleus.store.mapped.mapping.JavaTypeMapping targetMapping, java.lang.Object[] discrimValues)
          Internal method to form a join to the specified table using the provided mappings.
 SQLTable SQLStatement.leftOuterJoin(SQLTable sourceTable, org.datanucleus.store.mapped.mapping.JavaTypeMapping sourceMapping, org.datanucleus.store.mapped.DatastoreContainerObject target, java.lang.String targetAlias, org.datanucleus.store.mapped.mapping.JavaTypeMapping targetMapping, java.lang.Object[] discrimValues, java.lang.String tableGrpName)
          Method to form a left outer join to the specified table using the provided mappings.
 SQLTable SQLStatement.rightOuterJoin(SQLTable sourceTable, org.datanucleus.store.mapped.mapping.JavaTypeMapping sourceMapping, org.datanucleus.store.mapped.DatastoreContainerObject target, java.lang.String targetAlias, org.datanucleus.store.mapped.mapping.JavaTypeMapping targetMapping, java.lang.Object[] discrimValues, java.lang.String tableGrpName)
          Method to form a right outer join to the specified table using the provided mappings.
 int SQLStatement.select(SQLTable table, org.datanucleus.store.mapped.DatastoreField column, java.lang.String alias)
          Add a select clause for the specified column.
 int[] SQLStatement.select(SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping, java.lang.String alias)
          Add a select clause for the specified field (via its mapping).
static void SQLStatementHelper.selectFetchPlanOfSourceClassInStatement(SQLStatement stmt, org.datanucleus.store.mapped.StatementClassMapping mappingDefinition, org.datanucleus.FetchPlan fetchPlan, SQLTable sourceSqlTbl, org.datanucleus.metadata.AbstractClassMetaData sourceCmd, int maxFetchDepth)
          Method to select all fetch plan members for the "source" class.
static void SQLStatementHelper.selectMemberOfSourceInStatement(SQLStatement stmt, org.datanucleus.store.mapped.StatementClassMapping mappingDefinition, org.datanucleus.FetchPlan fetchPlan, SQLTable sourceSqlTbl, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr, int maxFetchPlanLimit)
          Method to select the specified member (field/property) of the source table in the passed SQL statement.
 

Constructors in org.datanucleus.store.rdbms.sql with parameters of type SQLTable
SQLColumn(SQLTable table, org.datanucleus.store.mapped.DatastoreField col, org.datanucleus.store.mapped.DatastoreIdentifier alias)
          Constructor for a column reference.
SQLJoin(SQLJoin.JoinType type, SQLTable tbl, BooleanExpression condition)
          Constructor for a join.
 

Uses of SQLTable in org.datanucleus.store.rdbms.sql.expression
 

Fields in org.datanucleus.store.rdbms.sql.expression declared as SQLTable
protected  SQLTable SQLExpression.table
          Table in the SQL statement that this mapping applies to.
 

Methods in org.datanucleus.store.rdbms.sql.expression that return SQLTable
 SQLTable SQLExpression.getSQLTable()
           
 

Methods in org.datanucleus.store.rdbms.sql.expression with parameters of type SQLTable
 SQLExpression SQLExpressionFactory.newExpression(SQLStatement stmt, SQLTable sqlTbl, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Factory for an expression representing a mapping on a table.
 

Constructors in org.datanucleus.store.rdbms.sql.expression with parameters of type SQLTable
ArrayExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for an SQL expression for a (field) mapping in a specified table.
BooleanExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for a boolean expression for the specified mapping of the table.
ByteExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for an SQL expression for a (field) mapping in a specified table.
CharacterExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for an SQL expression for a (field) mapping in a specified table.
CollectionExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for an SQL expression for a (field) mapping in a specified table.
ColumnExpression(SQLStatement stmt, SQLTable table, Column col)
          Constructor for an SQL expression for a column.
EnumExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for an expression for an enum field/property.
MapExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor.
NumericExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for a numeric expression for the mapping in the specified table.
ObjectExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for an SQL expression for a (field) mapping in a specified table.
SQLExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for an SQL expression for a (field) mapping in a specified table.
StringExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for an SQL expression for a (field) mapping in a specified table.
TemporalExpression(SQLStatement stmt, SQLTable table, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
          Constructor for an SQL expression for a (field) mapping in a specified table.
 



Copyright © 2009. All Rights Reserved.