Type
- public class LuceneStore<Type extends org.neo4j.graphdb.PropertyContainer> extends Object implements Store<Neo4JErsatz,Neo4JErsatz>
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_PROPERTY_NAME |
Constructor and Description |
---|
LuceneStore(org.neo4j.graphdb.GraphDatabaseService db,
EOEntity entity) |
Modifier and Type | Method and Description |
---|---|
void |
delete(Neo4JErsatz neoErsatz)
Delete record from the store.
|
Neo4JErsatz |
insert(Neo4JErsatz row)
Creates a new record in the store.
|
Ersatz |
newPrimaryKey()
Generate new primary key.
|
Cursor<Neo4JErsatz> |
query(EOQualifier q)
Query for records matching EO qualifier.
|
void |
update(Ersatz newValues,
Neo4JErsatz neoErsatz)
Update record with the given values.
|
public static final String TYPE_PROPERTY_NAME
public LuceneStore(org.neo4j.graphdb.GraphDatabaseService db, EOEntity entity)
public Neo4JErsatz insert(Neo4JErsatz row)
Store
insert
in interface Store<Neo4JErsatz,Neo4JErsatz>
row
- inserted object descriptiontoInsert
public void update(Ersatz newValues, Neo4JErsatz neoErsatz)
Store
update
in interface Store<Neo4JErsatz,Neo4JErsatz>
newValues
- new values, can be partial ersatzneoErsatz
- ersatz representing record to be updatedpublic void delete(Neo4JErsatz neoErsatz)
Store
delete
in interface Store<Neo4JErsatz,Neo4JErsatz>
neoErsatz
- ersatz representing record to be deletedpublic Cursor<Neo4JErsatz> query(EOQualifier q)
Store
query
in interface Store<Neo4JErsatz,Neo4JErsatz>
q
- qualifierpublic Ersatz newPrimaryKey()
Store
newPrimaryKey
in interface Store<Neo4JErsatz,Neo4JErsatz>
Copyright © 2002 – 2024 Project Wonder.