mirror of https://gitee.com/bigwinds/arangodb
Removed now obsolete function getAllEdgesOnCoordinator in ClusterMethods
This commit is contained in:
parent
be32214554
commit
5ba68d76e5
|
@ -1568,23 +1568,9 @@ int getFilteredDocumentsOnCoordinator(
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief get all edges on coordinator
|
||||
/// @brief get all edges on coordinator using a Traverser Filter
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int getAllEdgesOnCoordinator(
|
||||
std::string const& dbname, std::string const& collname,
|
||||
std::string const& vertex, TRI_edge_direction_e const& direction,
|
||||
arangodb::GeneralResponse::ResponseCode& responseCode,
|
||||
std::string& contentType, std::string& resultBody) {
|
||||
arangodb::basics::Json result(arangodb::basics::Json::Object);
|
||||
std::vector<traverser::TraverserExpression*> expTmp;
|
||||
int res =
|
||||
getFilteredEdgesOnCoordinator(dbname, collname, vertex, direction, expTmp,
|
||||
responseCode, contentType, result);
|
||||
resultBody = arangodb::basics::JsonHelper::toString(result.json());
|
||||
return res;
|
||||
}
|
||||
|
||||
int getFilteredEdgesOnCoordinator(
|
||||
std::string const& dbname, std::string const& collname,
|
||||
std::string const& vertex, TRI_edge_direction_e const& direction,
|
||||
|
|
|
@ -141,16 +141,6 @@ int getFilteredDocumentsOnCoordinator(
|
|||
std::unordered_set<std::string>& documentIds,
|
||||
std::unordered_map<std::string, std::shared_ptr<arangodb::velocypack::Buffer<uint8_t>>>& result);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief get all edges in a coordinator
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int getAllEdgesOnCoordinator(
|
||||
std::string const& dbname, std::string const& collname,
|
||||
std::string const& vertex, TRI_edge_direction_e const& direction,
|
||||
arangodb::GeneralResponse::ResponseCode& responseCode,
|
||||
std::string& contentType, std::string& resultBody);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief get a filtered set of edges on Coordinator.
|
||||
/// Also returns the result in Json
|
||||
|
|
Loading…
Reference in New Issue