File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
objectbox-java-api/src/main/java/io/objectbox/annotation Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 2626/**
2727 * Specifies that the property should be indexed, which is highly recommended if you do queries using this property.
2828 *
29- * To fine tune indexing you can specify {@link IndexType} and/or use {@link #maxValueLength()} if necessary.
29+ * To fine tune indexing you can specify {@link IndexType} if necessary.
3030 */
3131@ Retention (RetentionPolicy .CLASS )
3232@ Target (ElementType .FIELD )
3333public @interface Index {
3434 IndexType type () default IndexType .DEFAULT ;
35-
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
43- int maxValueLength () default 0 ;
44-
4535}
You can’t perform that action at this time.
0 commit comments