Class Overview
A delegate that handles literals and constants for HqlSqlWalker, performing the token replacement functions and
classifying literals.
Summary
Constants |
int |
APPROXIMATE |
Indicates that Float and Double literal values should
be treated using the SQL "approximate" format (i.e., '1E-3')
|
int |
EXACT |
Indicates that Float and Double literal values should
be treated using the SQL "exact" format (i.e., '.001')
|
Fields |
public
static
int |
DECIMAL_LITERAL_FORMAT |
In what format should Float and Double literal values be sent
to the database? |
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
public
static
final
int
APPROXIMATE
Indicates that Float and Double literal values should
be treated using the SQL "approximate" format (i.e., '1E-3')
Constant Value:
1
(0x00000001)
public
static
final
int
EXACT
Indicates that Float and Double literal values should
be treated using the SQL "exact" format (i.e., '.001')
Constant Value:
0
(0x00000000)
Fields
public
static
int
DECIMAL_LITERAL_FORMAT
In what format should Float and Double literal values be sent
to the database?
Public Constructors
Public Methods
public
String
determineDecimalRepresentation
(String text, int type)
public
boolean
isAlias
(String alias)
public
void
lookupConstant
(DotNode node)
public
void
processBoolean
(AST constant)
public
void
processConstant
(AST constant, boolean resolveIdent)
public
void
processNumeric
(AST literal)