File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
objectbox-java-api/src/main/java/io/objectbox/annotation Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 21
21
import java .lang .annotation .RetentionPolicy ;
22
22
import java .lang .annotation .Target ;
23
23
24
+ import io .objectbox .annotation .apihint .Internal ;
25
+
24
26
/**
25
27
* Specifies that the property should be indexed, which is highly recommended if you do queries using this property.
26
28
*
31
33
public @interface Index {
32
34
IndexType type () default IndexType .DEFAULT ;
33
35
34
- /** Only allowed for {@link IndexType#VALUE} and types String and byte[]. */
36
+ /**
37
+ * Not implemented yet!!
38
+ * Limit the length of index values (see {@link IndexType#VALUE}) for property types String and byte[].
39
+ * This can save storage for long values if the differ in the beginning.
40
+ * Valid values are in the range of 1-450.
41
+ */
42
+ @ Internal // Not really internal, but not yet implemented
35
43
int maxValueLength () default 0 ;
36
44
37
45
}
You can’t perform that action at this time.
0 commit comments