Uses of Class
org.eclipse.persistence.internal.expressions.ExpressionSQLPrinter
Packages that use ExpressionSQLPrinter
Package
Description
-
Uses of ExpressionSQLPrinter in org.eclipse.persistence.expressions
Methods in org.eclipse.persistence.expressions with parameters of type ExpressionSQLPrinterModifier and TypeMethodDescriptionvoidExpressionOperator.printCollection(List<Expression> items, ExpressionSQLPrinter printer) INTERNAL: Print the collection onto the SQL stream.voidExpressionOperator.printDuo(Expression first, Expression second, ExpressionSQLPrinter printer) INTERNAL: For performance, special case printing two children, since it's by far the most commonabstract voidExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQLprotected voidExpression.writeAlias(ExpressionSQLPrinter printer, DatabaseField field, SQLSelectStatement statement) INTERNAL: Append the field's alias to the writer.protected voidExpression.writeField(ExpressionSQLPrinter printer, DatabaseField field, SQLSelectStatement statement) INTERNAL: Append the field name to the writer.voidExpression.writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement) INTERNAL: called from SQLSelectStatement.writeFieldsFromExpression(...) -
Uses of ExpressionSQLPrinter in org.eclipse.persistence.history
Methods in org.eclipse.persistence.history with parameters of type ExpressionSQLPrinterModifier and TypeMethodDescriptionvoidAsOfClause.printSQL(ExpressionSQLPrinter printer) INTERNAL: Prints the as of clause for an expression inside of the FROM clause.voidAsOfSCNClause.printSQL(ExpressionSQLPrinter printer) INTERNAL: Prints the as of clause for an expression inside of the FROM clause. -
Uses of ExpressionSQLPrinter in org.eclipse.persistence.internal.databaseaccess
Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type ExpressionSQLPrinterModifier and TypeMethodDescriptionvoidDatabasePlatform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) INTERNAL: Print the SQL representation of the statement on a stream, storing the fields in the DatabaseCall. -
Uses of ExpressionSQLPrinter in org.eclipse.persistence.internal.expressions
Methods in org.eclipse.persistence.internal.expressions with parameters of type ExpressionSQLPrinterModifier and TypeMethodDescriptionvoidSQLSelectStatement.appendForUpdateClause(ExpressionSQLPrinter printer) This method will append the for update clause to the end of the select statement.voidSQLSelectStatement.appendFromClauseForInformixOuterJoin(ExpressionSQLPrinter printer, List<DatabaseTable> outerJoinedAliases) ADVANCED: If a platform is Informix, then the outer join must be in the FROM clause.voidSQLSelectStatement.appendFromClauseForOuterJoin(ExpressionSQLPrinter printer, List<DatabaseTable> outerJoinedAliases, Collection aliasesOfTablesToBeLocked, boolean shouldPrintUpdateClauseForAllTables) ADVANCED: Appends the SQL standard outer join clause, and some variation per platform.voidSQLSelectStatement.appendFromClauseToWriter(ExpressionSQLPrinter printer) Print the from clause.voidSQLSelectStatement.appendGroupByClauseToWriter(ExpressionSQLPrinter printer) This method will append the group by clause to the end of the select statement.voidSQLSelectStatement.appendHierarchicalQueryClauseToWriter(ExpressionSQLPrinter printer) This method will append the Hierarchical Query Clause to the end of the select statementvoidSQLSelectStatement.appendOrderClauseToWriter(ExpressionSQLPrinter printer) This method will append the order clause to the end of the select statement.voidSQLSelectStatement.appendUnionClauseToWriter(ExpressionSQLPrinter printer) This method will append the union clause to the end of the select statement.booleanRelationExpression.isEqualNull(ExpressionSQLPrinter printer) Check if the expression is an equal null expression, these must be handle in a special way in SQL.booleanRelationExpression.isNotEqualNull(ExpressionSQLPrinter printer) Check if the expression is an equal null expression, these must be handle in a special way in SQL.voidExtractOperator.printCollection(List<Expression> items, ExpressionSQLPrinter printer) protected voidSubSelectExpression.printCustomSQL(ExpressionSQLPrinter printer) Print the sub query to the printer.protected voidExtractOperator.printDaySQL(Expression first, Expression second, ExpressionSQLPrinter printer) Printer for DAY (<date-time-part>argument.voidExtractOperator.printDuo(Expression first, Expression second, ExpressionSQLPrinter printer) protected voidSQLSelectStatement.printForUpdateClauseOnJoin(DatabaseTable alias, ExpressionSQLPrinter printer, boolean shouldPrintUpdateClauseForAllTables, Collection aliasesOfTablesToBeLocked, DatabasePlatform platform) Print the FOR UPDATE clause after each join if required.protected voidExtractOperator.printHourSQL(Expression first, Expression second, ExpressionSQLPrinter printer) Printer for HOUR (<date-time-part>argument.protected voidExtractOperator.printMinuteSQL(Expression first, Expression second, ExpressionSQLPrinter printer) Printer for MINUTE (<date-time-part>argument.protected voidExtractOperator.printMonthSQL(Expression first, Expression second, ExpressionSQLPrinter printer) Printer for MONTH (<date-time-part>argument.protected voidSQLSelectStatement.printOnClause(Expression onClause, ExpressionSQLPrinter printer, DatabasePlatform platform) Print the outer join ON clause.protected voidExtractOperator.printQuarterSQL(Expression first, Expression second, ExpressionSQLPrinter printer) Printer for QUARTER (<date-time-part>argument.protected voidExtractOperator.printSecondSQL(Expression first, Expression second, ExpressionSQLPrinter printer) Printer for SECOND (<date-time-part>argument.voidArgumentListFunctionExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQLvoidCollectionExpression.printSQL(ExpressionSQLPrinter printer) voidCompoundExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQLvoidConstantExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for contextvoidDataExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for contextvoidDateConstantExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for contextvoidFieldExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for contextvoidForUpdateClause.printSQL(ExpressionSQLPrinter printer, SQLSelectStatement statement) INTERNAL: Prints the as of clause for an expression inside of the FROM clause.voidForUpdateOfClause.printSQL(ExpressionSQLPrinter printer, SQLSelectStatement statement) INTERNAL: Prints the as of clause for an expression inside of the FROM clause.voidFunctionExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQL using the operator.voidLiteralExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for contextvoidParameterExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for contextvoidQueryKeyExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for contextvoidRelationExpression.printSQL(ExpressionSQLPrinter printer) INTERNAL: Print SQLSQLSelectStatement.printSQL(ExpressionSQLPrinter printer) Print the SQL representation of the statement on a stream.voidSubSelectDatabaseTable.printSQL(ExpressionSQLPrinter printer) Print the table's SQL from clause.voidSubSelectExpression.printSQL(ExpressionSQLPrinter printer) Print the sub query to the printer.voidTreatAsExpression.printSQL(ExpressionSQLPrinter printer) voidSQLSelectStatement.printSQLForUpdateClause(ExpressionSQLPrinter printer) voidSQLSelectStatement.printSQLGroupByClause(ExpressionSQLPrinter printer) voidSQLSelectStatement.printSQLHavingClause(ExpressionSQLPrinter printer) voidSQLSelectStatement.printSQLHierarchicalQueryClause(ExpressionSQLPrinter printer) voidRelationExpression.printSQLNoParens(ExpressionSQLPrinter printer) INTERNAL: Print SQL without adding parentheses (for DB2 outer joins).voidSQLSelectStatement.printSQLOrderByClause(ExpressionSQLPrinter printer) SQLSelectStatement.printSQLSelect(ExpressionSQLPrinter printer) voidSQLSelectStatement.printSQLUnionClause(ExpressionSQLPrinter printer) voidSQLSelectStatement.printSQLWhereClause(ExpressionSQLPrinter printer) voidSQLSelectStatement.printSQLWhereKeyWord(ExpressionSQLPrinter printer) protected voidExtractOperator.printWeekSQL(Expression first, Expression second, ExpressionSQLPrinter printer) Printer for WEEK (<date-time-part>argument.protected voidExtractOperator.printYearSQL(Expression first, Expression second, ExpressionSQLPrinter printer) Printer for YEAR (<date-time-part>argument.protected voidFieldExpression.writeField(ExpressionSQLPrinter printer, DatabaseField field, SQLSelectStatement statement) protected voidSQLSelectStatement.writeField(ExpressionSQLPrinter printer, DatabaseField field) INTERNAL:voidConstantExpression.writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement) INTERNAL: Append the constant value into the printervoidFieldExpression.writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement) INTERNAL: called from SQLSelectStatement.writeFieldsFromExpression(...)voidFunctionExpression.writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement) INTERNAL: called from SQLSelectStatement.writeFieldsFromExpression(...)voidLiteralExpression.writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement) INTERNAL: Append the literal value into the printer, accounting for the first elementvoidParameterExpression.writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement) INTERNAL: Append the parameter into the printer.voidSubSelectExpression.writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement) INTERNAL: called from SQLSelectStatement.writeFieldsFromExpression(...) This allows a sub query in the select clause.voidTreatAsExpression.writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement) protected voidSQLSelectStatement.writeFieldsFromExpression(ExpressionSQLPrinter printer, Expression expression, Vector<DatabaseField> newFields) INTERNAL:protected Vector<DatabaseField> SQLSelectStatement.writeFieldsIn(ExpressionSQLPrinter printer) INTERNAL:protected voidFieldExpression.writeForUpdateOf(ExpressionSQLPrinter printer, SQLSelectStatement statement) INTERNAL: writes the field for fine-grained pessimistic locking.protected voidObjectExpression.writeForUpdateOfFields(ExpressionSQLPrinter printer, SQLSelectStatement statement) INTERNAL: writes the first field from each of the owned tables, used for fine-grained pessimistic locking. -
Uses of ExpressionSQLPrinter in org.eclipse.persistence.internal.helper
Methods in org.eclipse.persistence.internal.helper with parameters of type ExpressionSQLPrinterModifier and TypeMethodDescriptionvoidDatabaseTable.printSQL(ExpressionSQLPrinter printer) Print the table's SQL from clause. -
Uses of ExpressionSQLPrinter in org.eclipse.persistence.internal.history
Methods in org.eclipse.persistence.internal.history with parameters of type ExpressionSQLPrinterModifier and TypeMethodDescriptionvoidUniversalAsOfClause.printSQL(ExpressionSQLPrinter printer) INTERNAL: Prints the as of clause for an expression inside of the FROM clause. -
Uses of ExpressionSQLPrinter in org.eclipse.persistence.platform.database
Methods in org.eclipse.persistence.platform.database with parameters of type ExpressionSQLPrinterModifier and TypeMethodDescriptionvoidDB2Platform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) INTERNAL: Print the SQL representation of the statement on a stream, storing the fields in the DatabaseCall.voidDerbyPlatform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) INTERNAL: Print the SQL representation of the statement on a stream, storing the fields in the DatabaseCall.voidFirebirdPlatform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) Print the pagination SQL using FB syntax " ROWS <max> TO <first>".voidH2Platform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) Print the pagination SQL using H2 syntax " LIMIT <max> OFFSET <first>".voidHANAPlatform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) voidHSQLPlatform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) Print the pagination SQL using HSQL syntax "SELECT LIMIT <first> <max>".voidMySQLPlatform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) voidOraclePlatform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) INTERNAL: Print the SQL representation of the statement on a stream, storing the fields in the DatabaseCall.voidPostgreSQLPlatform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) Print the pagination SQL using Postgres syntax " LIMIT <max> OFFSET <first>".voidSQLServerPlatform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) voidSymfowarePlatform.printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) Print the pagination SQL using Symfoware syntax " WITH OPTION LIMIT ( <max>)".