public class TileController extends ChartController
Constructor and Description |
---|
TileController() |
Modifier and Type | Method and Description |
---|---|
String |
draw(String id)
Render a banner
|
String |
preview(String buffer)
Preview a banner tile
|
String |
previewSeries(javax.servlet.http.HttpServletRequest request,
String buffer)
Preview a series JSON for banner tile
|
create, describe, save
public String draw(String id)
draw
in class ChartController
id
- Reference ID of Chart stored in HBase chukwa_meta table.public String preview(String buffer)
preview
in class ChartController
buffer
- is tile object in JSONpublic String previewSeries(@Context javax.servlet.http.HttpServletRequest request, String buffer)
previewSeries
in class ChartController
request
- HTTP request objectbuffer
- is banner tile configurationExamples.CPU_SERIES_METADATA
Copyright © 2016 Apache Software Foundation. All Rights Reserved.