class TableManagerResource {

    @POST
    @Timed
    @ApiOperation("Save Table")
    public Response save(@Valid final Table table, @QueryParam("forceCreate") @DefaultValue("false") boolean forceCreate) {
        table.setName(ElasticsearchUtils.getValidTableName(table.getName()));
        tableManager.save(table, forceCreate);
        return Response.ok(table)
                .build();
    }

    @Inject public  TableManagerResource(TableManager tableManager);

}