| Package | Description |
|---|---|
| oracle.pg.common |
This package contains the common logic that is shared by all the backend databases including
Oracle Database, Oracle NoSQL Database, and Apache HBase.
|
| oracle.pg.rdbms |
This package contains the APIs specific to the property graph support on Oracle Database.
|
| oracle.pgx.api |
This package contains the main Java APIs.
|
| oracle.pgx.api.graphalteration |
This package contains the APIs for the alterGraph mutation.
|
| oracle.pgx.common.types |
This package contains enums and helper classes identifying common PGX types.
|
| oracle.pgx.config |
This package contains all configuration-related classes of PGX.
|
| oracle.pgx.config.mllib |
This package contains APIs to all graph machine learning features of PGX.
|
| oracle.pgx.config.mllib.loss |
This package contains classes for loss functions.
|
| Modifier and Type | Method and Description |
|---|---|
static PropertyType |
OraclePropertyGraphUtilsBase.getDatatypeAsPropertyType(java.lang.Class dtClass)
Gets the
PropertyType object based on the given datatype class. |
| Modifier and Type | Method and Description |
|---|---|
static PropertyType |
OraclePropertyGraphUtils.idTypeAsPropertyType(IdType type)
Converts a
IdType object into a PropertyType object |
| Modifier and Type | Method and Description |
|---|---|
PropertyType |
PgxCollection.getContentType()
Gets this collection's content type.
|
PropertyType |
PgxMap.getKeyType()
Gets the key type.
|
PropertyType |
PropertyMetaData.getPropertyType()
Returns the type of the property
|
PropertyType |
PgxVect.getType() |
PropertyType |
Property.getType()
Gets the PropertyType.
|
PropertyType |
Scalar.getType()
Gets the type of this Scalar.
|
PropertyType |
PgxMap.getValueType()
Gets the value type.
|
| Modifier and Type | Method and Description |
|---|---|
<V> EdgeProperty<V> |
PgxGraph.createEdgeProperty(PropertyType type)
Blocking version of
PgxGraph.createEdgePropertyAsync(PropertyType). |
<V> EdgeProperty<V> |
PgxGraph.createEdgeProperty(PropertyType type,
int dimension,
java.lang.String name,
boolean hardName)
Blocking version of
PgxGraph.createEdgePropertyAsync(PropertyType, int, String, boolean). |
<V> EdgeProperty<V> |
PgxGraph.createEdgeProperty(PropertyType type,
java.lang.String name)
Blocking version of
PgxGraph.createEdgePropertyAsync(PropertyType, String). |
<V> PgxFuture<EdgeProperty<V>> |
PgxGraph.createEdgePropertyAsync(PropertyType type)
Creates a session-bound edge property
|
<V> PgxFuture<EdgeProperty<V>> |
PgxGraph.createEdgePropertyAsync(PropertyType type,
java.lang.String name)
Creates a session-bound edge property
|
<V> EdgeProperty<PgxVect<V>> |
PgxGraph.createEdgeVectorProperty(PropertyType type,
int dimension)
Blocking version of
PgxGraph.createEdgeVectorPropertyAsync(PropertyType, int). |
<V> EdgeProperty<PgxVect<V>> |
PgxGraph.createEdgeVectorProperty(PropertyType type,
int dimension,
java.lang.String name)
Blocking version of
PgxGraph.createEdgeVectorPropertyAsync(PropertyType, int, String). |
<V> PgxFuture<EdgeProperty<PgxVect<V>>> |
PgxGraph.createEdgeVectorPropertyAsync(PropertyType type,
int dimension)
Creates a session-bound edge vector property
|
<V> PgxFuture<EdgeProperty<PgxVect<V>>> |
PgxGraph.createEdgeVectorPropertyAsync(PropertyType type,
int dimension,
java.lang.String name)
Creates a session-bound edge vector property
|
<K,V> PgxMap<K,V> |
PgxGraph.createMap(PropertyType keyType,
PropertyType valType)
Blocking version of
PgxGraph.createMapAsync(PropertyType, PropertyType). |
<K,V> PgxMap<K,V> |
PgxSession.createMap(PropertyType keyType,
PropertyType valueType)
Blocking version of
PgxSession.createMapAsync(PropertyType, PropertyType). |
<K,V> PgxMap<K,V> |
PgxGraph.createMap(PropertyType keyType,
PropertyType valType,
java.lang.String mapName)
Blocking version of
PgxGraph.createMapAsync(PropertyType, PropertyType, String). |
<K,V> PgxMap<K,V> |
PgxSession.createMap(PropertyType keyType,
PropertyType valueType,
java.lang.String name)
Blocking version of
PgxSession.createMapAsync(PropertyType, PropertyType, String). |
<K,V> PgxFuture<PgxMap<K,V>> |
PgxGraph.createMapAsync(PropertyType keyType,
PropertyType valType)
Creates a session-bound map
|
<K,V> PgxFuture<PgxMap<K,V>> |
PgxSession.createMapAsync(PropertyType keyType,
PropertyType valueType)
Convenience method around
PgxSession.createMapAsync(PropertyType, PropertyType, String) passing name as null. |
<K,V> PgxFuture<PgxMap<K,V>> |
PgxGraph.createMapAsync(PropertyType keyType,
PropertyType valType,
java.lang.String mapName)
Creates a session-bound map
|
<K,V> PgxFuture<PgxMap<K,V>> |
PgxSession.createMapAsync(PropertyType keyType,
PropertyType valueType,
java.lang.String name)
Creates a map.
|
<T> Scalar<T> |
PgxGraph.createScalar(PropertyType type)
Blocking version of
PgxGraph.createScalarAsync(PropertyType). |
<T> Scalar<T> |
PgxGraph.createScalar(PropertyType type,
java.lang.String newScalarName)
Blocking version of
PgxGraph.createScalarAsync(PropertyType, String). |
<T> PgxFuture<Scalar<T>> |
PgxGraph.createScalarAsync(PropertyType type)
Creates a new Scalar.
|
<T> PgxFuture<Scalar<T>> |
PgxGraph.createScalarAsync(PropertyType type,
java.lang.String newScalarName)
Create a session-bound scalar.
|
<T> ScalarSequence<T> |
PgxSession.createSequence(PropertyType contentType)
Blocking version of
PgxSession.createSequenceAsync(PropertyType). |
<T> ScalarSequence<T> |
PgxSession.createSequence(PropertyType contentType,
java.lang.String name)
Blocking version of
PgxSession.createSequenceAsync(PropertyType, String). |
<T> PgxFuture<ScalarSequence<T>> |
PgxSession.createSequenceAsync(PropertyType contentType)
Convenience method around
PgxSession.createSequenceAsync(PropertyType, String) passing name as null. |
<T> PgxFuture<ScalarSequence<T>> |
PgxSession.createSequenceAsync(PropertyType contentType,
java.lang.String name)
Creates a sequence of scalars.
|
<T> ScalarSet<T> |
PgxSession.createSet(PropertyType contentType)
Blocking version of
PgxSession.createSetAsync(PropertyType). |
<T> ScalarSet<T> |
PgxSession.createSet(PropertyType contentType,
java.lang.String name)
Blocking version of
PgxSession.createSetAsync(PropertyType, String). |
<T> PgxFuture<ScalarSet<T>> |
PgxSession.createSetAsync(PropertyType contentType)
Convenience method around
PgxSession.createSetAsync(PropertyType, String) passing name as null. |
<T> PgxFuture<ScalarSet<T>> |
PgxSession.createSetAsync(PropertyType contentType,
java.lang.String name)
Creates a set of scalars.
|
<T> Scalar<PgxVect<T>> |
PgxGraph.createVectorScalar(PropertyType type,
int dimension)
Blocking version of
PgxGraph.createVectorScalarAsync(PropertyType, int). |
<T> Scalar<PgxVect<T>> |
PgxGraph.createVectorScalar(PropertyType type,
int dimension,
java.lang.String newScalarName)
Blocking version of
PgxGraph.createVectorScalarAsync(PropertyType, int, String). |
<T> PgxFuture<Scalar<PgxVect<T>>> |
PgxGraph.createVectorScalarAsync(PropertyType type,
int dimension)
Create a session-bound vector scalar.
|
<T> PgxFuture<Scalar<PgxVect<T>>> |
PgxGraph.createVectorScalarAsync(PropertyType type,
int dimension,
java.lang.String newScalarName)
Create a session-bound vector scalar.
|
<ID,V> VertexProperty<ID,V> |
PgxGraph.createVertexProperty(PropertyType type)
Blocking version of
PgxGraph.createVertexPropertyAsync(PropertyType). |
<ID,V> VertexProperty<ID,V> |
PgxGraph.createVertexProperty(PropertyType type,
int dimension,
java.lang.String name,
boolean hardName)
Blocking version of
PgxGraph.createVertexPropertyAsync(PropertyType, int, String, boolean). |
<ID,V> VertexProperty<ID,V> |
PgxGraph.createVertexProperty(PropertyType type,
java.lang.String name)
Blocking version of
PgxGraph.createVertexPropertyAsync(PropertyType, String). |
<ID,V> PgxFuture<VertexProperty<ID,V>> |
PgxGraph.createVertexPropertyAsync(PropertyType type)
Creates a session-bound vertex property
|
<ID,V> PgxFuture<VertexProperty<ID,V>> |
PgxGraph.createVertexPropertyAsync(PropertyType type,
java.lang.String name)
Creates a session-bound vertex property
|
<ID,V> VertexProperty<ID,PgxVect<V>> |
PgxGraph.createVertexVectorProperty(PropertyType type,
int dimension)
Blocking version of
PgxGraph.createVertexVectorPropertyAsync(PropertyType, int). |
<ID,V> VertexProperty<ID,PgxVect<V>> |
PgxGraph.createVertexVectorProperty(PropertyType type,
int dimension,
java.lang.String name)
Blocking version of
PgxGraph.createVertexVectorPropertyAsync(PropertyType, int, String). |
<ID,V> PgxFuture<VertexProperty<ID,PgxVect<V>>> |
PgxGraph.createVertexVectorPropertyAsync(PropertyType type,
int dimension)
Creates a session-bound vertex vector property
|
<ID,V> PgxFuture<VertexProperty<ID,PgxVect<V>>> |
PgxGraph.createVertexVectorPropertyAsync(PropertyType type,
int dimension,
java.lang.String name)
Creates a session-bound vertex vector property
|
<V> EdgeProperty<V> |
PgxGraph.getOrCreateEdgeProperty(PropertyType type,
java.lang.String name)
Blocking version of
PgxGraph.getOrCreateEdgePropertyAsync(PropertyType, String). |
<V> PgxFuture<EdgeProperty<V>> |
PgxGraph.getOrCreateEdgePropertyAsync(PropertyType type,
java.lang.String name)
Gets or creates an edge property
|
<V> EdgeProperty<PgxVect<V>> |
PgxGraph.getOrCreateEdgeVectorProperty(PropertyType type,
int dimension,
java.lang.String name)
Blocking version of
PgxGraph.getOrCreateEdgeVectorPropertyAsync(PropertyType, int, String). |
<V> PgxFuture<EdgeProperty<PgxVect<V>>> |
PgxGraph.getOrCreateEdgeVectorPropertyAsync(PropertyType type,
int dimension,
java.lang.String name)
Gets or creates an edge vector property
|
<V> PgxFuture<EdgeProperty<PgxVect<V>>> |
PgxGraph.getOrCreateEdgeVertexPropertyAsync(PropertyType type,
int dimension,
java.lang.String name)
Gets or creates an edge vector property
|
<ID,V> VertexProperty<ID,V> |
PgxGraph.getOrCreateVertexProperty(PropertyType type,
java.lang.String name)
Blocking version of
PgxGraph.getOrCreateVertexPropertyAsync(PropertyType, String). |
<ID,V> PgxFuture<VertexProperty<ID,V>> |
PgxGraph.getOrCreateVertexPropertyAsync(PropertyType type,
java.lang.String name)
Gets or creates a vertex property
|
<ID,V> VertexProperty<ID,PgxVect<V>> |
PgxGraph.getOrCreateVertexVectorProperty(PropertyType type,
int dimension,
java.lang.String name)
Blocking version of
PgxGraph.getOrCreateVertexVectorPropertyAsync(PropertyType, int, String). |
<ID,V> PgxFuture<VertexProperty<ID,PgxVect<V>>> |
PgxGraph.getOrCreateVertexVectorPropertyAsync(PropertyType type,
int dimension,
java.lang.String name)
Gets or creates a vertex vector property
|
static <V> V |
Property.wrap(V value,
PropertyType type,
PgxGraph graph) |
| Constructor and Description |
|---|
PgxVect(E[] vector,
PropertyType type)
Construct a new vector.
|
PropertyMetaData(java.lang.String name,
oracle.pgx.common.PgxId id,
PropertyType propertyType,
int dimension,
boolean transientProperty) |
| Modifier and Type | Method and Description |
|---|---|
GraphAlterationEmptyEdgeProviderBuilder |
GraphAlterationEmptyEdgeProviderBuilder.addProperty(java.lang.String name,
PropertyType type)
Adds a property of the given name and type to the provider.
|
GraphAlterationEmptyProviderBuilder |
GraphAlterationEmptyProviderBuilder.addProperty(java.lang.String name,
PropertyType type)
Adds a property of the given name and type to the provider.
|
GraphAlterationEmptyVertexProviderBuilder |
GraphAlterationEmptyVertexProviderBuilder.addProperty(java.lang.String name,
PropertyType type)
Adds a property of the given name and type to the provider.
|
GraphAlterationEmptyEdgeProviderBuilder |
GraphAlterationEmptyEdgeProviderBuilder.addProperty(java.lang.String name,
PropertyType type,
int dimension)
Adds a property of the given name, type and dimension to the provider.
|
GraphAlterationEmptyProviderBuilder |
GraphAlterationEmptyProviderBuilder.addProperty(java.lang.String name,
PropertyType type,
int dimension)
Adds a property of the given name, type and dimension to the provider.
|
GraphAlterationEmptyVertexProviderBuilder |
GraphAlterationEmptyVertexProviderBuilder.addProperty(java.lang.String name,
PropertyType type,
int dimension)
Adds a property of the given name, type and dimension to the provider.
|
| Modifier and Type | Method and Description |
|---|---|
static PropertyType |
TypeConverter.entityTypeToPropertyType(EntityType type)
Converts an entity type to a property type.
|
static PropertyType |
TypeConverter.getPropertyTypeForIdType(IdType idType)
Converts an IdType to the corresponding matching property type
|
static PropertyType |
PropertyType.getTypeFor(java.lang.Class<?> typeClass)
Returns the PropertyType based on a typeClass.
|
static PropertyType |
PropertyType.parsePropertyType(java.lang.String input)
Parse PropertyType from a string value.
|
PropertyType |
EntityType.toPropertyType()
Converts this entity type to a
PropertyType. |
static PropertyType |
IdType.toPropertyType(IdType idType)
Returns the equivalent PropertyType of the specified IdType.
|
static PropertyType |
PropertyType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
PropertyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static IdType |
IdType.fromPropertyType(PropertyType propertyType) |
static IdType |
TypeConverter.getIdTypeForPropertyType(PropertyType propertyType)
Converts an IdType to the corresponding matching property type
|
static java.time.temporal.Temporal |
PropertyType.parseTemporal(java.lang.String input,
PropertyType type) |
static EntityType |
TypeConverter.propertyTypeToEntityType(PropertyType type)
Delegate to
TypeConverter.propertyTypeToEntityType(PropertyType, boolean) with strict = true |
static EntityType |
TypeConverter.propertyTypeToEntityType(PropertyType type,
boolean strict)
Converts a property type to an entity type.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyType |
GraphConfig.getEdgePropertyType(int i)
Get the name of a edge property by index
|
PropertyType |
GraphConfig.getNodePropertyType(int i)
Get the type of a vertex property by index
|
PropertyType |
RdfAction.getPropertyType() |
PropertyType |
EntityProviderConfig.getPropertyType(int i)
Get the type of a property by index
|
abstract PropertyType |
AbstractUdfFunctionConfig.getReturnType() |
PropertyType |
UdfFunctionConfig.getReturnType()
return type of the function
|
abstract PropertyType |
AbstractGraphPropertyConfig.getType()
type of property.
|
PropertyType |
GraphPropertyConfig.getType()
type of property (Note: date is deprecated, use one of local_date / time / timestamp / time_with_timezone / timestamp_with_timezone instead).
|
PropertyType |
UdfFunctionArgumentConfig.getType()
type of the argument
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,PropertyType> |
GraphConfig.getEdgePropertyTypes() |
java.util.Map<java.lang.String,PropertyType> |
GraphConfig.getVertexPropertyTypes() |
| Modifier and Type | Method and Description |
|---|---|
T |
AbstractGraphConfigBuilder.addEdgeProperty(java.lang.String name,
PropertyType type)
Convenience method for
AbstractGraphConfigBuilder.addEdgeProperty(String, PropertyType, Object). |
T |
AbstractGraphConfigBuilder.addEdgeProperty(java.lang.String name,
PropertyType type,
java.lang.Object defaultVal)
Adds an edge property to this builder
|
T |
AbstractGraphConfigBuilder.addEdgeProperty(java.lang.String name,
PropertyType type,
java.lang.Object defaultVal,
java.lang.Object column)
Adds an edge property to this builder
|
T |
AbstractGraphConfigBuilder.addEdgeVectorProperty(java.lang.String name,
PropertyType type,
int dimension)
Convenience method for
AbstractGraphConfigBuilder.addEdgeProperty(String, PropertyType, Object). |
T |
AbstractGraphConfigBuilder.addEdgeVectorProperty(java.lang.String name,
PropertyType type,
int dimension,
java.lang.Object defaultVal)
Adds an edge property to this builder
|
T |
AbstractGraphConfigBuilder.addEdgeVectorProperty(java.lang.String name,
PropertyType type,
int dimension,
java.lang.Object defaultVal,
java.lang.Object column)
Adds an edge property to this builder
|
T |
AbstractGraphConfigBuilder.addNodeProperty(java.lang.String name,
PropertyType type)
|
T |
AbstractGraphConfigBuilder.addNodeProperty(java.lang.String name,
PropertyType type,
java.lang.Object defaultVal)
|
T |
AbstractEntityProviderConfigBuilder.addProperty(java.lang.String name,
PropertyType type)
Convenience method for
AbstractEntityProviderConfigBuilder.addProperty(String, PropertyType, Object). |
T |
AbstractEntityProviderConfigBuilder.addProperty(java.lang.String name,
PropertyType type,
java.lang.Object defaultVal)
Add a property to this builder
|
T |
AbstractEntityProviderConfigBuilder.addProperty(java.lang.String name,
PropertyType type,
java.lang.Object defaultVal,
java.lang.Object column)
Add a property to this builder
|
T |
AbstractEntityProviderConfigBuilder.addVectorProperty(java.lang.String name,
PropertyType type,
int dimension)
Add a property to this builder
|
T |
AbstractEntityProviderConfigBuilder.addVectorProperty(java.lang.String name,
PropertyType type,
int dimension,
java.lang.Object defaultVal)
Add a property to this builder
|
T |
AbstractEntityProviderConfigBuilder.addVectorProperty(java.lang.String name,
PropertyType type,
int dimension,
java.lang.Object defaultVal,
java.lang.Object column)
Add a property to this builder
|
T |
AbstractEntityProviderConfigBuilder.addVectorProperty(java.lang.String name,
PropertyType type,
int dimension,
java.lang.Object defaultVal,
java.lang.Object column,
java.lang.Object field,
java.lang.Object aggregate,
java.lang.Object groupKey,
java.lang.Object dropAfterLoading)
Add a property to this builder
|
T |
AbstractGraphConfigBuilder.addVertexProperty(java.lang.String name,
PropertyType type)
Convenience method for
AbstractGraphConfigBuilder.addVertexProperty(String, PropertyType, Object). |
T |
AbstractGraphConfigBuilder.addVertexProperty(java.lang.String name,
PropertyType type,
java.lang.Object defaultVal)
Adds a vertex property to this builder
|
T |
AbstractGraphConfigBuilder.addVertexProperty(java.lang.String name,
PropertyType type,
java.lang.Object defaultVal,
java.lang.Object column)
Adds a vertex property to this builder
|
T |
AbstractGraphConfigBuilder.addVertexVectorProperty(java.lang.String name,
PropertyType type,
int dimension)
Convenience method for
AbstractGraphConfigBuilder.addVertexProperty(String, PropertyType, Object). |
T |
AbstractGraphConfigBuilder.addVertexVectorProperty(java.lang.String name,
PropertyType type,
int dimension,
java.lang.Object defaultVal)
Add a vertex property to this builder
|
T |
AbstractGraphConfigBuilder.addVertexVectorProperty(java.lang.String name,
PropertyType type,
int dimension,
java.lang.Object defaultVal,
java.lang.Object column)
Add a vertex property to this builder
|
static RdfAction |
RdfAction.fromPropertyType(PropertyType propertyType) |
static java.util.List<java.time.format.DateTimeFormatter> |
GraphFormatConfig.getDefaultFormats(CommonLoadableConfig loadableConfig,
PropertyType type) |
UdfFunctionConfigBuilder |
UdfFunctionConfigBuilder.setReturnType(PropertyType returnType)
return type of the function
|
GraphPropertyConfigBuilder |
GraphPropertyConfigBuilder.setType(PropertyType type)
type of property (Note: date is deprecated, use one of local_date / time / timestamp / time_with_timezone / timestamp_with_timezone instead).
|
UdfFunctionArgumentConfigBuilder |
UdfFunctionArgumentConfigBuilder.setType(PropertyType type)
type of the argument
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.EnumSet<PropertyType> |
GraphWiseModelConfig.SUPPORTED_INPUT_TYPES
BOOLEAN, FLOAT, DOUBLE
|
static java.util.EnumSet<PropertyType> |
SupervisedGraphWiseModelConfig.SUPPORTED_LABEL_TYPES
INTEGER, STRING, BOOLEAN, LONG
|
| Modifier and Type | Method and Description |
|---|---|
PropertyType |
Pg2vecModelConfig.getGraphIdPropertyType() |
PropertyType |
LabelMaps.getLabelType() |
PropertyType |
SupervisedGraphWiseModelConfig.getLabelType() |
PropertyType |
DeepWalkModelConfig.getVertexIdPropertyType() |
| Modifier and Type | Method and Description |
|---|---|
void |
Pg2vecModelConfig.setGraphIdPropertyType(PropertyType graphIdPropertyType) |
void |
LabelMaps.setLabelType(PropertyType labelType) |
void |
SupervisedGraphWiseModelConfig.setLabelType(PropertyType labelType) |
void |
DeepWalkModelConfig.setVertexIdPropertyType(PropertyType vertexIdPropertyType) |
| Constructor and Description |
|---|
DeepWalkModelConfig(int minWordFrequency,
int batchSize,
int numEpochs,
int layerSize,
double learningRate,
double minLearningRate,
int windowSize,
int walkLength,
int walksPerVertex,
double sampleRate,
int negativeSample,
java.lang.Double trainingLoss,
double validationFraction,
PropertyType vertexIdPropertyType,
java.lang.Long seed,
boolean shuffle) |
Pg2vecModelConfig(int walkLength,
int walksPerVertex,
int minWordFrequency,
int batchSize,
int numEpochs,
int layerSize,
double learningRate,
double minLearningRate,
int windowSize,
java.util.Collection<java.lang.String> vertexPropertyNames,
java.lang.String graphLetIdName,
PropertyType graphIdPropertyType,
java.lang.Double trainingLoss,
double validationFraction,
boolean useGraphletSize,
java.lang.Long seed,
boolean shuffle,
java.lang.String graphletSizePropertyName) |
| Modifier and Type | Method and Description |
|---|---|
PropertyType |
DevNetLoss.getLabelType() |
| Constructor and Description |
|---|
DevNetLoss(double confidenceMargin,
PropertyType labelType,
java.lang.String anomalyPropertyStringValue) |