@Documented @Retention(value=RUNTIME) @Target(value={FIELD,METHOD,ANNOTATION_TYPE,TYPE_USE}) public @interface Indexed
The following columns of a Table
type can be annotated with Indexed
:
Map types distinguish allows entry, key or value-level indexing with the restriction that only a single secondary index is allowed.
@Table class Person { Map<@Indexed String, String> indexedKey; // allows CONTAINS KEY queries MapindexedValue; // allows CONTAINS queries }
Table
public abstract String value
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.