Spring Data Neo4j

org.springframework.data.neo4j.annotation
Annotation Type Indexed


@Retention(value=RUNTIME)
@Target(value={FIELD,TYPE,METHOD})
public @interface Indexed

Annotated fields and entities will be indexed and available for retrieval using an indexing API.


Optional Element Summary
 String fieldName
           
 String indexName
          Name of the index to use.
 IndexType indexType
           
 Indexed.Level level
           
 boolean numeric
           
 boolean unique
           
 

indexName

public abstract String indexName
Name of the index to use.

Default:
""

indexType

public abstract IndexType indexType
Default:
org.springframework.data.neo4j.support.index.IndexType.SIMPLE

fieldName

public abstract String fieldName
Default:
""

unique

public abstract boolean unique
Default:
false

numeric

public abstract boolean numeric
Default:
true

level

public abstract Indexed.Level level
Default:
org.springframework.data.neo4j.annotation.Indexed.Level.CLASS

Spring Data Neo4j

Copyright © 2013 SpringSource. All Rights Reserved.