Version 1.4
SELECT * FROM AllPairsShortestPath (
ON vertices_table AS vertices PARTITION BY vertex_key_column [,...]
ON edges_table AS edges PARTITION BY source_vertex_key_column [,...]
[ ON sources_table AS sources PARTITION BY source_vertex_key_column [,...] ]
[ ON targets_table AS targets PARTITION BY target_vertex_key_column [,...] ]
USING
TargetKey ({ 'target_key_column' | target_key_column_range }[,...])
[ EdgeWeight ('edge_weight') ]
[ Directed ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
[ MaxDistance (max_distance) ]
[ GroupSize (group_size) ]
) AS alias;