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
           
 

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:
""

level

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

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.