public enum CmdParamsType extends java.lang.Enum<CmdParamsType>
Enum Constant | Description |
---|---|
BigInt |
A 64-bit signed integer.
|
Binary |
A fixed-length stream of binary data ranging between 1 and 8,000 bytes.
|
Bit |
An unsigned numeric value that can be 0, 1, or null.
|
Char |
A fixed-length stream of non-Unicode characters ranging between 1 and 8,000 characters.
|
Date |
Date data ranging in value from January 1,1 AD through December 31, 9999 AD.
|
DateTime |
Date and time data ranging in value from January 1, 1753 to December 31, 9999 to an accuracy of 3.33 milliseconds.
|
DateTime2 |
Date and time data.
|
DateTimeOffset |
Date and time data with time zone awareness.
|
Decimal |
A fixed precision and scale numeric value between -10 38 -1 and 10 38 -1.
|
Float |
A floating point number within the range of -1.79E +308 through 1.79E +308.
|
Int |
A 32-bit signed integer.
|
Money |
A currency value ranging from -2 63 (or -9,223,372,036,854,775,808)
to 2 63 -1 (or +9,223,372,036,854,775,807) with an accuracy to a ten-thousandth of a currency unit.
|
NChar |
A fixed-length stream of Unicode characters ranging between 1 and 4,000 characters.
|
NVarChar |
A variable-length stream of Unicode characters ranging between
1 and 4,000 characters.
|
Real |
A floating point number within the range of -3.40E +38 through 3.40E +38.
|
SmallDateTime |
Date and time data ranging in value from January 1, 1900 to June 6, 2079 to an accuracy of one minute.
|
SmallInt |
A 16-bit signed integer.
|
SmallMoney |
A currency value ranging from -214,748.3648 to +214,748.3647 with an accuracy to a ten-thousandth of a currency unit.
|
Structured |
A special data type for specifying structured data contained in table-valued parameters.
|
Time |
Time data based on a 24-hour clock.
|
Timestamp |
Automatically generated binary numbers,
which are guaranteed to be unique within a database.
|
TinyInt |
An 8-bit unsigned integer.
|
Udt |
A SQL Server user-defined type (UDT).
|
UniqueIdentifier |
A globally unique identifier (or GUID).
|
VarBinary |
A variable-length stream of binary data
ranging between 1 and 8,000 bytes.
|
VarChar |
A variable-length stream of non-Unicode characters ranging between 1 and 8,000 characters.
|
Variant |
A special data type that can contain numeric, string, binary,
or date data as well as the SQL Server values Empty and Null, which is assumed
if no other type is declared.
|
Xml |
An XML value.
|
Modifier and Type | Method | Description |
---|---|---|
static CmdParamsType |
forValue(int value) |
retreives the enum constant of the specified value, if exists.
|
int |
getValue() |
Order is important in enums.By using getValue() method, each enum constant index can be found, just like array index.
|
static CmdParamsType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CmdParamsType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmdParamsType BigInt
public static final CmdParamsType Binary
public static final CmdParamsType Bit
public static final CmdParamsType Char
public static final CmdParamsType DateTime
public static final CmdParamsType Decimal
public static final CmdParamsType Float
public static final CmdParamsType Int
public static final CmdParamsType Money
public static final CmdParamsType NChar
public static final CmdParamsType NVarChar
public static final CmdParamsType Real
public static final CmdParamsType UniqueIdentifier
public static final CmdParamsType SmallDateTime
public static final CmdParamsType SmallInt
public static final CmdParamsType SmallMoney
public static final CmdParamsType Timestamp
public static final CmdParamsType TinyInt
public static final CmdParamsType VarBinary
public static final CmdParamsType VarChar
public static final CmdParamsType Variant
public static final CmdParamsType Xml
public static final CmdParamsType Udt
public static final CmdParamsType Structured
public static final CmdParamsType Date
public static final CmdParamsType Time
public static final CmdParamsType DateTime2
public static final CmdParamsType DateTimeOffset
public static CmdParamsType[] values()
for (CmdParamsType c : CmdParamsType.values()) System.out.println(c);
public static CmdParamsType 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 int getValue()
public static CmdParamsType forValue(int value)
value
- enum constant index