Deprecated Features
Review the deprecated features in Oracle Graph Server and Client.
- Oracle Linux 7
Oracle Linux 7 is deprecated. Instead, use Oracle Linux 8.
- Graph Server REST API Version 1
Graph Server REST API Version 1 is deprecated. It is recommended that you use Graph Server REST API Version 2.
formatter
parameter inhttps://localhost:7007/v2/runQuery
endpointThe
formatter
parameter inhttps://localhost:7007/v2/runQuery
endpoint is deprecated.- PG_VIEW field
The PG_VIEW constant is deprecated from GraphSource and SourceType. Instead, use PG_PGQL.
- Interfaces, Classes and Methods deprecated for
oracle.pgx.api
CompiledProgram.destroy(boolean)
is deprecated. Instead, useCompiledProgram.destroy()
.ComponentCollection.destroy(boolean)
is deprecated. Instead, useComponentCollection.destroy()
.Partition.destroy(boolean)
is deprecated. Instead, usePartition.destroy()
.PgxGraph.destroy(PgxGraph.Retention)
is deprecated. Instead, usePgxGraph.destroy()
.PgxVertexTableFromFramesCreator
is deprecated. Instead, usePgxVertexProviderFromFramesCreator
.PgxEdgeTableFromFramesCreator
is deprecated. Instead, usePgxEdgeProviderFromFramesCreator
.PgxGraphFromFramesCreator.edgeTable(...)
is deprecated. Instead, usePgxGraphFromFramesCreator.edgeProvider(String, String, String, PgxFrame)
.PgxGraphFromFramesCreator.vertexTable(...)
is deprecated. Instead, usePgxGraphFromFramesCreator.vertexProvider(String, PgxFrame)
.GraphConfig.getLoading()
is deprecated. Instead, useGraphConfig.getLoadingOptions()
.AbstractFileGraphConfigBuilder.setStoringConfig(...)
is deprecated. Instead, useAbstractFileGraphConfigBuilder.setStoringOptions(FileGraphStoringConfig)
.AbstractFileGraphConfig.getStoring()
is deprecated. Instead, useAbstractFileGraphConfig.getStoringOptions()
.AbstractFileEntityProviderConfig.getStoring()
is deprecated. Instead, useAbstractFileEntityProviderConfig.getStoringOptions()
.FileEntityProviderConfigBuilder.setStoring(FileGraphStoringConfig)
is deprecated. Instead, useFileEntityProviderConfigBuilder.setStoringOptions(FileGraphStoringConfig)
.PartitionedGraphConfigBuilder.setPgViewName(String)
is deprecated. Instead, usePartitionedGraphConfigBuilder.setSourceName(String)
andPartitionedGraphConfigBuilder.setSourceType(sourceType)
.PickingStrategyBuilder.setPickByProperty(String , PickingStrategyFunction)
is deprecated. Instead, usePickingStrategyBuilder.setPickByProperty(EdgeProperty, PickingStrategyFunction)
.VertexFilter(String filterExpression)
is deprecated. Instead, useVertexFilter.fromExpression(String)
.EdgeFilter(String filterExpression)
is deprecated. Instead, useEdgeFilter.fromExpression(String)
.ServerInstance.getSessionInfo(...)
is deprecated. Instead, useServerInstance.getServerState(...)
.ServerInstance.getGraphInfo(...)
is deprecated. Instead, useServerInstance.getServerState(...)
.ServerInstance.getMemoryInfo(...)
is deprecated. Instead, useServerInstance.getServerState(...)
.ServerInstance.getThreadPoolInfo(...)
is deprecated. Instead, useServerInstance.getServerState(...)
.ControlResource.getSessionBoundGraphInfo(String, String, Request, UriInfo)
is deprecated. Instead, useControlResource.getServerState(String, Request, UriInfo)
.oracle.pgx.api.filter.ResultSetFilter
is deprecated. Instead, useoracle.pgx.api.filter.internal.ResultSetFilter
.oracle.pgx.api.filter.ResultSetVertexFilter
is deprecated. Instead, useoracle.pgx.api.filter.internal.ResultSetVertexFilter
.oracle.pgx.api.filter.ResultSetEdgeFilter
is deprecated. Instead, useoracle.pgx.api.filter.internal.ResultSetEdgeFilter
.
- PgxML
UnsupervisedGraphWiseModel.getDgiLayerConfigs()
is deprecated. Instead, useUnsupervisedGraphWiseModel.getEmbeddingConfig()
.UnsupervisedGraphWiseModelConfig.getDgiLayerConfigs()
is deprecated. Instead, useUnsuperVisedGraphWiseModelConfig.getEmbeddingConfig()
.UnsupervisedGraphWiseModelConfig.setDgiLayerConfigs(GraphWiseDgiLayerConfig)
is deprecated. Instead, useUnsupervisedGraphWiseModelConfig.setEmbeddingConfig(GraphWiseEmbeddingConfig)
.- The
SupervisedGraphWiseModel.getLossFunction()
method is deprecated. Instead, useSupervisedGraphWiseModel.getLossFunctionClass()
.
- Configuration Fields
node_id_type
is deprecated. Instead, usevertex_id_type
.node_props
is deprecated. Instead, usevertex_props
.create_node_id_index
is deprecated. Instead, usecreate_vertex_id_index
.create_node_id_mapping
is deprecated. Instead, usecreate_vertex_id_mapping
.pg_view_name
inPartitionedGraphConfig
is deprecated. Instead, usesource_name
,source_type
, andpg_view
.PropertyType.RO_STRING_SET, LONG_SET, SPARSE
is deprecated.enable_client_authentication
is deprecated. Instead, use native PGX authentication.
- PgxSession.readSubgraph() methods
session.readSubgraph().fromPgView()
is deprecated. Instead, usesession.readSubgraph().fromPgPgql()
.graph.expandGraph().withPgql().fromPgView()
is deprecated. Instead, usegraph.expandGraph().withPgql().fromPgPgql()
.
- PyPGX
PgxSession.read_subgraph_from_pg_view()
is deprecated. Instead, usePgxSession.read_subgraph_from_pg_pgql()
.- The following function signatures are
deprecated for
PgxGraph
:get_or_create_edge_property(name, data_type=None, dim=0)
Instead, use
get_or_create_edge_property(type, /, name)
.get_or_create_edge_vector_property(data_type, dim, name=None)
Instead, use
get_or_create_edge_vector_property(type, dimension, /, name)
.get_or_create_vertex_property(name, data_type=None, dim=0)
Instead, use
get_or_create_vertex_property(type, /, name)
.get_or_create_vertex_vector_property(data_type, dim, name=None)
Instead, use
get_or_create_vertex_vector_property(type, dimension, /, name)
.
Note the following changes that apply for the new signatures:
name
is no longer optionaltype
is the first argument followed bydimension
, andname
is the final argumentdata_type
anddim
are deprecated
DeepWalkModel.validation_fraction
,Pg2vecModel.validation_fraction
, and thevalidation_fraction
argument ofAnalyst.pg2vec_builder()
are deprecated.The loss is computed on all samples.
- The following attributes on
Operation
are now deprecated:graph_id
,operation_type
,cost_estimate
,total_cost_estimate
,cardinality_estimate
,pattern_info
, andchildren
. Instead, use the corresponding getter methods, such asget_graph_id()
,get_operation_type()
, and so on. - The
pgx_version
attribute inServerInstance
class is deprecated. Instead, useget_version()
. - The attribute
pg_view_name
inPartitionedGraphConfig
is deprecated. Instead, usesource_name
andsource_type
. set_standarize
inGraphWiseModelConfig
is deprecated. Instead, useset_standardize
.- The return value of
PgqlResultSet.get_vertex_labels
may or may not be a list.
Parent topic: Changes in This Release for This Guide