Index

@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class Index

Annotation marking a field as indexed.

Multiple fields in a RealmObject class can have this annotation.

This annotation applies to the following primitive types: String, Boolean, Byte, Char, Short, Int, Long, RealmInstant, ObjectId, BsonObjectId, RealmUUID as well as their nullable variants.

This annotation cannot be combined with FullText.

Constructors

Index
Link copied to clipboard
fun Index()