Package io.realm.annotations

Types

Ignore
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class Ignore

Annotation marking a field as ignored inside Realm, meaning that it will not be part of the models' schema.

Index
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class Index

Annotation marking a field as indexed.

PrimaryKey
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class PrimaryKey

Annotation marking a field as a primary key inside Realm.