Package com.couchbase.lite
Class ValueIndexItem
- java.lang.Object
-
- com.couchbase.lite.ValueIndexItem
-
public final class ValueIndexItem extends java.lang.Object
Value Index Item
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValueIndexItem
expression(Expression expression)
Creates a value index item with the given property.static ValueIndexItem
property(java.lang.String property)
Creates a value index item with the given property.
-
-
-
Method Detail
-
property
@NonNull public static ValueIndexItem property(@NonNull java.lang.String property)
Creates a value index item with the given property.- Parameters:
property
- the property name- Returns:
- The value index item
-
expression
@NonNull public static ValueIndexItem expression(@NonNull Expression expression)
Creates a value index item with the given property.- Parameters:
expression
- The expression to index. Typically a property expression.- Returns:
- The value index item
-
-