Class TablesResource
- java.lang.Object
-
- org.apache.accumulo.monitor.rest.tables.TablesResource
-
@Path("/tables") @Produces({"application/json","application/xml"}) public class TablesResource extends ObjectGenerates a tables list from the Monitor as a JSON object- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description TablesResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TabletServersgetParticipatingTabletServers(@NotNull @Pattern(regexp="[!+]?\\w+") String tableIdStr)Generates a list of participating tservers for a tableTableInformationListgetTables()Generates a list of all the tablesstatic TableInformationListgetTables(Monitor monitor)
-
-
-
Method Detail
-
getTables
@GET public TableInformationList getTables()
Generates a list of all the tables- Returns:
- list with all tables
-
getTables
public static TableInformationList getTables(Monitor monitor)
-
getParticipatingTabletServers
@Path("{tableId}") @GET public TabletServers getParticipatingTabletServers(@PathParam("tableId") @NotNull @Pattern(regexp="[!+]?\\w+") @NotNull @Pattern(regexp="[!+]?\\w+") String tableIdStr)Generates a list of participating tservers for a table- Parameters:
tableIdStr- Table ID to find participating tservers- Returns:
- List of participating tservers
-
-