public class ACDictionary extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MODE_CREATE |
static int |
DEFAULT_MODE_SEARCH |
static int |
GLOBAL_MODE_CREATE |
static int |
LOCAL_MODE_CREATE |
static int |
LOCAL_MODE_SEARCH |
| Constructor and Description |
|---|
ACDictionary(org.neo4j.shell.util.json.JSONObject ob)
Cast given information back
|
ACDictionary(String name,
int modeCreate,
int modeSearch)
Initial a
ACDictionary for the communication
with the ACFactoryBatch, ACFactoryEmbedded and
ACSearch. |
| Modifier and Type | Method and Description |
|---|---|
int |
getCreateMode()
Get the mode of creation
|
boolean |
isGlobalCreate() |
boolean |
isLocalCreate() |
boolean |
isLocalSearch()
Answer to the question: Is Dictionary searching in local mode?
|
String |
name()
Name of the Dictionary
|
String |
toJSONString()
Converts the current object to
a
JSONString. |
public static final int DEFAULT_MODE_SEARCH
public static final int LOCAL_MODE_SEARCH
public static final int DEFAULT_MODE_CREATE
public static final int LOCAL_MODE_CREATE
public static final int GLOBAL_MODE_CREATE
public ACDictionary(String name, int modeCreate, int modeSearch)
ACDictionary for the communication
with the ACFactoryBatch, ACFactoryEmbedded and
ACSearch.name - - Name of the Dictionarymode - - Mode in which it's workingpublic ACDictionary(org.neo4j.shell.util.json.JSONObject ob)
throws org.neo4j.shell.util.json.JSONException
ob - - JSONObjectorg.neo4j.shell.util.json.JSONExceptionpublic String name()
public boolean isLocalSearch()
true/falsepublic int getCreateMode()
public boolean isLocalCreate()
public boolean isGlobalCreate()
Copyright © 2017 JULIE Lab Jena, Germany. All rights reserved.