Class PinotBrokerDebug
- java.lang.Object
-
- org.apache.pinot.broker.api.resources.PinotBrokerDebug
-
@Path("/") public class PinotBrokerDebug extends Object
-
-
Constructor Summary
Constructors Constructor Description PinotBrokerDebug()
-
Method Summary
Modifier and Type Method Description Map<String,Map<ServerInstance,List<String>>>getRoutingTable(String tableName)Map<ServerInstance,List<String>>getRoutingTableForQuery(String query)StringgetServerRoutingStats()API to get a snapshot of ServerRoutingStatsEntry for all the servers.TimeBoundaryInfogetTimeBoundary(String tableName)
-
-
-
Method Detail
-
getTimeBoundary
@GET @Produces("application/json") @Path("/debug/timeBoundary/{tableName}") public TimeBoundaryInfo getTimeBoundary(@PathParam("tableName") String tableName)
-
getRoutingTable
@GET @Produces("application/json") @Path("/debug/routingTable/{tableName}") public Map<String,Map<ServerInstance,List<String>>> getRoutingTable(@PathParam("tableName") String tableName)
-
getRoutingTableForQuery
@GET @Produces("application/json") @Path("/debug/routingTable/sql") public Map<ServerInstance,List<String>> getRoutingTableForQuery(@QueryParam("query") String query)
-
getServerRoutingStats
@GET @Produces("application/json") @Path("/debug/serverRoutingStats") public String getServerRoutingStats()API to get a snapshot of ServerRoutingStatsEntry for all the servers.- Returns:
- String containing server name and the associated routing stats.
-
-