Class PinotBrokerDebug


  • @Path("/")
    public class PinotBrokerDebug
    extends Object
    • Constructor Detail

      • PinotBrokerDebug

        public PinotBrokerDebug()
    • 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,
                                                                              @Context
                                                                              javax.ws.rs.core.HttpHeaders httpHeaders)
      • 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.