# JavaDurationColumnType

class JavaDurationColumnType : DurationColumnType<Duration>

Column for storing time-based amounts of time, as Duration.

#### Samples

duration

## Constructors

JavaDurationColumnType
Link copied to clipboard
constructor()

## Types

Companion
Link copied to clipboard
object Companion

## Properties

nullable
Link copied to clipboard
open override var nullable: Boolean

## Functions

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