org.objectweb.cjdbc.common.sql
Class ParsingGranularities

java.lang.Object
  extended byorg.objectweb.cjdbc.common.sql.ParsingGranularities

public class ParsingGranularities
extends java.lang.Object

Defines SQL queries parsing granularities.

Version:
1.0
Author:
Emmanuel Cecchet, Sara Bouchenak

Field Summary
static int COLUMN
          Column granularity.
static int COLUMN_UNIQUE
          Column granularity with UNIQUE queries.
static int NO_PARSING
          The request is not parsed.
static int TABLE
          Table granularity.
 
Constructor Summary
ParsingGranularities()
           
 
Method Summary
static java.lang.String getInformation(int granularity)
          Returns the granularity value in a String form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_PARSING

public static final int NO_PARSING
The request is not parsed.

See Also:
Constant Field Values

TABLE

public static final int TABLE
Table granularity. Only table dependencies are computed.

See Also:
Constant Field Values

COLUMN

public static final int COLUMN
Column granularity. Column dependencies are computed (both select and where clauses).

See Also:
Constant Field Values

COLUMN_UNIQUE

public static final int COLUMN_UNIQUE
Column granularity with UNIQUE queries.

Same as COLUMN except that UNIQUE queries that select a single row based on a key are flagged UNIQUE (and should not be invalidated on INSERTs).

See Also:
Constant Field Values
Constructor Detail

ParsingGranularities

public ParsingGranularities()
Method Detail

getInformation

public static java.lang.String getInformation(int granularity)
Returns the granularity value in a String form.

Parameters:
granularity - a granularity value
Returns:
the String form of the granularity


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.