Package | Description |
---|---|
oracle.pgx.api |
This package contains the main Java APIs.
|
oracle.pgx.api.frames |
This package contains classes and utilities to build and manipulate PGX Frames.
|
oracle.pgx.api.mllib |
This package contains graph machine learning tools for use with PGX.
|
Modifier and Type | Method and Description |
---|---|
PgxFrame |
PgxSession.createFrame(java.util.List<ColumnDescriptor> schema, java.util.Map<java.lang.String,java.lang.Iterable<?>> columnData, java.lang.String frameName)
Blocking version of
PgxSession.createFrameAsync(List, Map, String) . |
default PgxFrame |
PgqlResultSet.toFrame()
Copies the content of this result set into a new PgxFrame.
|
Modifier and Type | Method and Description |
---|---|
PgxFuture<PgxFrame> |
PgxSession.createFrameAsync(java.util.List<ColumnDescriptor> schema, java.util.Map<java.lang.String,java.lang.Iterable<?>> columnData, java.lang.String frameName)
Creates a new frame from client-side data
|
default PgxFuture<PgxFrame> |
PgqlResultSet.toFrameAsync()
Copies the content of this result set into a new PgxFrame.
|
Modifier and Type | Method and Description |
---|---|
PgxGraph |
PgxSession.createGraphFromFrames(java.lang.String graphName, PgxFrame vertexFrame, PgxFrame edgeFrame)
Creates an homogeneous graph from the specified frames that represent the vertices and edges of the graph.
|
PgxFuture<PgxGraph> |
PgxSession.createGraphFromFramesAsync(java.lang.String graphName, PgxFrame vertexFrame, PgxFrame edgeFrame)
Creates an homogeneous graph from the specified frames that represent the vertices and edges of the graph.
|
Modifier and Type | Method and Description |
---|---|
PgxFrame |
PgxFrameBuilder.build(java.lang.String frameName)
Blocking version of
PgxFrameBuilder.buildAsync(String) . |
PgxFrame |
PgxGenericFrameReader.csv(java.lang.String... uris)
loads the csv PgxFrame synchronously
|
PgxFrame |
PgxFrame.flatten(java.lang.String... columns)
Create a new PgxFrame with all the specified columns and vector columns flattened into multiple columns.
|
PgxFrame |
PgxFrame.flattenAll()
Create a new PgxFrame with all nested columns and vector columns flattened into multiple columns.
|
PgxFrame |
PgxFrame.flattenAllInPlace()
Modifies the PgxFrame by flattening all nested columns and vector columns into multiple columns.
|
PgxFrame |
PgxFrame.flattenInPlace(java.lang.String... columns)
Modifies the PgxFrame by flattening all the specified columns and vector columns into multiple columns.
|
PgxFrame |
PgxFrame.head()
Extracts the
headInPlace(long) first rows of the frame and put them in a new frame Blocking version of head(long) . |
PgxFrame |
PgxFrame.head(long numRows)
Extracts the numRows first rows of the frame and put them in a new frame Blocking version of
head(long) . |
PgxFrame |
PgxFrame.headInPlace()
Keeps only the first
DEFAULT_LIMIT rows in the frame Blocking version of headInPlace() . |
PgxFrame |
PgxFrame.headInPlace(long numRows)
Keeps only the first numRows rows in the frame Blocking version of
headInPlace(long) . |
PgxFrame |
PgxFrame.join(PgxFrame right, java.lang.String joinKeyColumn)
Creates a new PgxFrame by adding the columns of the right frame to this frame aligned on equality of entries in column joinKeyColumn.
|
PgxFrame |
PgxFrame.join(PgxFrame right, java.lang.String leftJoinKeyColumn, java.lang.String rightJoinKeyColumn)
Creates a new PgxFrame by adding the columns of the right frame to this frame aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame.
|
PgxFrame |
PgxFrame.join(PgxFrame right, java.lang.String joinKeyColumn, java.lang.String leftPrefix, java.lang.String rightPrefix)
Creates a new PgxFrame by adding the columns of the right frame to this frame, aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame.
|
PgxFrame |
PgxFrame.join(PgxFrame right, java.lang.String leftJoinKeyColumn, java.lang.String rightJoinKeyColumn, java.lang.String leftPrefix, java.lang.String rightPrefix)
Creates a new PgxFrame by adding the columns of the right frame to this frame, aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame.
|
PgxFrame |
PgxFrameReader.load(java.lang.String... uris)
triggers the loading of the PgxFrame
|
PgxFrame |
PgxGenericFrameReader.pgb(java.lang.String... uris)
loads the csv PgxFrame synchronously
|
PgxFrame |
PgxFrame.print()
Prints all results to
System.out . |
PgxFrame |
PgxFrame.print(long numRows)
Prints
numRows results to System.out . |
PgxFrame |
PgxFrame.print(long numResults, long from)
Prints
numResults results from the frame to System.out . |
PgxFrame |
PgxFrame.print(java.io.PrintStream printStream, long numResults, long from)
Prints the content of the frame Blocking version of
printAsync(PrintStream, long, long) . |
PgxFrame |
PgxFrame.renameColumn(java.lang.String oldColumnName, java.lang.String newColumnName)
Returns a new PgxFrame in which the specified column is renamed as specified Blocking version of
renameColumnAsync(String, String) . |
PgxFrame |
PgxFrame.renameColumnInPlace(java.lang.String oldColumnName, java.lang.String newColumnName)
Modifies the PgxFrame by renaming the specified column is renamed as specified Blocking version of
renameColumnInPlaceAsync(String, String) . |
PgxFrame |
PgxFrame.renameColumns(ColumnRenaming... columnsWithRenamings)
Returns a new PgxFrame in which the specified columns are renamed as specified Blocking version of
renameColumnsAsync(ColumnRenaming...) . |
PgxFrame |
PgxFrame.renameColumnsInPlace(ColumnRenaming... columnsWithRenamings)
Modifies the PgxFrame to rename the specified columns as specified Blocking version of
renameColumnsInPlaceAsync(ColumnRenaming...) . |
PgxFrame |
PgxFrame.select(java.lang.String... columns)
Returns a new PgxFrame that contains only the specified columns Blocking version of
selectAsync(String...) . |
PgxFrame |
PgxFrame.selectInPlace(java.lang.String... columns)
Modifies the PgxFrame to contain only the specified columns Blocking version of
selectInPlaceAsync(String...) . |
PgxFrame |
PgxFrame.tail()
Extracts the last
DEFAULT_LIMIT rows of the frame into a new frame. |
PgxFrame |
PgxFrame.tail(long numRows)
Extracts the numRows last rows of the frame and put them in a new frame
|
PgxFrame |
PgxFrame.tailInPlace()
Modifies the frame to keep the last
DEFAULT_LIMIT rows of the frame. |
PgxFrame |
PgxFrame.tailInPlace(long numRows)
Modifies the frame to keep the last
DEFAULT_LIMIT rows of the frame. |
PgxFrame |
PgxFrame.union(PgxFrame b, PgxFrame... others)
Creates a new PgxFrame by concatenating the rows of this frame with the rows of b and others.
|
Modifier and Type | Method and Description |
---|---|
PgxFuture<PgxFrame> |
PgxFrameBuilder.buildAsync(java.lang.String frameName)
Builds a frame with the previously given schema and rows
|
PgxFuture<PgxFrame> |
PgxGenericFrameReader.csvAsync(java.lang.String... uris)
triggers the async loading of the csv PgxFrame
|
PgxFuture<PgxFrame> |
PgxFrame.flattenAllAsync()
Create a new PgxFrame with all nested columns and vector columns flattened into multiple columns.
|
PgxFuture<PgxFrame> |
PgxFrame.flattenAllInPlaceAsync()
Modifies the PgxFrame by flattening all nested columns and vector columns into multiple columns.
|
PgxFuture<PgxFrame> |
PgxFrame.flattenAsync(java.lang.String... columns)
Create a new PgxFrame with the specified nested columns and vector columns flattened into multiple columns.
|
PgxFuture<PgxFrame> |
PgxFrame.flattenInPlaceAsync(java.lang.String... columns)
Modifies the PgxFrame by flattening all the specified columns and vector columns into multiple columns.
|
PgxFuture<PgxFrame> |
PgxFrame.headAsync()
Extracts the
headInPlace(long) first rows of the frame and put them in a new frame |
PgxFuture<PgxFrame> |
PgxFrame.headAsync(long numRows)
Extracts the numRows first rows of the frame and put them in a new frame
|
PgxFuture<PgxFrame> |
PgxFrame.headInPlaceAsync()
Modifies the frame to only keep the first
headInPlace(long) rows in the frame |
PgxFuture<PgxFrame> |
PgxFrame.headInPlaceAsync(long numRows)
Modifies the frame to only keep the first numRows rows in the frame
|
PgxFuture<PgxFrame> |
PgxFrame.joinAsync(PgxFrame right, java.lang.String joinKeyColumn)
Creates a new PgxFrame by adding the columns of the right frame to this frame aligned on equality of entries in column joinKeyColumn.
|
PgxFuture<PgxFrame> |
PgxFrame.joinAsync(PgxFrame right, java.lang.String leftJoinKeyColumn, java.lang.String rightJoinKeyColumn)
Creates a new PgxFrame by adding the columns of the right frame to this frame aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame The resulting frame will contain the columns of this frame and the columns of right frame without any prefixes.
|
PgxFuture<PgxFrame> |
PgxFrame.joinAsync(PgxFrame right, java.lang.String joinKeyColumn, java.lang.String leftPrefix, java.lang.String rightPrefix)
Creates a new PgxFrame by adding the columns of the right frame to this frame, aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame.
|
abstract PgxFuture<PgxFrame> |
PgxFrame.joinAsync(PgxFrame right, java.lang.String leftJoinKeyColumn, java.lang.String rightJoinKeyColumn, java.lang.String leftPrefix, java.lang.String rightPrefix)
Creates a new PgxFrame by adding the columns of the right frame to this frame, aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame.
|
abstract PgxFuture<PgxFrame> |
PgxFrameReader.loadAsync(java.lang.String... uris)
trigger the async loading of the PgxFrame
|
PgxFuture<PgxFrame> |
PgxGenericFrameReader.loadAsync(java.lang.String... uris)
triggers the async loading of the PgxFrame
|
PgxFuture<PgxFrame> |
PgxCsvFrameReader.loadAsync(java.lang.String... uris)
trigger the async loading of the PgxFrame
|
PgxFuture<PgxFrame> |
PgxPgbFrameReader.loadAsync(java.lang.String... uris)
trigger the async loading of the PgxFrame
|
PgxFuture<PgxFrame> |
PgxDbFrameReader.loadAsync(java.lang.String... uris)
trigger the async loading of the PgxFrame
|
PgxFuture<PgxFrame> |
PgxGenericFrameReader.pgbAsync(java.lang.String... uris)
triggers the async loading of the pgb PgxFrame
|
PgxFuture<PgxFrame> |
PgxFrame.printAsync()
Prints all results to
System.out . |
PgxFuture<PgxFrame> |
PgxFrame.printAsync(long numRows)
Prints
numRows results to System.out . |
PgxFuture<PgxFrame> |
PgxFrame.printAsync(long numResults, long from)
Prints
numResults results from the frame to System.out . |
PgxFuture<PgxFrame> |
PgxFrame.printAsync(java.io.PrintStream printStream, long numResults, long from)
Prints the content of the frame
|
PgxFuture<PgxFrame> |
PgxFrame.renameColumnAsync(java.lang.String oldColumnName, java.lang.String newColumnName)
Returns a new PgxFrame in which the specified column is renamed as specified
|
PgxFuture<PgxFrame> |
PgxFrame.renameColumnInPlaceAsync(java.lang.String oldColumnName, java.lang.String newColumnName)
Modifies the PgxFrame by renaming the specified column is renamed as specified
|
PgxFuture<PgxFrame> |
PgxFrame.renameColumnsAsync(ColumnRenaming... columnsWithRenamings)
Returns a new PgxFrame in which the specified columns are renamed as specified
|
PgxFuture<PgxFrame> |
PgxFrame.renameColumnsInPlaceAsync(ColumnRenaming... columnsWithRenamings)
Modifies the PgxFrame to rename the specified columns as specified
|
PgxFuture<PgxFrame> |
PgxFrame.selectAsync(java.lang.String... columns)
Returns a new PgxFrame that contains only the specified columns
|
PgxFuture<PgxFrame> |
PgxFrame.selectInPlaceAsync(java.lang.String... columns)
Modifies the PgxFrame to contain only the specified columns
|
PgxFuture<PgxFrame> |
PgxFrame.tailAsync()
Extracts the last
DEFAULT_LIMIT rows of the frame and put them in a new frame |
PgxFuture<PgxFrame> |
PgxFrame.tailAsync(long numRows)
Extracts the numRows last rows of the frame and put them in a new frame
|
PgxFuture<PgxFrame> |
PgxFrame.tailInPlaceAsync()
Modifies the frame to keep the last
DEFAULT_LIMIT rows of the frame |
PgxFuture<PgxFrame> |
PgxFrame.tailInPlaceAsync(long numRows)
Modifies the frame to keep the last numRows rows of the frame
|
abstract PgxFuture<PgxFrame> |
PgxFrame.unionAsync(PgxFrame b, PgxFrame... others)
Creates a new PgxFrame by concatenating the rows of this frame with the rows of b and others.
|
Modifier and Type | Method and Description |
---|---|
PgxEdgeProviderFromFramesCreator |
PgxGraphFromFramesCreator.edgeProvider(java.lang.String providerName, java.lang.String sourceVertexProvider, java.lang.String destinationVertexProvider, PgxFrame frame)
Add a new edge provider to the graph creator
|
PgxEdgeProviderFromFramesCreator |
AbstractPgxEntityProviderFromFramesCreator.edgeProvider(java.lang.String providerName, java.lang.String sourceVertexProvider, java.lang.String destinationVertexProvider, PgxFrame frame)
Add a new edge provider to the underlying
PgxGraphFromFramesCreator |
oracle.pgx.api.frames.PgxEdgeTableFromFramesCreator |
PgxGraphFromFramesCreator.edgeTable(java.lang.String tableName, java.lang.String sourceVertexTable, java.lang.String destinationVertexTable, PgxFrame frame)
Deprecated.
since 21.3 - use
PgxGraphFromFramesCreator.edgeProvider(String, String, String, PgxFrame) instead |
oracle.pgx.api.frames.PgxEdgeTableFromFramesCreator |
AbstractPgxEntityProviderFromFramesCreator.edgeTable(java.lang.String tableName, java.lang.String sourceVertexTable, java.lang.String destinationVertexTable, PgxFrame frame)
Deprecated.
since 21.3 - use
AbstractPgxEntityProviderFromFramesCreator.vertexProvider(String, PgxFrame) instead |
PgxFrame |
PgxFrame.join(PgxFrame right, java.lang.String joinKeyColumn)
Creates a new PgxFrame by adding the columns of the right frame to this frame aligned on equality of entries in column joinKeyColumn.
|
PgxFrame |
PgxFrame.join(PgxFrame right, java.lang.String leftJoinKeyColumn, java.lang.String rightJoinKeyColumn)
Creates a new PgxFrame by adding the columns of the right frame to this frame aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame.
|
PgxFrame |
PgxFrame.join(PgxFrame right, java.lang.String joinKeyColumn, java.lang.String leftPrefix, java.lang.String rightPrefix)
Creates a new PgxFrame by adding the columns of the right frame to this frame, aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame.
|
PgxFrame |
PgxFrame.join(PgxFrame right, java.lang.String leftJoinKeyColumn, java.lang.String rightJoinKeyColumn, java.lang.String leftPrefix, java.lang.String rightPrefix)
Creates a new PgxFrame by adding the columns of the right frame to this frame, aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame.
|
PgxFuture<PgxFrame> |
PgxFrame.joinAsync(PgxFrame right, java.lang.String joinKeyColumn)
Creates a new PgxFrame by adding the columns of the right frame to this frame aligned on equality of entries in column joinKeyColumn.
|
PgxFuture<PgxFrame> |
PgxFrame.joinAsync(PgxFrame right, java.lang.String leftJoinKeyColumn, java.lang.String rightJoinKeyColumn)
Creates a new PgxFrame by adding the columns of the right frame to this frame aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame The resulting frame will contain the columns of this frame and the columns of right frame without any prefixes.
|
PgxFuture<PgxFrame> |
PgxFrame.joinAsync(PgxFrame right, java.lang.String joinKeyColumn, java.lang.String leftPrefix, java.lang.String rightPrefix)
Creates a new PgxFrame by adding the columns of the right frame to this frame, aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame.
|
abstract PgxFuture<PgxFrame> |
PgxFrame.joinAsync(PgxFrame right, java.lang.String leftJoinKeyColumn, java.lang.String rightJoinKeyColumn, java.lang.String leftPrefix, java.lang.String rightPrefix)
Creates a new PgxFrame by adding the columns of the right frame to this frame, aligned on equality of entries in column leftJoinKeyColumn for this frame and column rightJoinKeyColumn for the right frame.
|
PgxFrame |
PgxFrame.union(PgxFrame b, PgxFrame... others)
Creates a new PgxFrame by concatenating the rows of this frame with the rows of b and others.
|
PgxFrame |
PgxFrame.union(PgxFrame b, PgxFrame... others)
Creates a new PgxFrame by concatenating the rows of this frame with the rows of b and others.
|
abstract PgxFuture<PgxFrame> |
PgxFrame.unionAsync(PgxFrame b, PgxFrame... others)
Creates a new PgxFrame by concatenating the rows of this frame with the rows of b and others.
|
abstract PgxFuture<PgxFrame> |
PgxFrame.unionAsync(PgxFrame b, PgxFrame... others)
Creates a new PgxFrame by concatenating the rows of this frame with the rows of b and others.
|
PgxVertexProviderFromFramesCreator |
PgxGraphFromFramesCreator.vertexProvider(java.lang.String providerName, PgxFrame frame)
Add a new vertex provider to the graph creator
|
PgxVertexProviderFromFramesCreator |
AbstractPgxEntityProviderFromFramesCreator.vertexProvider(java.lang.String providerName, PgxFrame frame)
Add a new vertex provider to the underlying
PgxGraphFromFramesCreator |
oracle.pgx.api.frames.PgxVertexTableFromFramesCreator |
PgxGraphFromFramesCreator.vertexTable(java.lang.String tableName, PgxFrame frame)
Deprecated.
since 21.3 - use
PgxGraphFromFramesCreator.vertexProvider(String, PgxFrame) instead |
oracle.pgx.api.frames.PgxVertexTableFromFramesCreator |
AbstractPgxEntityProviderFromFramesCreator.vertexTable(java.lang.String tableName, PgxFrame frame)
Deprecated.
|
Constructor and Description |
---|
PgxCsvFrameStorer(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame) |
PgxDbFrameStorer(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame, java.util.function.Supplier<java.lang.String> keystorePathSupplier, java.util.function.Supplier<char[]> keystorePasswordSupplier) |
PgxGenericFrameStorer(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame, java.util.function.Supplier<java.lang.String> keystorePathSupplier, java.util.function.Supplier<char[]> keystorePasswordSupplier) |
PgxPgbFrameStorer(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame) |
Constructor and Description |
---|
PgxFrameBuilder(SessionContext sessionContext, oracle.pgx.api.internal.Core core, java.util.List<ColumnDescriptor> schema, java.util.function.Function<oracle.pgx.api.internal.FrameMetaData,PgxFrame> buildCallback)
Create a PgxFrameBuilder, this will also create a FrameBuilder on the server.
|
Modifier and Type | Method and Description |
---|---|
PgxFuture<PgxFrame> |
Pg2vecModel.computeSimilarsAsync(java.util.List<java.lang.Object> graphletIdObjects, int k)
Computes the top-k similar graphlets for a list of input graphlets
|
PgxFuture<PgxFrame> |
DeepWalkModel.computeSimilarsAsync(java.util.List<java.lang.Object> vertexIdObjects, int k)
Computes the top-k similar vertices for a list of input vertices
|
PgxFuture<PgxFrame> |
Pg2vecModel.computeSimilarsAsync(java.lang.Object graphletIdObject, int k)
Computes the top-k similar graphlets for a given graphlet
|
PgxFuture<PgxFrame> |
DeepWalkModel.computeSimilarsAsync(java.lang.Object vertexIdObject, int k)
Computes the top-k similar vertices for a given vertex
|
<ID> PgxFuture<PgxFrame> |
SupervisedGraphWiseModel.evaluateLabelsAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices)
Evaluates (macro averaged) classification performance statistics for the specified vertices.
|
<ID> PgxFuture<PgxFrame> |
SupervisedGraphWiseModel.evaluateLabelsAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices, float threshold)
Evaluates (macro averaged) classification performance statistics for the specified vertices.
|
PgxFuture<PgxFrame> |
Pg2vecModel.getTrainedGraphletVectorsAsync()
Gets the trained graphlet vectors for the current pg2vec model
|
PgxFuture<PgxFrame> |
DeepWalkModel.getTrainedVertexVectorsAsync()
Gets the trained vertex vectors for the current DeepWalk model
|
<ID> PgxFuture<PgxFrame> |
UnsupervisedGraphWiseModel.inferEmbeddingsAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices)
Infers the embeddings for the specified vertices.
|
<ID> PgxFuture<PgxFrame> |
SupervisedGraphWiseModel.inferEmbeddingsAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices)
Infers the embeddings for the specified vertices.
|
abstract <ID> PgxFuture<PgxFrame> |
GraphWiseModel.inferEmbeddingsAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices)
Infers the embeddings for the specified vertices.
|
PgxFuture<PgxFrame> |
Pg2vecModel.inferGraphletVectorAsync(PgxGraph graph)
Infers the vector of the input graphlet
|
PgxFuture<PgxFrame> |
Pg2vecModel.inferGraphletVectorBatchedAsync(PgxGraph graph)
Infers the vectors of the input graphlets
|
<ID> PgxFuture<PgxFrame> |
SupervisedGraphWiseModel.inferLabelsAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices)
Infers the labels for the specified vertices.
|
<ID> PgxFuture<PgxFrame> |
SupervisedGraphWiseModel.inferLabelsAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices, float threshold)
Infers the labels for the specified vertices.
|
<ID> PgxFuture<PgxFrame> |
SupervisedGraphWiseModel.inferLogitsAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices)
Infers the prediction logits for the specified vertices.
|