|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lens.server.ui.MetastoreUIResource
@Path(value="metastoreapi") public class MetastoreUIResource
metastore UI resource api
This provides api for all things metastore UI.
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log |
LOG
|
| Constructor Summary | |
|---|---|
MetastoreUIResource()
|
|
| Method Summary | |
|---|---|
String |
getAllTables(UUID publicId)
Get all Cube names, Dimension Table names and Storage names |
String |
getDescription(UUID publicId,
String type,
String name)
Gets metadata of a cube or dimension |
String |
getFilterResults(UUID publicId,
String keyword)
Get all Table and column names and types which contain the search word |
String |
getMessage()
API to know if metastore service is up and running |
CubeMetastoreService |
getSvc()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log LOG
| Constructor Detail |
|---|
public MetastoreUIResource()
| Method Detail |
|---|
public CubeMetastoreService getSvc()
@GET @Produces(value="text/plain") public String getMessage()
@GET
@Path(value="tables")
@Produces(value={"text/html","application/json","application/xml"})
public String getAllTables(@QueryParam(value="publicId")
UUID publicId)
publicId - The publicId for the session in which user is working
LensException, - JSONException
@GET
@Path(value="tables/{name}")
@Produces(value={"text/html","application/json","application/xml"})
public String getDescription(@QueryParam(value="publicId")
UUID publicId,
@QueryParam(value="type")
String type,
@PathParam(value="name")
String name)
publicId - The publicId for the session in which user is workingname - name of cube or dimension to be described
LensException, - JSONException
@GET
@Path(value="searchablefields")
@Produces(value={"text/html","application/json","application/xml"})
public String getFilterResults(@QueryParam(value="publicId")
UUID publicId,
@QueryParam(value="keyword")
String keyword)
publicId - The publicId for the session in which user is workingkeyword - keyword to be searched
LensException, - JSONException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||