public enum SqlJetTypeAffinity extends java.lang.Enum<SqlJetTypeAffinity>
Modifier and Type | Method and Description |
---|---|
static SqlJetTypeAffinity |
decode(java.lang.String s)
Follows algorithm defined in SQLite documentation to infer type affinity
from column type.
|
static SqlJetTypeAffinity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqlJetTypeAffinity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlJetTypeAffinity TEXT
public static final SqlJetTypeAffinity NUMERIC
public static final SqlJetTypeAffinity INTEGER
public static final SqlJetTypeAffinity REAL
public static final SqlJetTypeAffinity NONE
public static SqlJetTypeAffinity[] values()
for (SqlJetTypeAffinity c : SqlJetTypeAffinity.values()) System.out.println(c);
public static SqlJetTypeAffinity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SqlJetTypeAffinity decode(java.lang.String s)
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.