2.1.0
User Documentation for Apache MADlib
apsp.sql_in File Reference

SQL functions for graph analytics. More...

Functions

void graph_apsp (text vertex_table, text vertex_id, text edge_table, text edge_args, text out_table, text grouping_cols)
 
void graph_apsp (text vertex_table, text vertex_id, text edge_table, text edge_args, text out_table)
 
void graph_apsp_get_path (text apsp_table, bigint source_vertex, bigint dest_vertex, text path_table)
 
void graph_apsp_get_path (text apsp_table, bigint[] source_vertex, bigint[] dest_vertex, text path_table)
 
varchar graph_apsp (varchar message)
 
varchar graph_apsp ()
 

Detailed Description

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Date
Nov 2016
See also
Provides all pairs shortest path algorithm.

Function Documentation

◆ graph_apsp() [1/4]

void graph_apsp ( text  vertex_table,
text  vertex_id,
text  edge_table,
text  edge_args,
text  out_table,
text  grouping_cols 
)

◆ graph_apsp() [2/4]

void graph_apsp ( text  vertex_table,
text  vertex_id,
text  edge_table,
text  edge_args,
text  out_table 
)

◆ graph_apsp() [3/4]

varchar graph_apsp ( varchar  message)

◆ graph_apsp() [4/4]

varchar graph_apsp ( )

◆ graph_apsp_get_path() [1/2]

void graph_apsp_get_path ( text  apsp_table,
bigint  source_vertex,
bigint  dest_vertex,
text  path_table 
)

◆ graph_apsp_get_path() [2/2]

void graph_apsp_get_path ( text  apsp_table,
bigint []  source_vertex,
bigint []  dest_vertex,
text  path_table 
)