@Target(value=TYPE) @Retention(value=RUNTIME) @Deprecated public @interface N1qlSecondaryIndexed
Repository interfaces, indicating that the framework
should ensure a N1QL Secondary Index is present when the repository is instantiated.
Said index will relate to the "type" field (the one bearing type information) and restrict on documents that match the repository's entity class.
Be sure to also use N1qlPrimaryIndexed to make sure the PRIMARY INDEX is there as well.
public abstract String indexName
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.