Package org.apache.derby.client.am
Class ClientPreparedStatement.PossibleTypes
java.lang.Object
org.apache.derby.client.am.ClientPreparedStatement.PossibleTypes
- Enclosing class:
ClientPreparedStatement
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
FieldsModifier and TypeFieldDescriptionstatic final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to other typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to BINARY typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to BLOB typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to CLOB typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to DATE typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to generic character typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to generic scalar typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to LONGVARBINARY typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to TIME typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to TIMESTAMP typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of null value which can be assigned to VARBINARY typed variable.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by setAsciiStream method.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by setBinaryStream method.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by setBlob method.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by setBytes method.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by setCharacterStream method.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by setClob method.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by setDate method.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by set method for generic scalar.private static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by setString method.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by setTime method.static final ClientPreparedStatement.PossibleTypes
This is possibleTypes of variable which can be set by setTimestamp method.private final int[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
checkType
(int type) This method return true if the type is possible.(package private) static ClientPreparedStatement.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)
-
Field Details
-
possibleTypes
private final int[] possibleTypes -
POSSIBLE_TYPES_IN_SET_GENERIC_SCALAR
This is possibleTypes of variable which can be set by set method for generic scalar. -
POSSIBLE_TYPES_IN_SET_DATE
This is possibleTypes of variable which can be set by setDate method. -
POSSIBLE_TYPES_IN_SET_TIME
This is possibleTypes of variable which can be set by setTime method. -
POSSIBLE_TYPES_IN_SET_TIMESTAMP
This is possibleTypes of variable which can be set by setTimestamp method. -
POSSIBLE_TYPES_IN_SET_STRING
This is possibleTypes of variable which can be set by setString method. -
POSSIBLE_TYPES_IN_SET_BYTES
This is possibleTypes of variable which can be set by setBytes method. -
POSSIBLE_TYPES_IN_SET_BINARYSTREAM
This is possibleTypes of variable which can be set by setBinaryStream method. -
POSSIBLE_TYPES_IN_SET_ASCIISTREAM
This is possibleTypes of variable which can be set by setAsciiStream method. -
POSSIBLE_TYPES_IN_SET_CHARACTERSTREAM
This is possibleTypes of variable which can be set by setCharacterStream method. -
POSSIBLE_TYPES_IN_SET_BLOB
This is possibleTypes of variable which can be set by setBlob method. -
POSSIBLE_TYPES_IN_SET_CLOB
This is possibleTypes of variable which can be set by setClob method. -
POSSIBLE_TYPES_FOR_GENERIC_SCALAR_NULL
This is possibleTypes of null value which can be assigned to generic scalar typed variable. -
POSSIBLE_TYPES_FOR_GENERIC_CHARACTERS_NULL
public static final ClientPreparedStatement.PossibleTypes POSSIBLE_TYPES_FOR_GENERIC_CHARACTERS_NULLThis is possibleTypes of null value which can be assigned to generic character typed variable. -
POSSIBLE_TYPES_FOR_VARBINARY_NULL
This is possibleTypes of null value which can be assigned to VARBINARY typed variable. -
POSSIBLE_TYPES_FOR_BINARY_NULL
This is possibleTypes of null value which can be assigned to BINARY typed variable. -
POSSIBLE_TYPES_FOR_LONGVARBINARY_NULL
This is possibleTypes of null value which can be assigned to LONGVARBINARY typed variable. -
POSSIBLE_TYPES_FOR_DATE_NULL
This is possibleTypes of null value which can be assigned to DATE typed variable. -
POSSIBLE_TYPES_FOR_TIME_NULL
This is possibleTypes of null value which can be assigned to TIME typed variable. -
POSSIBLE_TYPES_FOR_TIMESTAMP_NULL
This is possibleTypes of null value which can be assigned to TIMESTAMP typed variable. -
POSSIBLE_TYPES_FOR_CLOB_NULL
This is possibleTypes of null value which can be assigned to CLOB typed variable. -
POSSIBLE_TYPES_FOR_BLOB_NULL
This is possibleTypes of null value which can be assigned to BLOB typed variable. -
DEFAULT_POSSIBLE_TYPES_FOR_NULL
This is possibleTypes of null value which can be assigned to other typed variable.
-
-
Constructor Details
-
PossibleTypes
private PossibleTypes(int[] types)
-
-
Method Details
-
checkType
boolean checkType(int type) This method return true if the type is possible. -
throw22005Exception
static SqlException throw22005Exception(LogWriter logWriter, int valType, int paramType) throws SqlException - Throws:
SqlException
-
getPossibleTypesForNull
This method return possibleTypes of null value in variable typed as typeOfVariable.
-