GeezerVison is showing github.com — @Index: drop maxValueLength support. · a200332/objectbox-java@1c91939
File tree
Expand file treeCollapse file tree
Open diff view settings
objectbox-java-api/src/main/java/io/objectbox/annotation
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: objectbox-java-api/src/main/java/io/objectbox/annotation/Index.java +1-11Lines changed: 1 addition & 11 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
26 | 26 | /** |
27 | 27 | * Specifies that the property should be indexed, which is highly recommended if you do queries using this property. |
28 | 28 | * |
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. |
30 | 30 | */ |
31 | 31 | @Retention(RetentionPolicy.CLASS) |
32 | 32 | @Target(ElementType.FIELD) |
33 | 33 | public @interface Index { |
34 | 34 | 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 | | - |
45 | 35 | } |