-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat] Improve APIs of the Spark library to be more concise for easily importing/exporting/transforming data at the graph level #88
Labels
enhancement
New feature or request
Comments
acezen
changed the title
[Feat] Concise API for
[Feat] Improve API of Spark library more concise for users easy to import/export data from/to or transform at graph level
Feb 7, 2023
lixueclaire
changed the title
[Feat] Improve API of Spark library more concise for users easy to import/export data from/to or transform at graph level
[Feat] Improve APIs of the Spark library to be more concise for easily importing/exporting/transforming data at the graph level
Feb 15, 2023
Read GAR file to DataFramesobject GraphReader {
/*
* Input: graph yaml path
* Output: vertex DataFrames and edge DataFrames
* /
def read(graph_yaml_path): Pair[Map[String, DataFrame], Map[String, Map[String, DataFrame]]]
/*
* Input: graph info
* Output: vertex DataFrames and edge DataFrames
* /
def read(graph_info): Pair[Map[String, DataFrame], Map[String, Map[adj_list_type, DataFrame]]]
} Write a set of DataFrames to GAR filesobject GraphWriter {
/*
* Input: graph yaml path and a set of DataFrames
* Status: success or fail
* /
def write(graph_yaml_path, vertexDataFrames: Map[String, DataFrame], edgeDataFrame: Map[String, DataFrame]): Status
/*
* Input: graph info and a set of DataFrames
* Status: success or fail
* /
def write(graph_info, vertexDataFrames: Map[String, DataFrame], edgeDataFrame: Map[String, DataFrame]): Status
} Transform graph from one type of GAR to another type of GARobject GraphTransFormer {
/*
* Input: source and dest graph yaml path
* Status: success or fail
* /
def transform(source_graph_yaml_path, dest_graph_yaml_path): Status
/*
* Input: source and dest graph info
* Status: success or fail
* /
def transform(source_graph_info, dest_graph_info): Status
} |
9 tasks
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
as title
Describe the solution you'd like
Proposal TBF
The text was updated successfully, but these errors were encountered: