Package com.couchbase.lite
Class Meta
- java.lang.Object
-
- com.couchbase.lite.Meta
-
public final class Meta extends Object
Meta is a factory class for creating the expressions that refer to the metadata properties of the document.
-
-
Field Summary
Fields Modifier and Type Field Description static MetaExpression
deleted
A metadata expression referring to the deleted boolean flag of the document.static MetaExpression
expiration
A metadata expression referring to the expiration date of the document.static MetaExpression
id
A metadata expression referring to the ID of the document.static MetaExpression
revisionID
A metadata expression referring to the RevisionId of the document.static MetaExpression
sequence
A metadata expression referring to the sequence number of the document.
-
-
-
Field Detail
-
id
@NonNull public static final MetaExpression id
A metadata expression referring to the ID of the document. Can't change these to CAPITAL_SNAKE case, cuz they are part of the API.
-
revisionID
@NonNull public static final MetaExpression revisionID
A metadata expression referring to the RevisionId of the document.
-
sequence
@NonNull public static final MetaExpression sequence
A metadata expression referring to the sequence number of the document. The sequence number indicates how recently the document has been changed. If one document's `sequence` is greater than another's, that means it was changed more recently.
-
deleted
@NonNull public static final MetaExpression deleted
A metadata expression referring to the deleted boolean flag of the document.
-
expiration
@NonNull public static final MetaExpression expiration
A metadata expression referring to the expiration date of the document.
-
-