Type - public class CompositeStore<Type extends org.neo4j.graphdb.PropertyContainer> extends Object implements Store<Ersatz,Neo4JErsatz>
LuceneStore
for queries.| Constructor and Description |
|---|
CompositeStore(Store<Ersatz,Neo4JErsatz> neoStore,
LuceneStore<Type> luceneStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Neo4JErsatz neoErsatz)
Delete record from the store.
|
Neo4JErsatz |
insert(Ersatz row)
Creates a new record in the store.
|
Ersatz |
newPrimaryKey()
Generate new primary key.
|
Cursor<Neo4JErsatz> |
query(com.webobjects.eocontrol.EOQualifier qualifier)
Query for records matching EO qualifier.
|
void |
update(Ersatz newValues,
Neo4JErsatz neoErsatz)
Update record with the given values.
|
public CompositeStore(Store<Ersatz,Neo4JErsatz> neoStore, LuceneStore<Type> luceneStore)
public Cursor<Neo4JErsatz> query(com.webobjects.eocontrol.EOQualifier qualifier)
Storequery in interface Store<Ersatz,Neo4JErsatz>qualifier - qualifierpublic Neo4JErsatz insert(Ersatz row)
Storeinsert in interface Store<Ersatz,Neo4JErsatz>row - inserted object descriptiontoInsertpublic void update(Ersatz newValues, Neo4JErsatz neoErsatz)
Storeupdate in interface Store<Ersatz,Neo4JErsatz>newValues - new values, can be partial ersatzneoErsatz - ersatz representing record to be updatedpublic void delete(Neo4JErsatz neoErsatz)
Storedelete in interface Store<Ersatz,Neo4JErsatz>neoErsatz - ersatz representing record to be deletedpublic Ersatz newPrimaryKey()
StorenewPrimaryKey in interface Store<Ersatz,Neo4JErsatz>Copyright © 2002 – 2020 Project Wonder.