public static enum LiteralProcessor.DecimalLiteralFormat extends Enum<LiteralProcessor.DecimalLiteralFormat>
| Enum Constant and Description |
|---|
APPROXIMATE
Indicates that Float and Double literal values should
be treated using the SQL "approximate" format (i.e., '1E-3')
|
EXACT
Indicates that Float and Double literal values should
be treated using the SQL "exact" format (i.e., '.001')
|
| Modifier and Type | Method and Description |
|---|---|
abstract org.hibernate.hql.internal.ast.util.LiteralProcessor.DecimalFormatter |
getFormatter() |
static LiteralProcessor.DecimalLiteralFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiteralProcessor.DecimalLiteralFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiteralProcessor.DecimalLiteralFormat EXACT
public static final LiteralProcessor.DecimalLiteralFormat APPROXIMATE
public static LiteralProcessor.DecimalLiteralFormat[] values()
for (LiteralProcessor.DecimalLiteralFormat c : LiteralProcessor.DecimalLiteralFormat.values()) System.out.println(c);
public static LiteralProcessor.DecimalLiteralFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic abstract org.hibernate.hql.internal.ast.util.LiteralProcessor.DecimalFormatter getFormatter()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.