Package com.twicedb.client.api
Annotation Interface TwiceDBIndex
An annotation that causes the annotated field to be indexed and to be read-queryable. For
example, the following class shows both an indexed field annotated with @TwiceDBIndex and an
unindexed field:
public class Example { // Instances of Example may be queried by indexedString. @TwiceDBIndex public String indexedString; // Instances of Example may not be queried by unindexedString. public String unindexedString; }The following types can be indexed:
boolean and Boolean
double and Double
float and Float
int and Integer
long and Long
String
ZonedDateTime