Properties

Link copied to clipboard

The converter used to convert between the primitive type and the intermediate type.

Functions

Link copied to clipboard
@JvmName(name = "createList")
inline fun <P : Any, C : Any> PersistentDataType<P, C>.asList(): ListPersistentDataType<P, C>
Link copied to clipboard
@JvmName(name = "createNullable")
inline fun <P : Any, C : Any> PersistentDataType<P, C>.asNullable(): NullablePersistentDataType<P, C>
Link copied to clipboard
@JvmName(name = "createSet")
inline fun <P : Any, C : Any> PersistentDataType<P, C>.asSet(): SetPersistentDataType<P, C>
Link copied to clipboard
open override fun convertToComplex(primitive: ByteArray): UUID

Converts a primitive data type to a complex data type.

Link copied to clipboard
open override fun convertToPrimitive(complex: UUID): ByteArray

Converts a complex data type to a primitive data type.

Link copied to clipboard
open override fun getComplexType(): KClass<UUID>

Returns the KClass of the complex data type.

Link copied to clipboard
open override fun getPrimitiveType(): KClass<ByteArray>

Returns the KClass of the primitive data type.

Link copied to clipboard
open override fun toCustom(intermediate: Uuid): UUID

Converts the intermediate type to the custom type.

Link copied to clipboard
open override fun toIntermediate(custom: UUID): Uuid

Converts the custom type to the intermediate type.

Link copied to clipboard
@JvmName(name = "createMap")
infix inline fun <KP : Any, KC : Any, VP : Any, VC : Any> PersistentDataType<KP, KC>.withMap(valueType: PersistentDataType<VP, VC>): MapPersistentDataType<KP, KC, VP, VC>