2.1.0
User Documentation for Apache MADlib
bfs.sql_in File Reference

SQL functions for graph analytics. More...

Functions

void graph_bfs (text vertex_table, text vertex_id, text edge_table, text edge_args, bigint source_vertex, text out_table, int max_distance, boolean directed, text grouping_cols)
 
void graph_bfs (text vertex_table, text vertex_id, text edge_table, text edge_args, bigint source_vertex, text out_table, int max_distance, boolean directed)
 
void graph_bfs (text vertex_table, text vertex_id, text edge_table, text edge_args, bigint source_vertex, text out_table, int max_distance)
 
void graph_bfs (text vertex_table, text vertex_id, text edge_table, text edge_args, bigint source_vertex, text out_table)
 
varchar graph_bfs (varchar message)
 
varchar graph_bfs ()
 

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
Jun 2017
See also
Provides a breadth first search graph algorithm.

Function Documentation

◆ graph_bfs() [1/6]

void graph_bfs ( text  vertex_table,
text  vertex_id,
text  edge_table,
text  edge_args,
bigint  source_vertex,
text  out_table,
int  max_distance,
boolean  directed,
text  grouping_cols 
)

◆ graph_bfs() [2/6]

void graph_bfs ( text  vertex_table,
text  vertex_id,
text  edge_table,
text  edge_args,
bigint  source_vertex,
text  out_table,
int  max_distance,
boolean  directed 
)

◆ graph_bfs() [3/6]

void graph_bfs ( text  vertex_table,
text  vertex_id,
text  edge_table,
text  edge_args,
bigint  source_vertex,
text  out_table,
int  max_distance 
)

◆ graph_bfs() [4/6]

void graph_bfs ( text  vertex_table,
text  vertex_id,
text  edge_table,
text  edge_args,
bigint  source_vertex,
text  out_table 
)

◆ graph_bfs() [5/6]

varchar graph_bfs ( varchar  message)

◆ graph_bfs() [6/6]

varchar graph_bfs ( )