Class AS400VarChar
java.lang.Object
io.debezium.ibmi.db2.journal.data.types.AS400VarChar
- All Implemented Interfaces:
AS400DataType,Serializable,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final AS400Bin2private static final AS400Bin4private final intprivate final intprivate static final Stringprivate final intFields inherited from interface com.ibm.as400.access.AS400DataType
serialVersionUID, TYPE_ARRAY, TYPE_BIN1, TYPE_BIN2, TYPE_BIN4, TYPE_BIN8, TYPE_BYTE_ARRAY, TYPE_DATE, TYPE_DECFLOAT, TYPE_FLOAT4, TYPE_FLOAT8, TYPE_PACKED, TYPE_STRUCTURE, TYPE_TEXT, TYPE_TIME, TYPE_TIME_OF_DAY, TYPE_TIMESTAMP, TYPE_UBIN1, TYPE_UBIN2, TYPE_UBIN4, TYPE_UBIN8, TYPE_VARCHAR, TYPE_ZONED -
Constructor Summary
ConstructorsConstructorDescriptionAS400VarChar(int maxLenght, int bytesPerChar) AS400VarChar(int maxLenght, int bytesPerChar, int ccsid) -
Method Summary
-
Field Details
-
AS400_BIN2
-
AS400_BIN4
-
maxLenght
private final int maxLenght -
defaultValue
- See Also:
-
actualLength
private int actualLength -
ccsid
private final int ccsid -
bytesPerChar
private final int bytesPerChar
-
-
Constructor Details
-
AS400VarChar
public AS400VarChar(int maxLenght, int bytesPerChar) -
AS400VarChar
public AS400VarChar(int maxLenght, int bytesPerChar, int ccsid)
-
-
Method Details
-
getByteLength
public int getByteLength()- Specified by:
getByteLengthin interfaceAS400DataType
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceAS400DataType
-
getInstanceType
public int getInstanceType()- Specified by:
getInstanceTypein interfaceAS400DataType
-
getJavaType
- Specified by:
getJavaTypein interfaceAS400DataType
-
toBytes
- Specified by:
toBytesin interfaceAS400DataType
-
toBytes
- Specified by:
toBytesin interfaceAS400DataType
-
toBytes
- Specified by:
toBytesin interfaceAS400DataType
-
toObject
- Specified by:
toObjectin interfaceAS400DataType
-
toObject
- Specified by:
toObjectin interfaceAS400DataType
-
clone
- Specified by:
clonein interfaceAS400DataType- Overrides:
clonein classObject
-