# EncryptedVarCharColumnType

class EncryptedVarCharColumnType(encryptor: Encryptor, colLength: Int) : ColumnWithTransform<String, String>

Character column for storing encrypted strings, using the provided encryptor, with the specified maximum colLength.

#### Samples

    registerColumn(name, EncryptedVarCharColumnType(encryptor, cipherTextLength))

Content copied to clipboard

## Constructors

EncryptedVarCharColumnType
Link copied to clipboard
constructor(encryptor: Encryptor, colLength: Int)

## Properties

delegate
Link copied to clipboard
val delegate: IColumnType<String>
nullable
Link copied to clipboard
open override var nullable: Boolean
originalColumnType
Link copied to clipboard
val originalColumnType: IColumnType<Any>
transformer
Link copied to clipboard
val transformer: ColumnTransformer<String, String>

## Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
nonNullValueAsDefaultString
Link copied to clipboard
open fun nonNullValueAsDefaultString(value: String): String
nonNullValueToString
Link copied to clipboard
open fun nonNullValueToString(value: String): String
notNullValueToDB
Link copied to clipboard
open override fun notNullValueToDB(value: String): Any
parameterMarker
Link copied to clipboard
open override fun parameterMarker(value: String?): String
readObject
Link copied to clipboard
open override fun readObject(rs: RowApi, index: Int): Any?
setParameter
Link copied to clipboard
open override fun setParameter(stmt: PreparedStatementApi, index: Int, value: Any?)
sqlType
Link copied to clipboard
open override fun sqlType(): String
toString
Link copied to clipboard
open override fun toString(): String
unwrapRecursive
Link copied to clipboard
open fun unwrapRecursive(value: String?): Any?
validateValueBeforeUpdate
Link copied to clipboard
open fun validateValueBeforeUpdate(value: String?)
valueAsDefaultString
Link copied to clipboard
open fun valueAsDefaultString(value: String?): String
valueFromDB
Link copied to clipboard
open override fun valueFromDB(value: Any): String?
valueToDB
Link copied to clipboard
open override fun valueToDB(value: String?): Any?
valueToString
Link copied to clipboard
open fun valueToString(value: String?): String