public class ACSearch
extends org.neo4j.server.plugins.ServerPlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
BEGIN |
static String |
END |
static int |
FULL_WITH_OVERLAPPING |
static int |
FULL_WITHOUT_OVERLAPPING |
static String |
MATCH |
static String |
NODE |
static int |
PROGRESSIV |
| Constructor and Description |
|---|
ACSearch() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCompleteEntry(org.neo4j.graphdb.GraphDatabaseService graphDb,
String dictJSON,
String entry)
Returns a list of attribute names
|
static String |
search(org.neo4j.graphdb.GraphDatabaseService graphDb,
String dictJSON,
String queryJSON)
Implementation of the algorithm 1 in the paper of ahoCorasick See article
|
public static final int FULL_WITH_OVERLAPPING
public static final int FULL_WITHOUT_OVERLAPPING
public static final int PROGRESSIV
public static final String MATCH
public static final String BEGIN
public static final String END
public static final String NODE
public static String getCompleteEntry(org.neo4j.graphdb.GraphDatabaseService graphDb, String dictJSON, String entry) throws SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException, org.neo4j.shell.util.json.JSONException
graphDb - - Graphdatabasename - - Name of the DictTreeentry - - Name of the entry for the attributesSecurityExceptionNoSuchFieldExceptionIllegalArgumentExceptionIllegalAccessExceptionorg.neo4j.shell.util.json.JSONExceptionpublic static String search(org.neo4j.graphdb.GraphDatabaseService graphDb, String dictJSON, String queryJSON) throws org.neo4j.shell.util.json.JSONException
graphDb - - GraphDatabasename - - Name of the DictTreequery - - the Query for searchingmode - - PROGRESSIV, FULL_WITH_OVERLAPPING, FULL_WITHOUT_OVERLAPPINGorg.neo4j.shell.util.json.JSONExceptionCopyright © 2017 JULIE Lab Jena, Germany. All rights reserved.