| Modifier and Type | Field and Description |
|---|---|
static String |
METADATA_DEFINE_PROPERTY_PREFIX |
static String |
METADATA_ID_GENERATOR_CLASSNAME |
| Modifier | Constructor and Description |
|---|---|
protected |
GraphBaseWithSearchIndex(GraphConfiguration configuration,
IdGenerator idGenerator,
SearchIndex searchIndex) |
| Modifier and Type | Method and Description |
|---|---|
DefinePropertyBuilder |
defineProperty(String propertyName)
Creates a defines property builder.
|
void |
flush()
Flushes any pending mutations to the graph.
|
GraphConfiguration |
getConfiguration() |
IdGenerator |
getIdGenerator()
Gets the id generator used by this graph to create ids.
|
SearchIndex |
getSearchIndex() |
SearchIndexSecurityGranularity |
getSearchIndexSecurityGranularity()
Gets the granularity of the search index
SearchIndexSecurityGranularity |
boolean |
isFieldBoostSupported()
Determine if field boost is support.
|
boolean |
isQuerySimilarToTextSupported() |
GraphQuery |
query(Authorizations authorizations)
Creates a query builder object used to query the graph.
|
GraphQuery |
query(String queryString,
Authorizations authorizations)
Creates a query builder object used to query the graph.
|
SimilarToGraphQuery |
querySimilarTo(String[] fields,
String text,
Authorizations authorizations) |
void |
reindex(Authorizations authorizations)
Reindex all vertices and edges.
|
protected void |
reindexVertices(Authorizations authorizations) |
protected void |
setup() |
protected void |
setupGraphMetadata() |
protected void |
setupGraphMetadata(GraphMetadataEntry graphMetadataEntry) |
protected void |
setupPropertyDefinition(PropertyDefinition propertyDefinition) |
void |
shutdown()
Cleans up or disconnects from the underlying storage.
|
addEdge, addEdge, addEdge, addEdge, addGraphEventListener, addVertex, addVertex, addVertices, doEdgesExist, doesEdgeExist, doesVertexExist, doVerticesExist, findPaths, findPaths, findPaths, findPaths, findRelatedEdges, fireGraphEvent, getEdge, getEdge, getEdges, getEdges, getEdges, getEdges, getMetadata, getMetadata, getVertex, getVertex, getVertices, getVertices, getVertices, getVertices, getVerticesInOrder, getVerticesInOrder, hasEventListeners, prepareEdge, prepareEdge, prepareVertex, removeEdge, removeEdge, removeVertex, setMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEdge, addEdge, addEdge, addEdge, addGraphEventListener, addVertex, addVertex, addVertices, clearData, createAuthorizations, doEdgesExist, doesEdgeExist, doesVertexExist, doVerticesExist, findPaths, findPaths, findPaths, findPaths, findRelatedEdges, getEdge, getEdge, getEdges, getEdges, getEdges, getEdges, getMetadata, getMetadata, getVertex, getVertex, getVertices, getVertices, getVertices, getVertices, getVerticesInOrder, getVerticesInOrder, isVisibilityValid, markEdgeHidden, markEdgeVisible, markVertexHidden, markVertexVisible, prepareEdge, prepareEdge, prepareEdge, prepareEdge, prepareVertex, prepareVertex, removeEdge, removeEdge, removeVertex, setMetadatapublic static final String METADATA_DEFINE_PROPERTY_PREFIX
public static final String METADATA_ID_GENERATOR_CLASSNAME
protected GraphBaseWithSearchIndex(GraphConfiguration configuration, IdGenerator idGenerator, SearchIndex searchIndex)
protected void setup()
protected void setupGraphMetadata()
protected void setupGraphMetadata(GraphMetadataEntry graphMetadataEntry)
protected void setupPropertyDefinition(PropertyDefinition propertyDefinition)
public GraphQuery query(Authorizations authorizations)
Graphpublic GraphQuery query(String queryString, Authorizations authorizations)
Graphquery in interface Graphquery in class GraphBasequeryString - The string to search for in the text of an element. This will search all fields for the given text.authorizations - The authorizations required to load the elements.public boolean isQuerySimilarToTextSupported()
isQuerySimilarToTextSupported in interface GraphisQuerySimilarToTextSupported in class GraphBasepublic SimilarToGraphQuery querySimilarTo(String[] fields, String text, Authorizations authorizations)
querySimilarTo in interface GraphquerySimilarTo in class GraphBasepublic IdGenerator getIdGenerator()
GraphgetIdGenerator in interface Graphpublic GraphConfiguration getConfiguration()
public SearchIndex getSearchIndex()
public void reindex(Authorizations authorizations)
Graphprotected void reindexVertices(Authorizations authorizations)
public void flush()
Graphpublic void shutdown()
Graphpublic DefinePropertyBuilder defineProperty(String propertyName)
GraphdefineProperty in interface GraphdefineProperty in class GraphBasepropertyName - The name of the property to define.public boolean isFieldBoostSupported()
GraphisFieldBoostSupported in interface GraphisFieldBoostSupported in class GraphBasepublic SearchIndexSecurityGranularity getSearchIndexSecurityGranularity()
GraphSearchIndexSecurityGranularitygetSearchIndexSecurityGranularity in interface GraphgetSearchIndexSecurityGranularity in class GraphBaseCopyright © 2014–2015. All rights reserved.