org.castor.cpa.persistence.sql.query
Class QueryConstants

java.lang.Object
  extended by org.castor.cpa.persistence.sql.query.QueryConstants

public final class QueryConstants
extends Object

Constants for SQL queries.

Version:
$Revision$ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
Author:
Ahmad Hassan, Ralf Joachim

Field Summary
static String AND
          'AND' keyword for conditions of SQL queries.
static char ASSIGN
          Character to assign a value to a column in set clause of an SQL update query.
static String DELETE
          'DELETE' keyword of a SQL delete query.
static char DOT
          Character separating qualifier and column in a SQL query.
static String FROM
          'FROM' keyword of a SQL query.
static String INSERT
          'INSERT' keyword of a SQL insert query.
static String INTO
          'INTO' keyword of insert query.
static String IS
          'IS' keyword for conditions of SQL queries.
static char LPAREN
          Left parenthesis character for SQL query.
static String NOT
          'NOT' keyword for conditions of SQL queries.
static String NULL
          'NULL' keyword for conditions of SQL queries.
static String OR
          'OR' keyword for conditions of SQL queries.
static char PARAMETER
          Character representing a parameter in a SQL query.
static char RPAREN
          Right parenthesis character for SQL query.
static String SELECT
          'SELECT' keyword of a SQL delete query.
static char SEPERATOR
          Character to separate multiple assignments in set clause of an SQL update query.
static String SET
          'SET' keyword of a SQL update query.
static char SPACE
          Character to use for spaces in SQL query.
static char STAR
          '*' for select query.
static String UPDATE
          'UPDATE' keyword of a SQL update query.
static String VALUES
          'VALUES' keyword of a SQL insert query.
static String WHERE
          'WHERE' keyword of a SQL query.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SELECT

public static final String SELECT
'SELECT' keyword of a SQL delete query.

See Also:
Constant Field Values

DELETE

public static final String DELETE
'DELETE' keyword of a SQL delete query.

See Also:
Constant Field Values

UPDATE

public static final String UPDATE
'UPDATE' keyword of a SQL update query.

See Also:
Constant Field Values

INSERT

public static final String INSERT
'INSERT' keyword of a SQL insert query.

See Also:
Constant Field Values

VALUES

public static final String VALUES
'VALUES' keyword of a SQL insert query.

See Also:
Constant Field Values

INTO

public static final String INTO
'INTO' keyword of insert query.

See Also:
Constant Field Values

STAR

public static final char STAR
'*' for select query.

See Also:
Constant Field Values

SET

public static final String SET
'SET' keyword of a SQL update query.

See Also:
Constant Field Values

FROM

public static final String FROM
'FROM' keyword of a SQL query.

See Also:
Constant Field Values

WHERE

public static final String WHERE
'WHERE' keyword of a SQL query.

See Also:
Constant Field Values

AND

public static final String AND
'AND' keyword for conditions of SQL queries.

See Also:
Constant Field Values

OR

public static final String OR
'OR' keyword for conditions of SQL queries.

See Also:
Constant Field Values

NOT

public static final String NOT
'NOT' keyword for conditions of SQL queries.

See Also:
Constant Field Values

IS

public static final String IS
'IS' keyword for conditions of SQL queries.

See Also:
Constant Field Values

NULL

public static final String NULL
'NULL' keyword for conditions of SQL queries.

See Also:
Constant Field Values

SPACE

public static final char SPACE
Character to use for spaces in SQL query.

See Also:
Constant Field Values

DOT

public static final char DOT
Character separating qualifier and column in a SQL query.

See Also:
Constant Field Values

PARAMETER

public static final char PARAMETER
Character representing a parameter in a SQL query.

See Also:
Constant Field Values

LPAREN

public static final char LPAREN
Left parenthesis character for SQL query.

See Also:
Constant Field Values

RPAREN

public static final char RPAREN
Right parenthesis character for SQL query.

See Also:
Constant Field Values

ASSIGN

public static final char ASSIGN
Character to assign a value to a column in set clause of an SQL update query.

See Also:
Constant Field Values

SEPERATOR

public static final char SEPERATOR
Character to separate multiple assignments in set clause of an SQL update query.

See Also:
Constant Field Values


Copyright © 2010. All Rights Reserved.