|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.cjdbc.sql.ParsingGranularities
Defines SQL queries parsing granularities.
Field Summary | |
static int |
COLUMN
Column granularity. |
static int |
COLUMN_UNIQUE
Column granularity with UNIQUE queries.
|
static int |
COLUMN_UNIQUE_DELETE
Column granularity with UNIQUE queries and UNIQUE_DELETE optimization. |
static int |
COLUMN_UNIQUE_UPDATE
Column granularity with UNIQUE queries and
UNIQUE_UPDATE .
|
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 |
public static final int NO_PARSING
public static final int TABLE
public static final int COLUMN
public static final int COLUMN_UNIQUE
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
).
public static final int COLUMN_UNIQUE_UPDATE
UNIQUE
queries and
UNIQUE_UPDATE
.
Same as COLUMN_UNIQUE
except that update
statements that affect a UNIQUE
row are flagged
UNIQUE
.
public static final int COLUMN_UNIQUE_DELETE
Here, in case of a DELETE request:
COLUMN_UNIQUE
except that a DELETE only invalidates
queries that result in the same single row as the DELETE.
Constructor Detail |
public ParsingGranularities()
Method Detail |
public static java.lang.String getInformation(int granularity)
String
form.
granularity
- a granularity value
String
form of the granularity
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |