Hundred-Billion-Edge Graph
API
The following APIs are supported for graphs of the hundred-billion-edge type:
- Querying Vertex Details
- Querying Edge Details
- Querying Vertex Data in Batches
- Querying Edge Data in Batches
- Adding Vertices in Batches
- Adding Edges in Batches
- Updating Vertex Properties in Batches
- Updating Edge Properties in Batches
- Deleting Vertices in Batches
- Deleting Edges in Batches
- Querying Job Status on the Service Plane
- Querying the Job List
- Querying Graph Metadata Details
- Adding Properties
- Querying a Property
- Querying the Property List
- Adding a Label
- Updating a Label
- Querying Labels
- Creating an Index
- Deleting an Index
- Querying Indexes
- Querying General Information About a Graph
- Querying the Graph Version
- Shortest Path
- Cypher Query
Supported Data Types
Type |
Description |
---|---|
char |
Character |
float |
Float type (32-bit float) |
double |
Double floating point type (64-bit float point) |
bool |
Boolean type. Available values are 0/1 and true/false. |
long |
Long integer (value range: -2^63 to 2^63-1) |
int |
Integer (value range: -2^31 to 2^31-1) |
date |
Date. Currently, the following formats are supported:
NOTE:
The value of MM or DD must consist of two digits. If the day or month number contains only one digit, add 0 before it, for example, 05/01. |
string |
Variable-length string |
Data Import Restrictions
For details about how to import data, see .
The restrictions on importing hundred-billion-edge graphs are as follows:
- Importing Data Concurrently
Multiple data files can be imported at the same time. To improve the import speed, split a large file into OBS files that each does not exceed 5 GB.
- Uploading Import Logs to OBS
Set the logDir parameter to save import logs where you can find the error cause.
- Importing Edge Data
If you import only edges of a hundred-billion-edge graph, DLI cannot automatically generate vertices for the graph. If only edges are imported, you cannot query vertices or access the graph from vertices. You are advised to import vertex data too.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot