public abstract class OraclePropertyGraphBase extends java.lang.Object implements org.apache.tinkerpop.gremlin.structure.Graph, OracleIndexableGraph, OracleMetadataGraph, OracleGraphAttributeUpdater, OraclePropertyGraphConstants, oracle.pg.common.messages.MesgConsts, OracleMessageConstants, java.io.Closeable
Modifier and Type | Class and Description |
---|---|
static class |
OraclePropertyGraphBase.CacheStatus
This enum defines a set of cache status.
|
static class |
OraclePropertyGraphBase.OptimizationFlag
This enum defines a set of optimization flags that can be used to influence the construction of Vertex or Edge objects during scans.
|
org.apache.tinkerpop.gremlin.structure.Graph.Exceptions, org.apache.tinkerpop.gremlin.structure.Graph.Features, org.apache.tinkerpop.gremlin.structure.Graph.Hidden, org.apache.tinkerpop.gremlin.structure.Graph.OptIn, org.apache.tinkerpop.gremlin.structure.Graph.OptIns, org.apache.tinkerpop.gremlin.structure.Graph.OptOut, org.apache.tinkerpop.gremlin.structure.Graph.OptOuts, org.apache.tinkerpop.gremlin.structure.Graph.Variables
OraclePropertyGraphConstants.QueueAction
MG_ERR_USER_REQ_OP_CANCEL, MSG_E_AUTO_IDX_MUST_SOLR_OR_LUCENE, MSG_E_AUTO_IDX_NOT_EXIST, MSG_ERR_ARG_CANNOT_BE_NULL, MSG_ERR_ID_CANNOT_BE_NULL, MSG_ERR_NO_ELEM_TO_BE_CONSUMED, MSG_ERR_NO_OP_SUPPORTED, MSG_IDX_KEY_NOT_NULL, MSG_IDX_KEYS_NOT_NULL, MSG_TXT_IDX_NOT_FOUND, MSG_V_AUTO_IDX_MUST_SOLR_OR_LUCENE, MSG_V_AUTO_IDX_NOT_EXIST
ERR_ARG_CANNOT_BE_NULL, ERR_CODE_NOT_IN_LIST, ERR_DOP_CONSTRAINT, ERR_E_AUTO_IDX_MUST_SOLR_OR_LUCENE, ERR_E_AUTO_IDX_NOT_EXIST, ERR_E_DS_MUSTBE_FILE_OR_IS, ERR_E_MAX_LINE_CONSTRAINT, ERR_EDGE_DIR_NOT_BOTH, ERR_EDGE_WORK_TBL_NOT_CLEAN, ERR_GRAPH_NAME_CANT_BENULL, ERR_HIT_EXCEPTION, ERR_HIT_INTERRUPT, ERR_HIT_IO, ERR_HIT_OPGE, ERR_HIT_PARSEE, ERR_ID_CANNOT_BE_NULL, ERR_IDX_KEY_CANNOT_BE_NULL, ERR_IDX_KEY_NOT_NULL, ERR_IDX_KEYS_NOT_NULL, ERR_IN_DS_EDGE_CANTBE_NULL, ERR_IN_DS_VERT_CANTBE_NULL, ERR_IN_E_FLAT_DOESNT_EXIST, ERR_IN_V_FLAT_DOESNT_EXIST, ERR_INPUT_LIST_NOT_NULL, ERR_INPUT_NOT_NULL, ERR_INVALID_CHANGE_ACTION, ERR_INVALID_NUM_FIELDS, ERR_INVALID_NUM_NOARG, ERR_INVALID_NUMBER, ERR_INVALID_VAL, ERR_KEY_CANNOT_BE_ID, ERR_KEY_CANNOT_BE_NULL, ERR_KEY_CANNOT_BE_NULL_EMPTY, ERR_KEY_NOT_SET_TO, ERR_NO_ELEM_TO_BE_CONSUMED, ERR_NO_OP_SUPPORTED, ERR_NOT_IMPLEMENTED_YET, ERR_NOT_ORACLE_V_E, ERR_NUM_PART_CONSTRAINT, ERR_OFFSET_CONSTRAINT, ERR_OFFSET_E_MUST_BE_POS, ERR_OFFSET_V_MUST_BE_POS, ERR_OPT_FLAG_EDGE_INVALID, ERR_OPT_FLAG_VERT_INVALID, ERR_ORA_TEXT_INVALID_KEY, ERR_ORA_TEXT_ONLY_AUTO, ERR_OUTPUT_LIST_NOT_NULL, ERR_PG_ALREADY_EXISTS, ERR_PG_NOT_EMPTY, ERR_PG_NOT_NULL, ERR_SIZE_MUST_BE_POS, ERR_TIMEOUT_TAB_CREATION, ERR_TXT_IDX_NOT_FOUND, ERR_TYPE_ID_NOT_RECO, ERR_UNSUPPORTED_VAL_TYP, ERR_USER_REQ_OP_CANCEL, ERR_V_AUTO_IDX_MUST_SOLR_OR_LUCENE, ERR_V_AUTO_IDX_NOT_EXIST, ERR_V_DS_MUSTBE_FILE_OR_IS, ERR_V_MAX_LINE_CONSTRAINT, ERR_VALUE_CANNOT_BE_NULL, INFO_EMP_K_NO_P_VAL, INFO_NUL_K_NO_P_VAL
VERTEX_LABEL
CSV_DATE_TIME_FORMATS, CSV_DT_KEYWORD_BOOLEAN, CSV_DT_KEYWORD_BYTE, CSV_DT_KEYWORD_CHAR, CSV_DT_KEYWORD_DATE, CSV_DT_KEYWORD_DOUBLE, CSV_DT_KEYWORD_FLOAT, CSV_DT_KEYWORD_INTEGER, CSV_DT_KEYWORD_JSON, CSV_DT_KEYWORD_LONG, CSV_DT_KEYWORD_RDF, CSV_DT_KEYWORD_SHORT, CSV_DT_KEYWORD_SPATIAL, CSV_DT_KEYWORD_STRING, OPG_DATETIME_FORMAT
TYPE_DT_BOOL, TYPE_DT_BYTE, TYPE_DT_CHAR, TYPE_DT_DATE, TYPE_DT_DOUBLE, TYPE_DT_EMPTY, TYPE_DT_FLOAT, TYPE_DT_INTEGER, TYPE_DT_JSON, TYPE_DT_LONG, TYPE_DT_SERI, TYPE_DT_SHORT, TYPE_DT_SPATIAL, TYPE_DT_STRING, TYPE_DT_URI
Modifier and Type | Method and Description |
---|---|
abstract org.apache.tinkerpop.gremlin.structure.Edge |
addEdge(java.lang.Object id,
org.apache.tinkerpop.gremlin.structure.Vertex outVertex,
org.apache.tinkerpop.gremlin.structure.Vertex inVertex,
java.lang.String label)
This method adds an edge to the graph instance.
|
void |
addUpdatedEdge(OracleEdgeBase e)
Add an updated edge into this property graph
|
void |
addUpdatedVertex(OracleVertexBase v)
Add an updated vertex into this property graph
|
org.apache.tinkerpop.gremlin.structure.Vertex |
addVertex(java.lang.Object... keyValues)
Add a Vertex to the graph given an optional series of key/value pairs.
|
org.apache.tinkerpop.gremlin.structure.Vertex |
addVertex(java.lang.Object id) |
abstract org.apache.tinkerpop.gremlin.structure.Vertex |
addVertexById(java.lang.Object id)
This method adds an vertex to the graph instance.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
adjacentEdgesFromVertices(java.lang.Object[] ids,
org.apache.tinkerpop.gremlin.structure.Direction direction,
java.lang.String[] labels,
int dop)
Return an iterator to the vertices in the graph identified by the specified
requestedIds using the specified dop
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
adjacentEdgesFromVertices(java.lang.Object[] ids,
java.lang.String[] labels,
org.apache.tinkerpop.gremlin.structure.Direction direction)
Return an iterator to the vertices in the graph identified by the specified requestedIds
|
void |
clearCache()
Clears the internal Vertex and Edge cache.
|
abstract void |
clearRepository()
This method removes all vertices and edges from this property graph instance.
|
void |
clearUpdateQueue() |
abstract void |
commit()
Commits current changes done to this graph
|
void |
commitIndices()
Commits all changes executed into the text indices associated to this graph
|
org.apache.tinkerpop.gremlin.process.computer.GraphComputer |
compute()
Generate a GraphComputer using the default engine of the underlying graph
system.
|
<C extends org.apache.tinkerpop.gremlin.process.computer.GraphComputer> |
compute(java.lang.Class<C> graphComputerClass)
Declare the GraphComputer to use for OLAP operations on the graph.
|
org.apache.commons.configuration.Configuration |
configuration()
Get the org.apache.commons.configuration.Configuration associated with the construction of this graph.
|
<T extends org.apache.tinkerpop.gremlin.structure.Element> |
createIndex(java.lang.String indexName,
java.lang.Class<T> indexClass,
Parameter... indexParameters)
Generates an index with a particular name, for a particular class, and
of a particular type.
|
java.lang.Object |
decodeObject(int iType,
java.lang.String szVal) |
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edges()
Return an
Iterator to all the edges in the graph. |
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edges(java.lang.Object... ids)
Get the Edge objects in this graph with the provided edge ids or Edge
objects.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByIds(java.lang.Object[] ids)
Return an iterator to the edges in the graph identified by the specified requestedIds
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByIds(java.lang.Object[] ids,
int dop)
Return an iterator to the edges in the graph identified by the specified
requestedIds using the specified dop
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByProperty(java.lang.String key,
java.lang.Object value)
Return an iterable to all matching edges that have a particular key/value property.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByProperty(java.lang.String key,
java.lang.Object value,
boolean useWildCard)
Return an iterable to all matching edges that have a particular key/value property.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByProperty(java.lang.String key,
java.lang.Object value,
boolean acceptWildcard,
boolean useLuceneSyntax)
Return an iterable to all matching edges that have a particular key/value property.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByProperty(java.lang.String key,
java.lang.Object value,
java.lang.Class<?> dtClass,
boolean acceptWildcard)
Return an iterable to all matching edges that have a particular key/value property.
|
abstract java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByProperty(java.lang.String key,
java.lang.Object value,
java.lang.Class<?> dtClass,
boolean acceptWildcard,
boolean useLuceneSyntax)
Return an iterable to all matching edges that have a particular key/value property.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByPropertyKey(java.lang.String key)
Return an
Iterator to all the edges in the graph that have a particular key. |
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByPropertyKey(java.lang.String[] keys)
Return an
Iterator to all the edges in the graph that have any of the specified keys and
satisfy the specified edge filter callback. |
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByPropertyKey(java.lang.String[] keys,
EdgeFilterCallback efc)
Return an
Iterator to all the edges in the graph that have any of the specified keys and
satisfy the specified edge filter callback. |
abstract java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesByPropertyKey(java.lang.String[] keys,
EdgeFilterCallback efc,
OraclePropertyGraphBase.OptimizationFlag flag)
Return an
Iterator to all the edges in the graph that have any of the specified keys and
satisfy the specified edge filter callback. |
int |
getBatchSize()
Get the size of the batch used for update operations.
|
OraclePropertyGraphBase.CacheStatus |
getCacheStatus()
Returns the currenct cache status
|
AbstractPgGraphConfig |
getConfig()
Gets the PGX graph config object
|
java.lang.Class |
getDatatypeClassFromValueObjForTextIndex(java.lang.Object value)
Gets the data type class from the given value object.
|
static java.time.format.DateTimeFormatter |
getDateTimeFormatter()
This method returns a DateTimeFormatter object to serialize/de-serialize
Date related data
|
OraclePropertyGraphBase.OptimizationFlag |
getDefaultEdgeOptFlag()
Get the edge optimization flag associated to this property graph
|
OracleIndexParameters |
getDefaultIndexParameters()
Get the default index parameters associated to this property graph.
|
OraclePropertyGraphBase.OptimizationFlag |
getDefaultVertexOptFlag()
Get the vertex optimization flag associated to this property graph
|
abstract org.apache.tinkerpop.gremlin.structure.Edge |
getEdge(java.lang.Object id)
Return the edge referenced by the object identifier.
|
EdgeFilterCallback |
getEdgeFilterCallback()
Get the default EdgeFilterCallback associated to this property graph
|
abstract OracleEdgeBase |
getEdgeInstance(java.lang.Long eid,
boolean bCreateIfAbsentFromCache,
boolean bSkipStoreToCache)
Returns an instance of OracleEdgeBase.
|
abstract OracleEdgeBase |
getEdgeInstance(OracleVertexBase outVertex,
OracleVertexBase inVertex,
java.lang.String edgeLabel,
java.lang.Long eid,
boolean bCreateIfAbsentFromCache,
boolean bSkipStoreToCache)
Returns an instance of OracleEdgeBase.
|
java.util.Iterator<java.util.Map.Entry<java.lang.Object,java.lang.Object>> |
getElementsProperties(java.lang.Object[] ids,
java.lang.String propertyName,
int dop,
java.lang.Class<? extends org.apache.tinkerpop.gremlin.structure.Element> elementClass) |
java.lang.String |
getGraphName()
This method returns the name of this property graph instance
|
static OraclePropertyGraphBase.OptimizationFlag |
getJustEdgeIdOptFlag()
This method returns OptimizationFlag.JUST_EDGE_ID
|
static OraclePropertyGraphBase.OptimizationFlag |
getJustVertexIdOptFlag()
This method returns OptimizationFlag.JUST_VERTEX_ID
|
long |
getMaxLabelLengthAllowedInBytes()
Get the maximum value length allowed for a label in Bytes
|
long |
getMaxPropertyNameLengthAllowedInBytes()
Get the maximum value length allowed for a property name in Bytes
|
long |
getMaxValueLengthAllowedInBytes()
Get the maximum value length allowed for a property value in Bytes
|
long |
getOperationQueueSize()
Get the size of the operation queue
|
abstract OracleIndexManager |
getOracleIndexManager()
Gets the OracleIndexManager object associated to this property graph instance.
|
ProgressListener |
getProgressListener()
Gets the ProgressListener associated to this property graph.
|
int |
getQueueSize()
This method returns the queue size.
|
java.util.List<org.apache.tinkerpop.gremlin.structure.Vertex> |
getShortestPath(PgxGraph g,
java.lang.Long startVertexID,
java.lang.Long endVertexID,
java.lang.String weightPropertyName,
java.util.List<java.lang.Double> weights)
Finds a shortest path between two vertices using a PGX in-memory
analytics.
|
java.util.List<org.apache.tinkerpop.gremlin.structure.Vertex> |
getShortestPath(PgxGraph g,
org.apache.tinkerpop.gremlin.structure.Vertex start,
org.apache.tinkerpop.gremlin.structure.Vertex end,
java.lang.String weightPropertyName,
java.util.List<java.lang.Double> weights)
Finds a shortest path between two vertices using a PGX in-memory
analytics.
|
java.text.SimpleDateFormat |
getSimpleDateFormat()
This method returns a SimpleDateFormat object to serialize/de-serialize
Date related data
|
static java.lang.String |
getStringForObj(java.lang.Object objVa1)
Get the string representation of the object
|
java.lang.String |
getTextIndexDirectoryPrefix()
This method returns the prefix used when creating a text index directory (or collection)
|
abstract org.apache.tinkerpop.gremlin.structure.Vertex |
getVertex(java.lang.Object id)
Return the vertex referenced by the object identifier.
|
VertexFilterCallback |
getVertexFilterCallback()
Get the default VertexFilterCallback associated to this property graph
|
abstract OracleVertexBase |
getVertexInstance(java.lang.Long vid,
boolean bCreateIfAbsentFromCache,
boolean bSkipStoreToCache)
Returns an instance of OracleVertexBase.
|
<I extends org.apache.tinkerpop.gremlin.structure.io.Io> |
io(org.apache.tinkerpop.gremlin.structure.io.Io.Builder<I> builder)
Construct a particular Io implementation for reading and writing the Graph
and other data.
|
boolean |
isBuiltinElementsCacheDisabled()
Returns true if the built-in graph elements (vertices/edges) cache is disabled
|
boolean |
isDisposed()
Validates if the graph is already disposed
|
boolean |
isEmpty()
Checks if this property graph is empty
|
boolean |
isShutdown()
Validates if the graph is already shutdown
|
boolean |
isSkipRefreshIndicesEnabled()
Check if the skip refresh indices is enabled (for Data loading)
|
boolean |
isTransientPropertyGraphInstance()
Verifies if this is a transient property graph instance.
|
abstract void |
removeEdge(org.apache.tinkerpop.gremlin.structure.Edge edge)
Remove the provided edge from the graph
|
void |
removeEdges(EdgeOpCallback eoc)
Removes a set of edges from the graph based on the given OpCallback
|
void |
removeEdges(EdgeOpCallback eoc,
int dop)
Removes a set of edges from the graph based on the given OpCallback
|
void |
removeEdges(java.lang.Long[] ids)
Removes a set of edges from the graph
|
void |
removeEdges(java.lang.Long[] ids,
int dop)
Removes a set of edges from the graph
|
abstract void |
removeVertex(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
Remove the provided vertex from the graph
|
void |
removeVertices(java.lang.Long[] ids)
Removes a set of vertices from the graph
|
void |
removeVertices(java.lang.Long[] ids,
int dop)
Removes a set of vertices from the graph
|
void |
removeVertices(VertexOpCallback voc)
Removes a set of vertices from the graph based on the given OpCallback
|
void |
removeVertices(VertexOpCallback voc,
int dop)
Removes a set of vertices from the graph based on the given OpCallback
|
void |
rollback()
Rollbacks the operations done to this property graph instance
|
static java.lang.String |
serializableToStr(java.io.Serializable seri)
Convert from a Java Serializable object to a String encoding.
|
void |
setBatchSize(int batchsize)
Set the size of the batch used for update operations.
|
void |
setCacheStatus(OraclePropertyGraphBase.CacheStatus cs)
Set the currenct cache status.
|
void |
setDefaultEdgeOptFlag(OraclePropertyGraphBase.OptimizationFlag eof)
Set the default edge optimization flag associated to this property graph.
|
void |
setDefaultIndexParameters(OracleIndexParameters indexParams)
Set the default index parameters associated to this property graph.
|
void |
setDefaultVertexOptFlag(OraclePropertyGraphBase.OptimizationFlag vof)
Set the default vertex optimization flag associated to this property graph
|
void |
setEdgeFilterCallback(EdgeFilterCallback efc)
Set the default EdgeFilterCallback associated to this property graph
|
void |
setProgressListener(ProgressListener pl)
Sets the ProgressListener associated to this property graph.
|
void |
setQueueSize(int size)
This method sets the queue size.
|
void |
setSkipRefreshIndices(boolean skip)
Set skip refresh indices (for Data loading)
|
void |
setSolrJavaBinFormat(boolean bSolrJavaBinFormat)
Set the flag to determine if the SolrCloud server will use a Binary format for the
query responses
|
void |
setTransientPropertyGraphInstance(boolean flag)
Specifies if this property graph instance is a transient instance.
|
void |
setVertexFilterCallback(VertexFilterCallback vfc)
Set the default VertexFilterCallback associated to this property graph
|
void |
startTransaction()
Start a transaction.
|
static java.lang.Object |
strToSerializable(java.lang.String s)
Convert from a String encoding to a Serializable object
|
double |
sum(java.util.List<java.lang.Double> val)
Adds up a list of double values and return the sum.
|
boolean |
supportVertexLabels()
Validates if the property graph instance support vertex labels
|
java.lang.String |
toString()
Returns a very succinct String representation of this Graph
instance
|
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource |
traversal()
Generate a reusable GraphTraversalSource instance.
|
<C extends org.apache.tinkerpop.gremlin.process.traversal.TraversalSource> |
traversal(java.lang.Class<C> traversalSourceClass)
Generate a TraversalSource using the specified TraversalSource class.
|
org.apache.tinkerpop.gremlin.structure.Transaction |
tx()
Configure and control the transactions for those graphs that support this
feature.
|
boolean |
useSolrJavaBinFormat()
Specifies if the SolrCloud server will use a Binary format for the
query responses
|
org.apache.tinkerpop.gremlin.structure.Graph.Variables |
variables()
A collection of global Graph.Variables associated with the graph.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
vertices()
Return an iterable to all the vertices in the graph.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
vertices(java.lang.Object... ids)
Get the Vertex objects in this graph with the provided vertex ids or Vertex
objects.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByIds(java.lang.Object[] ids)
Return an iterable to the vertices in the graph identified by the specified requestedIds
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByIds(java.lang.Object[] ids,
int dop)
Return an iterable to the vertices in the graph identified by the specified
requestedIds using the specified dop
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByProperty(java.lang.String key,
java.lang.Object value)
Return an iterable to all matching vertices that have a particular key/value property.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByProperty(java.lang.String key,
java.lang.Object value,
boolean useWildCards)
Return an iterable to all matching vertices that have a particular key/value property.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByProperty(java.lang.String key,
java.lang.Object value,
boolean acceptWildcard,
boolean useLuceneSyntax)
Return an iterable to all matching vertices that have a particular key/value property.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByProperty(java.lang.String key,
java.lang.Object value,
java.lang.Class<?> dtClass,
boolean acceptWildcard)
Return an iterable to all matching vertices that have a particular key/value property.
|
abstract java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByProperty(java.lang.String key,
java.lang.Object value,
java.lang.Class<?> dtClass,
boolean acceptWildcard,
boolean useLuceneSyntax)
Return an iterable to all matching vertices that have a particular key/value property.
|
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByPropertyKey(java.lang.String keys)
Return an
Iterator to all the vertices in the graph that have any of the specified keys and
satisfy the specified vertex filter callback. |
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByPropertyKey(java.lang.String[] keys)
Return an
Iterator to all the vertices in the graph that have any of the specified keys and
satisfy the specified vertex filter callback. |
java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByPropertyKey(java.lang.String[] keys,
VertexFilterCallback vfc)
Return an
Iterator to all the vertices in the graph that have any of the specified keys and
satisfy the specified vertex filter callback. |
abstract java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesByPropertyKey(java.lang.String[] keys,
VertexFilterCallback vfc,
OraclePropertyGraphBase.OptimizationFlag flag)
Return an
Iterator to all the vertices in the graph that have any of the specified keys and
satisfy the specified vertex filter callback. |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addVertex, close, features
createKeyIndex, createKeyIndex, createKeyIndex, dropAllAutoIndices, dropAllIndices, dropAllManualIndices, dropIndex, dropKeyIndex, dropKeyIndex, dropKeyIndex, edgesUsingTextSearch, getAutoIndex, getIndex, getIndexedKeys, getIndexParameters, getIndices, isEdgeAutoIndexEnabled, isVertexAutoIndexEnabled, refreshAutoIndices, validateIndexManager, verticesUsingTextSearch
countEdges, countEdges, countEdges, countVertices, countVertices, countVertices, getEdgePropertyNames, getEdgePropertyNames, getEdgePropertyNames, getEdgePropertyNames, getElementsProperties, getInvalidEdgeIDSet, getInvalidEdgeIDSet, getInvalidEdgeIDSet, getMaxEdgeID, getMaxEdgeID, getMaxEdgeID, getMaxVertexID, getMaxVertexID, getMaxVertexID, getMinEdgeID, getMinEdgeID, getMinEdgeID, getMinVertexID, getMinVertexID, getMinVertexID, getVertexIDSet, getVertexIDSet, getVertexIDSet, getVertexPropertyNames, getVertexPropertyNames, getVertexPropertyNames, getVertexPropertyNames
addAttributeToAllEdges, addAttributeToAllEdges, addAttributeToAllEdges, addAttributeToAllVertices, addAttributeToAllVertices, addAttributeToAllVertices, getDOPForMetadataOperations, removeAttributeFromAllEdges, removeAttributeFromAllEdges, removeAttributeFromAllEdges, removeAttributeFromAllVertices, removeAttributeFromAllVertices, removeAttributeFromAllVertices, updateGraph
public abstract org.apache.tinkerpop.gremlin.structure.Edge addEdge(java.lang.Object id, org.apache.tinkerpop.gremlin.structure.Vertex outVertex, org.apache.tinkerpop.gremlin.structure.Vertex inVertex, java.lang.String label)
id
- the id of the vertexoutVertex
- has to be of type OracleVertexinVertex
- has to be of type OracleVertexlabel
- edge labelEdge
object.public final void addUpdatedEdge(OracleEdgeBase e)
v
- the updated edgepublic final void addUpdatedVertex(OracleVertexBase v)
v
- the updated vertexpublic final org.apache.tinkerpop.gremlin.structure.Vertex addVertex(java.lang.Object... keyValues)
addVertex
in interface org.apache.tinkerpop.gremlin.structure.Graph
keyValues
- The key/value pairs to turn into vertex propertiespublic final org.apache.tinkerpop.gremlin.structure.Vertex addVertex(java.lang.Object id)
public abstract org.apache.tinkerpop.gremlin.structure.Vertex addVertexById(java.lang.Object id)
id
- the id of the vertexVertex
object.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> adjacentEdgesFromVertices(java.lang.Object[] ids, org.apache.tinkerpop.gremlin.structure.Direction direction, java.lang.String[] labels, int dop)
ids
- an array of requestedIdsdop
- the degree of parallelism to use when searching for the verticespublic java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> adjacentEdgesFromVertices(java.lang.Object[] ids, java.lang.String[] labels, org.apache.tinkerpop.gremlin.structure.Direction direction)
ids
- an array of requestedIdspublic final void clearCache()
public abstract void clearRepository() throws java.lang.Exception
java.lang.Exception
public void clearUpdateQueue()
public abstract void commit()
public final void commitIndices()
public org.apache.tinkerpop.gremlin.process.computer.GraphComputer compute() throws java.lang.IllegalArgumentException
compute
in interface org.apache.tinkerpop.gremlin.structure.Graph
java.lang.UnsupportedOperationException
java.lang.IllegalArgumentException
public <C extends org.apache.tinkerpop.gremlin.process.computer.GraphComputer> C compute(java.lang.Class<C> graphComputerClass) throws java.lang.IllegalArgumentException
compute
in interface org.apache.tinkerpop.gremlin.structure.Graph
graphComputerClass
- the graph computer class to usejava.lang.IllegalArgumentException
- if the provided GraphComputer class is not supportedjava.lang.UnsupportedOperationException
public org.apache.commons.configuration.Configuration configuration()
configuration
in interface org.apache.tinkerpop.gremlin.structure.Graph
java.lang.UnsupportedOperationException
public final <T extends org.apache.tinkerpop.gremlin.structure.Element> OracleIndex<T> createIndex(java.lang.String indexName, java.lang.Class<T> indexClass, Parameter... indexParameters)
createIndex
in interface OracleIndexableGraph
indexName
- the name of the indexindexClass>the
- element class that this index is indexing (can be
base class)indexParameters
- a collection of parameters for the underlying index
implementationpublic final java.lang.Object decodeObject(int iType, java.lang.String szVal) throws java.lang.NumberFormatException, java.time.format.DateTimeParseException, java.io.IOException, java.text.ParseException
java.lang.NumberFormatException
java.time.format.DateTimeParseException
java.io.IOException
java.text.ParseException
public java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges()
Iterator
to all the edges in the graph.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges(java.lang.Object... ids)
edges
in interface org.apache.tinkerpop.gremlin.structure.Graph
ids
- the ids of the edges to getpublic java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByIds(java.lang.Object[] ids)
ids
- an array of requestedIdspublic java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByIds(java.lang.Object[] ids, int dop)
ids
- an array of requestedIdsdop
- the degree of parallelism used when searching for the edgespublic final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByProperty(java.lang.String key, java.lang.Object value)
key
- the name of the property. It MUST not be NULL.value
- the value of the property. It can be NULL which will cause all edges with the given key to be returned.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByProperty(java.lang.String key, java.lang.Object value, boolean useWildCard)
key
- the name of the property. It MUST not be NULL.value
- the value of the property. It can be NULL which will cause all edges with the given key to be returned.useWildCard
- specifies if wild cards can be used in the value object. Wild cards can be used only when
an automatic text index on the given key is present.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByProperty(java.lang.String key, java.lang.Object value, boolean acceptWildcard, boolean useLuceneSyntax)
key
- the name of the property. It MUST not be NULL.value
- the value of the property. It can be NULL which will cause all edges with the given key to be returned.acceptWildcard
- specifies if wild cards can be used in the value object. Wild cards can be used only when
an automatic text index on the given key is present.useLuceneSyntax
- specifies if the value object is using an Apache Lucene Syntax (further
details on Apache Lucene Syntax can be found in https://lucene.apache.org/core/2_9_4/queryparsersyntax.html). If the
automatic index is not enabled ahd this flag is set to true, an Exception will be thrown
as Lucene Syntax is not supported for database lookups.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByProperty(java.lang.String key, java.lang.Object value, java.lang.Class<?> dtClass, boolean acceptWildcard)
key
- the name of the property. It MUST not be NULL.value
- the value of the property. It can be NULL which will cause all edges with the given key to be returned.dtClass>the
- class representing the datatype of the property value. This can be
used to cast the property value to a different datatype. For example, if the value is "3.01"
and dtClass>is Float.Class, then this value will be treated as a 3.01f. If dtClass>is
set to NULL, then the query will be executed by trying to match the value object to
all the supported datatypes.acceptWildcard
- specifies if wild cards can be used in the value object. Wild cards can be used only when
an automatic text index on the given key is present.public abstract java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByProperty(java.lang.String key, java.lang.Object value, java.lang.Class<?> dtClass, boolean acceptWildcard, boolean useLuceneSyntax)
key
- the name of the property. It MUST not be NULL.value
- the value of the property. It can be NULL which will cause all edges with the given key to be returned.dtClass>the
- class representing the datatype of the property value. This can be
used to cast the property value to a different datatype. For example, if the value is "3.01"
and dtClass is Float.Class, then this value will be treated as a 3.01f. If dtClass is
set to NULL, then the query will be executed by trying to match the value object to
all the supported datatypes.acceptWildcard
- specifies if wild cards can be used in the value object. Wild cards can be used only when
an automatic text index on the given key is present.useLuceneSyntax
- specifies if the value object is using an Apache Lucene Syntax (further
details on Apache Lucene Syntax can be found in https://lucene.apache.org/core/2_9_4/queryparsersyntax.html). If the
automatic index is not enabled ahd this flag is set to true, an Exception will be thrown
as Lucene Syntax is not supported for database lookups.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByPropertyKey(java.lang.String key)
Iterator
to all the edges in the graph that have a particular key.key
- name of the property. It can be NULL which implies all edges in
the graph will be returned.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByPropertyKey(java.lang.String[] keys)
Iterator
to all the edges in the graph that have any of the specified keys and
satisfy the specified edge filter callback.keys
- an array of property key names. It can be NULL which implies all edges in
the graph satisfying the edge filter callback will be returned.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByPropertyKey(java.lang.String[] keys, EdgeFilterCallback efc)
Iterator
to all the edges in the graph that have any of the specified keys and
satisfy the specified edge filter callback.keys
- an array of property key names. It can be NULL which implies all edges in
the graph satisfying the edge filter callback will be returned.efc
- a EdgeFilterCallback
object specifying the conditions to keep an
edge in the Iterator
.public abstract java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesByPropertyKey(java.lang.String[] keys, EdgeFilterCallback efc, OraclePropertyGraphBase.OptimizationFlag flag)
Iterator
to all the edges in the graph that have any of the specified keys and
satisfy the specified edge filter callback. The information read back from
the edges will be complete or partial based on the optimization flag
specified.keys
- an array of property key names. It can be NULL which implies all vertices in
the graph satisfying the edge filter callback will be returned.efc
- a EdgeFilterCallback
object specifying the conditions to keep a
edge in the Iterator
.flag
- an OptimizationFlag object specifying if a partial or complete edge object will
be returned. It can be NULL which implies the edges created must be complete.public int getBatchSize()
public OraclePropertyGraphBase.CacheStatus getCacheStatus()
public AbstractPgGraphConfig getConfig()
public java.lang.Class getDatatypeClassFromValueObjForTextIndex(java.lang.Object value)
getDatatypeClassFromValueObjForTextIndex
in interface OracleIndexableGraph
public static final java.time.format.DateTimeFormatter getDateTimeFormatter()
public final OraclePropertyGraphBase.OptimizationFlag getDefaultEdgeOptFlag()
public OracleIndexParameters getDefaultIndexParameters()
getDefaultIndexParameters
in interface OracleIndexableGraph
OracleIndexParameters
object.public final OraclePropertyGraphBase.OptimizationFlag getDefaultVertexOptFlag()
public abstract org.apache.tinkerpop.gremlin.structure.Edge getEdge(java.lang.Object id)
id
- the object identifier of the referenced edgeEdge
objectpublic final EdgeFilterCallback getEdgeFilterCallback()
EdgeFilterCallback
objectpublic abstract OracleEdgeBase getEdgeInstance(java.lang.Long eid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
eid
- the id of the edgebCreateIfAbsentFromCache
- if false, returns a NULL value if there
is no match in the cache.bSkipStoreToCache
- if true, the vertex instance will not be
stored into the cache.public abstract OracleEdgeBase getEdgeInstance(OracleVertexBase outVertex, OracleVertexBase inVertex, java.lang.String edgeLabel, java.lang.Long eid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
eid
- the id of the edgeoutVertex
- the outgoing Vertex of the edgeinVertex
- the incoming Vertex of the edgeedgeLabel
- the label for the Edge.bCreateIfAbsentFromCache
- if false, returns a NULL value if there
is no match in the cache.bSkipStoreToCache
- if true, the vertex instance will not be
stored into the cache.public final java.util.Iterator<java.util.Map.Entry<java.lang.Object,java.lang.Object>> getElementsProperties(java.lang.Object[] ids, java.lang.String propertyName, int dop, java.lang.Class<? extends org.apache.tinkerpop.gremlin.structure.Element> elementClass)
getElementsProperties
in interface OracleMetadataGraph
public final java.lang.String getGraphName()
public static final OraclePropertyGraphBase.OptimizationFlag getJustEdgeIdOptFlag()
public static final OraclePropertyGraphBase.OptimizationFlag getJustVertexIdOptFlag()
public long getMaxLabelLengthAllowedInBytes()
public long getMaxPropertyNameLengthAllowedInBytes()
public long getMaxValueLengthAllowedInBytes()
public long getOperationQueueSize()
public abstract OracleIndexManager getOracleIndexManager()
getOracleIndexManager
in interface OracleIndexableGraph
OracleIndexManager
object.public final ProgressListener getProgressListener()
getProgressListener
in interface OracleGraphAttributeUpdater
getProgressListener
in interface OracleMetadataGraph
public final int getQueueSize()
public java.util.List<org.apache.tinkerpop.gremlin.structure.Vertex> getShortestPath(PgxGraph g, java.lang.Long startVertexID, java.lang.Long endVertexID, java.lang.String weightPropertyName, java.util.List<java.lang.Double> weights) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
g
- a PgxGraph
object.startVertexID
- the start vertex IDendVertexID
- the end vertex IDweightPropertyName
- the property name that will be used to define the
weight of the edges in the graphweights
- a list that will be populated with the weights of each
edge in the shortest pathjava.lang.InterruptedException
java.util.concurrent.ExecutionException
public java.util.List<org.apache.tinkerpop.gremlin.structure.Vertex> getShortestPath(PgxGraph g, org.apache.tinkerpop.gremlin.structure.Vertex start, org.apache.tinkerpop.gremlin.structure.Vertex end, java.lang.String weightPropertyName, java.util.List<java.lang.Double> weights) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
g
- a PgxGraph
object.start
- the start vertexend
- the end vertexweightPropertyName
- the property name that will be used to define the
weight of the edges in the graphweights
- a list that will be populated with the weights of each
edge in the shortest pathjava.lang.InterruptedException
java.util.concurrent.ExecutionException
public final java.text.SimpleDateFormat getSimpleDateFormat()
public static final java.lang.String getStringForObj(java.lang.Object objVa1)
objVa1
- an objectpublic java.lang.String getTextIndexDirectoryPrefix()
public abstract org.apache.tinkerpop.gremlin.structure.Vertex getVertex(java.lang.Object id)
id
- the object identifier of the referenced vertexVertex
objectpublic final VertexFilterCallback getVertexFilterCallback()
VertexFilterCallback
objectpublic abstract OracleVertexBase getVertexInstance(java.lang.Long vid, boolean bCreateIfAbsentFromCache, boolean bSkipStoreToCache)
vid
- the id of the vertexbCreateIfAbsentFromCache
- if false, returns a NULL value if there
is no match in the cache.bSkipStoreToCache
- if true, the vertex instance will not be
stored into the cache.public <I extends org.apache.tinkerpop.gremlin.structure.io.Io> I io(org.apache.tinkerpop.gremlin.structure.io.Io.Builder<I> builder)
io
in interface org.apache.tinkerpop.gremlin.structure.Graph
public boolean isBuiltinElementsCacheDisabled()
public final boolean isDisposed()
public final boolean isEmpty() throws java.io.IOException
isEmpty
in interface OracleMetadataGraph
java.io.IOException
public final boolean isShutdown()
public final boolean isSkipRefreshIndicesEnabled()
public final boolean isTransientPropertyGraphInstance()
public abstract void removeEdge(org.apache.tinkerpop.gremlin.structure.Edge edge)
edge
- an Edge
object to be removedpublic void removeEdges(EdgeOpCallback eoc)
eoc
- the EdgeOpCallback
the opCallback used to filter edges for removalpublic void removeEdges(EdgeOpCallback eoc, int dop)
eoc
- the EdgeOpCallback
the opCallback used to filter edges for removalpublic void removeEdges(java.lang.Long[] ids)
ids
- a set with the ids of the edges to be removedpublic void removeEdges(java.lang.Long[] ids, int dop)
ids
- a set with the ids of the edges to be removedpublic abstract void removeVertex(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
vertex
- a Vertex
object to be removedpublic void removeVertices(java.lang.Long[] ids)
ids
- a set with the ids of the vertices to be removedpublic void removeVertices(java.lang.Long[] ids, int dop)
ids
- a set with the ids of the vertices to be removedpublic void removeVertices(VertexOpCallback voc)
voc
- the VertexOpCallback
the opCallback used to filter vertices for removalpublic void removeVertices(VertexOpCallback voc, int dop)
voc
- the VertexOpCallback
the opCallback used to filter vertices for removalpublic void rollback()
public static final java.lang.String serializableToStr(java.io.Serializable seri) throws java.io.IOException
seri
- an object of Serializable type. It must not be null.java.io.IOException
public void setBatchSize(int batchsize)
batchsize
- the size of the batch used for update operations.public void setCacheStatus(OraclePropertyGraphBase.CacheStatus cs)
public final void setDefaultEdgeOptFlag(OraclePropertyGraphBase.OptimizationFlag eof)
eof
- an edge OptimizationFlag object to be set to this property graphpublic final void setDefaultIndexParameters(OracleIndexParameters indexParams)
setDefaultIndexParameters
in interface OracleIndexableGraph
indexParams
- a OracleIndexParameters
object.public final void setDefaultVertexOptFlag(OraclePropertyGraphBase.OptimizationFlag vof)
vof
- an OptimizationFlag object to be set to this property graphpublic final void setEdgeFilterCallback(EdgeFilterCallback efc)
efc
- a EdgeFilterCallback
object to be set to this property graphpublic final void setProgressListener(ProgressListener pl)
setProgressListener
in interface OracleGraphAttributeUpdater
pl
- a ProgressListener object.public final void setQueueSize(int size)
size
- the size of the queuepublic final void setSkipRefreshIndices(boolean skip)
public final void setSolrJavaBinFormat(boolean bSolrJavaBinFormat)
public final void setTransientPropertyGraphInstance(boolean flag)
public final void setVertexFilterCallback(VertexFilterCallback vfc)
vfc
- a VertexFilterCallback
object to be set to this property graphpublic final void startTransaction()
public static final java.lang.Object strToSerializable(java.lang.String s) throws java.io.IOException
s
- String representation of a Java Serializable object. It MUST not be null.java.io.IOException
public double sum(java.util.List<java.lang.Double> val)
val
- a list of Double values.public boolean supportVertexLabels()
public final java.lang.String toString()
toString
in class java.lang.Object
public final org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource traversal()
traversal
in interface org.apache.tinkerpop.gremlin.structure.Graph
public <C extends org.apache.tinkerpop.gremlin.process.traversal.TraversalSource> C traversal(java.lang.Class<C> traversalSourceClass)
traversal
in interface org.apache.tinkerpop.gremlin.structure.Graph
traversalSourceClass
- the traversal source classpublic final org.apache.tinkerpop.gremlin.structure.Transaction tx()
tx
in interface org.apache.tinkerpop.gremlin.structure.Graph
public final boolean useSolrJavaBinFormat()
public final org.apache.tinkerpop.gremlin.structure.Graph.Variables variables()
variables
in interface org.apache.tinkerpop.gremlin.structure.Graph
public java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices()
public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(java.lang.Object... ids)
vertices
in interface org.apache.tinkerpop.gremlin.structure.Graph
ids
- the ids of the edges to getpublic java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByIds(java.lang.Object[] ids)
ids
- an array of requestedIdspublic java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByIds(java.lang.Object[] ids, int dop)
ids
- an array of requestedIdsdop
- the degree of parallelism to use when searching for the verticespublic final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByProperty(java.lang.String key, java.lang.Object value)
key
- the name of the property. It MUST not be NULL.value
- the value of the property. It can be NULL which will cause all vertices with the given key to be returned.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByProperty(java.lang.String key, java.lang.Object value, boolean useWildCards)
key
- the name of the property. It MUST not be NULL.value
- the value of the property. It can be NULL which will cause all vertices with the given key to be returned.useWildCards
- specifies if wild cards can be used in the value object. Wild cards can be used only when
an automatic text index on the given key is present.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByProperty(java.lang.String key, java.lang.Object value, boolean acceptWildcard, boolean useLuceneSyntax)
key
- the name of the property. It MUST not be NULL.value
- the value of the property. It can be NULL which will cause all vertices with the given key to be returned.acceptWildcard
- specifies if wild cards can be used in the value object. Wild cards can be used only when
an automatic text index on the given key is present.useLuceneSyntax
- specifies if the value object is using an Apache Lucene Syntax (further
details on Apache Lucene Syntax can be found in https://lucene.apache.org/core/2_9_4/queryparsersyntax.html). If the
automatic index is not enabled ahd this flag is set to true, an Exception will be thrown
as Lucene Syntax is not supported for database lookups.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByProperty(java.lang.String key, java.lang.Object value, java.lang.Class<?> dtClass, boolean acceptWildcard)
key
- the name of the property. It MUST not be NULL.value
- the value of the property. It can be NULL which will cause all vertices with the given key to be returned.dtClass
- the class representing the datatype of the property value. This can be
used to cast the property value to a different datatype. For example, if the value is "3.01"
and dtClass is Float.Class, then this value will be treated as a 3.01f. If dtClass is
set to NULL, then the query will be executed by trying to match the value object to
all the supported datatypes.acceptWildcard
- specifies if wild cards can be used in the value object. Wild cards can be used only when
an automatic text index on the given key is present.public abstract java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByProperty(java.lang.String key, java.lang.Object value, java.lang.Class<?> dtClass, boolean acceptWildcard, boolean useLuceneSyntax)
key
- the name of the property. It MUST not be NULL.value
- the value of the property. It can be NULL which will cause all vertices with the given key to be returned.dtClass>the
- class representing the datatype of the property value. This can be
used to cast the property value to a different datatype. For example, if the value is "3.01"
and dtClass>is Float.Class, then this value will be treated as a 3.01f. If dtClass>is
set to NULL, then the query will be executed by trying to match the value object to
all the supported datatypes.acceptWildcard
- specifies if wild cards can be used in the value object. Wild cards can be used only when
an automatic text index on the given key is present.useLuceneSyntax
- specifies if the value object is using an Apache Lucene Syntax (further
details on Apache Lucene Syntax can be found in https://lucene.apache.org/core/2_9_4/queryparsersyntax.html). If the
automatic index is not enabled ahd this flag is set to true, an Exception will be thrown
as Lucene Syntax is not supported for database lookups.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByPropertyKey(java.lang.String keys)
Iterator
to all the vertices in the graph that have any of the specified keys and
satisfy the specified vertex filter callback.keys
- an array of property key names. It can be NULL which implies all vertices in
the graph satisfying the vertex filter callback will be returned.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByPropertyKey(java.lang.String[] keys)
Iterator
to all the vertices in the graph that have any of the specified keys and
satisfy the specified vertex filter callback.keys
- an array of property key names. It can be NULL which implies all vertices in
the graph satisfying the vertex filter callback will be returned.public final java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByPropertyKey(java.lang.String[] keys, VertexFilterCallback vfc)
Iterator
to all the vertices in the graph that have any of the specified keys and
satisfy the specified vertex filter callback.keys
- an array of property key names. It can be NULL which implies all vertices in
the graph satisfying the vertex filter callback will be returned.vfc
- a VertexFilterCallback
object specifying the conditions to keep a
vertex in the Iterator
.public abstract java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesByPropertyKey(java.lang.String[] keys, VertexFilterCallback vfc, OraclePropertyGraphBase.OptimizationFlag flag)
Iterator
to all the vertices in the graph that have any of the specified keys and
satisfy the specified vertex filter callback. The information read back from
the vertices will be complete or partial based on the optimization flag
specified.keys
- an array of property key names. It can be NULL which implies all vertices in
the graph satisfying the vertex filter callback will be returned.vfc
- a VertexFilterCallback
object specifying the conditions to keep a
vertex in the Iterator
.flag
- an OptimizationFlag object specifying if a partial or complete vertex object will
be returned. It can be NULL which implies the vertices created must be complete.Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.