public class ConceptManager
extends org.neo4j.server.plugins.ServerPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
ConceptManager.EdgeTypes |
static class |
ConceptManager.MorphoLabel
Labels for nodes representing lexico-morphological variations of terms.
|
static class |
ConceptManager.TermLabel |
| Constructor and Description |
|---|
ConceptManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWritingVariants(org.neo4j.graphdb.GraphDatabaseService graphDb,
String termVariants,
String termAcronyms) |
void |
buildAggregatesByMappigs(org.neo4j.graphdb.GraphDatabaseService graphDb,
String allowedMappingTypesArray,
String aggregatedTermsLabelString,
String allowedTermLabelString) |
void |
buildAggregatesByNameAndSynonyms(org.neo4j.graphdb.GraphDatabaseService graphDb,
String termPropertyKey,
String propertyValues) |
Representation |
copyAggregateProperties(org.neo4j.graphdb.GraphDatabaseService graphDb) |
void |
createSchemaIndexes(org.neo4j.graphdb.GraphDatabaseService graphDb) |
void |
deleteAggregatesByMappigs(org.neo4j.graphdb.GraphDatabaseService graphDb,
String aggregatedTermsLabelString) |
void |
excludeTerms(org.neo4j.graphdb.GraphDatabaseService graphDb) |
MappingRepresentation |
getChildrenOfTerms(org.neo4j.graphdb.GraphDatabaseService graphDb,
String termIdArray,
String labelString) |
MappingRepresentation |
getFacetRoots(org.neo4j.graphdb.GraphDatabaseService graphDb,
String facetIdsJson,
String termIdsJson,
long maxRoots) |
long |
getNumTerms(org.neo4j.graphdb.GraphDatabaseService graphDb) |
Representation |
getPathsFromFacetroots(org.neo4j.graphdb.GraphDatabaseService graphDb,
String termIdsJsonString,
String idType,
boolean sort,
String facetId) |
static String[] |
getPropertyValueOfElements(org.neo4j.graphdb.Node aggregate,
String property)
Concatenates the values of the elements of aggregate and returns
them as an array.
|
void |
includeTerms(org.neo4j.graphdb.GraphDatabaseService graphDb) |
Representation |
insertFacetTerms(org.neo4j.graphdb.GraphDatabaseService graphDb,
String termsAndFacetJson) |
Representation |
insertFacetTerms(org.neo4j.graphdb.GraphDatabaseService graphDb,
String facetJson,
String termsJson,
String importOptionsJsonString) |
int |
insertMappings(org.neo4j.graphdb.GraphDatabaseService graphDb,
String mappingsJson) |
Representation |
popTermsFromSet(org.neo4j.graphdb.GraphDatabaseService graphDb,
String labelString,
int amount) |
long |
pushTermsToSet(org.neo4j.graphdb.GraphDatabaseService graphDb,
String termPushCommandString,
Integer amount) |
String |
updateChildrenInformation(org.neo4j.graphdb.GraphDatabaseService graphDb) |
public static final String INSERT_MAPPINGS
public static final String BUILD_AGGREGATES_BY_NAME_AND_SYNONYMS
public static final String BUILD_AGGREGATES_BY_MAPPINGS
public static final String DELETE_AGGREGATES
public static final String COPY_AGGREGATE_PROPERTIES
public static final String CREATE_SCHEMA_INDEXES
public static final String GET_CHILDREN_OF_TERMS
public static final String GET_NUM_TERMS
public static final String GET_PATHS_FROM_FACETROOTS
public static final String INSERT_TERMS
public static final String GET_FACET_ROOTS
public static final String ADD_TERM_VARIANTS
public static final String KEY_AMOUNT
public static final String KEY_CREATE_HOLLOW_PARENTS
public static final String KEY_FACET
public static final String KEY_FACET_ID
public static final String KEY_FACET_IDS
public static final String KEY_FACET_PROP_KEY
public static final String KEY_FACET_PROP_VALUE
public static final String KEY_ID_TYPE
public static final String KEY_IMPORT_OPTIONS
public static final String KEY_LABEL
public static final String KEY_SORT_RESULT
public static final String KEY_TERM_IDS
public static final String KEY_MAX_ROOTS
public static final String KEY_TERM_PROP_KEY
public static final String KEY_TERM_PROP_VALUE
public static final String KEY_TERM_PROP_VALUES
public static final String KEY_TERM_PUSH_CMD
public static final String KEY_AGGREGATED_LABEL
public static final String KEY_ALLOWED_MAPPING_TYPES
public static final String KEY_TERM_VARIANTS
public static final String KEY_TERM_ACRONYMS
public static final String KEY_TERMS
INSERT_TERMS endpoint.public static final String KEY_TIME
public static final String KEY_MAPPINGS
public static final String POP_TERMS_FROM_SET
public static final String PUSH_TERMS_TO_SET
public static final String RET_KEY_CHILDREN
public static final String RET_KEY_NUM_AGGREGATES
public static final String RET_KEY_NUM_CREATED_RELS
public static final String RET_KEY_NUM_CREATED_TERMS
public static final String RET_KEY_NUM_ELEMENTS
public static final String RET_KEY_NUM_PROPERTIES
public static final String RET_KEY_PATHS
public static final String RET_KEY_RELTYPES
public static final String RET_KEY_TERMS
public static final String TERM_MANAGER_ENDPOINT
public static final String UPDATE_CHILDREN_INFORMATION
public void buildAggregatesByMappigs(org.neo4j.graphdb.GraphDatabaseService graphDb,
String allowedMappingTypesArray,
String aggregatedTermsLabelString,
String allowedTermLabelString)
throws org.neo4j.shell.util.json.JSONException
org.neo4j.shell.util.json.JSONExceptionpublic void deleteAggregatesByMappigs(org.neo4j.graphdb.GraphDatabaseService graphDb,
String aggregatedTermsLabelString)
public void buildAggregatesByNameAndSynonyms(org.neo4j.graphdb.GraphDatabaseService graphDb,
String termPropertyKey,
String propertyValues)
throws org.neo4j.shell.util.json.JSONException
org.neo4j.shell.util.json.JSONExceptionpublic Representation copyAggregateProperties(org.neo4j.graphdb.GraphDatabaseService graphDb)
public void createSchemaIndexes(org.neo4j.graphdb.GraphDatabaseService graphDb)
public MappingRepresentation getChildrenOfTerms(org.neo4j.graphdb.GraphDatabaseService graphDb, String termIdArray, String labelString) throws org.neo4j.shell.util.json.JSONException
org.neo4j.shell.util.json.JSONExceptionpublic long getNumTerms(org.neo4j.graphdb.GraphDatabaseService graphDb)
public Representation getPathsFromFacetroots(org.neo4j.graphdb.GraphDatabaseService graphDb, String termIdsJsonString, String idType, boolean sort, String facetId) throws org.neo4j.shell.util.json.JSONException
org.neo4j.shell.util.json.JSONExceptionpublic Representation insertFacetTerms(org.neo4j.graphdb.GraphDatabaseService graphDb, String termsAndFacetJson) throws org.neo4j.shell.util.json.JSONException
org.neo4j.shell.util.json.JSONExceptionpublic Representation insertFacetTerms(org.neo4j.graphdb.GraphDatabaseService graphDb, String facetJson, String termsJson, String importOptionsJsonString) throws org.neo4j.shell.util.json.JSONException
org.neo4j.shell.util.json.JSONExceptionpublic Representation popTermsFromSet(org.neo4j.graphdb.GraphDatabaseService graphDb, String labelString, int amount)
public long pushTermsToSet(org.neo4j.graphdb.GraphDatabaseService graphDb,
String termPushCommandString,
Integer amount)
public String updateChildrenInformation(org.neo4j.graphdb.GraphDatabaseService graphDb)
public void includeTerms(org.neo4j.graphdb.GraphDatabaseService graphDb)
public void excludeTerms(org.neo4j.graphdb.GraphDatabaseService graphDb)
public int insertMappings(org.neo4j.graphdb.GraphDatabaseService graphDb,
String mappingsJson)
throws org.neo4j.shell.util.json.JSONException
org.neo4j.shell.util.json.JSONExceptionpublic MappingRepresentation getFacetRoots(org.neo4j.graphdb.GraphDatabaseService graphDb, String facetIdsJson, String termIdsJson, long maxRoots) throws org.neo4j.shell.util.json.JSONException
org.neo4j.shell.util.json.JSONExceptionpublic void addWritingVariants(org.neo4j.graphdb.GraphDatabaseService graphDb,
String termVariants,
String termAcronyms)
public static String[] getPropertyValueOfElements(org.neo4j.graphdb.Node aggregate, String property)
aggregate - The aggregate for whose elements properties are requested.property - The requested property.Copyright © 2018 JULIE Lab Jena, Germany. All rights reserved.