|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.client.am.PreparedStatement.PossibleTypes
private static class PreparedStatement.PossibleTypes
PossibleTypes is information which is set of types. A given type is evaluated as *possible* at checkType method if same type was found in the set.
Field Summary | |
---|---|
static PreparedStatement.PossibleTypes |
DEFAULT_POSSIBLE_TYPES_FOR_NULL
This is possibleTypes of null value which can be assigned to other typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_FOR_BINARY_NULL
This is possibleTypes of null value which can be assigned to BINARY typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_FOR_BLOB_NULL
This is possibleTypes of null value which can be assigned to BLOB typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_FOR_CLOB_NULL
This is possibleTypes of null value which can be assigned to CLOB typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_FOR_DATE_NULL
This is possibleTypes of null value which can be assigned to DATE typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_FOR_GENERIC_CHARACTERS_NULL
This is possibleTypes of null value which can be assigned to generic character typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_FOR_GENERIC_SCALAR_NULL
This is possibleTypes of null value which can be assigned to generic scalar typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_FOR_LONGVARBINARY_NULL
This is possibleTypes of null value which can be assigned to LONGVARBINARY typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_FOR_TIME_NULL
This is possibleTypes of null value which can be assigned to TIME typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_FOR_TIMESTAMP_NULL
This is possibleTypes of null value which can be assigned to TIMESTAMP typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_FOR_VARBINARY_NULL
This is possibleTypes of null value which can be assigned to VARBINARY typed variable. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_ASCIISTREAM
This is possibleTypes of variable which can be set by setAsciiStream method. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_BINARYSTREAM
This is possibleTypes of variable which can be set by setBinaryStream method. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_BLOB
This is possibleTypes of variable which can be set by setBlob method. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_BYTES
This is possibleTypes of variable which can be set by setBytes method. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_CHARACTERSTREAM
This is possibleTypes of variable which can be set by setCharacterStream method. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_CLOB
This is possibleTypes of variable which can be set by setClob method. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_DATE
This is possibleTypes of variable which can be set by setDate method. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_GENERIC_SCALAR
This is possibleTypes of variable which can be set by set method for generic scalar. |
private static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_STRING
This is possibleTypes of variable which can be set by setString method. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_TIME
This is possibleTypes of variable which can be set by setTime method. |
static PreparedStatement.PossibleTypes |
POSSIBLE_TYPES_IN_SET_TIMESTAMP
This is possibleTypes of variable which can be set by setTimestamp method. |
private int[] |
possibleTypes
|
Constructor Summary | |
---|---|
private |
PreparedStatement.PossibleTypes(int[] types)
|
Method Summary | |
---|---|
(package private) boolean |
checkType(int type)
This method return true if the type is possible. |
(package private) static PreparedStatement.PossibleTypes |
getPossibleTypesForNull(int typeOfVariable)
This method return possibleTypes of null value in variable typed as typeOfVariable. |
(package private) static SqlException |
throw22005Exception(LogWriter logWriter,
int valType,
int paramType)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int[] possibleTypes
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_GENERIC_SCALAR
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_DATE
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_TIME
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_TIMESTAMP
private static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_STRING
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_BYTES
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_BINARYSTREAM
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_ASCIISTREAM
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_CHARACTERSTREAM
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_BLOB
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_IN_SET_CLOB
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_GENERIC_SCALAR_NULL
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_GENERIC_CHARACTERS_NULL
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_VARBINARY_NULL
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_BINARY_NULL
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_LONGVARBINARY_NULL
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_DATE_NULL
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_TIME_NULL
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_TIMESTAMP_NULL
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_CLOB_NULL
public static final PreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_BLOB_NULL
public static final PreparedStatement.PossibleTypes DEFAULT_POSSIBLE_TYPES_FOR_NULL
Constructor Detail |
---|
private PreparedStatement.PossibleTypes(int[] types)
Method Detail |
---|
boolean checkType(int type)
static SqlException throw22005Exception(LogWriter logWriter, int valType, int paramType) throws SqlException
SqlException
static PreparedStatement.PossibleTypes getPossibleTypesForNull(int typeOfVariable)
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |