public static class CqQuery.ChartOptionsClass extends Object implements CqQuery.ChartOptions
Using a class instance creation expression, for example, one could define a ChartOptions object for requesting a row limit of 10000 as follows...
ChartOptions TEN_THOUSAND_ROWS = new ChartOptionsClass(){
public Long getRowNumberLimit() { return 10000; };
};
CqQuery.ChartOptions.ImageFormat| Constructor and Description |
|---|
CqQuery.ChartOptionsClass() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getHeight()
Returns the requested height of the chart image in pixels.
|
CqQuery.ChartOptions.ImageFormat |
getImageFormat()
Returns the compression format requested for the chart image.
|
Boolean |
getIsCompressionOptimized()
Returns whether or not the compression of the image should be
optimized.
|
Boolean |
getIsGreyScale()
Returns whether the chart image is to be rendered in grey scale or
color.
|
Boolean |
getIsInterlaced()
Returns whether or not a PNG image should be interlaced.
|
Boolean |
getIsProgressive()
Returns whether or not a JPEG image is to use progressive
compression.
|
Integer |
getQuality()
Returns the requested quality of JPEG compression, expressed as an
integer between 1 (maximum compression) and 100 (maximum fidelity).
|
PropertyRequestItem.PropertyRequest |
getQueryPropertyRequest() |
Long |
getRowNumberLimit() |
Long |
getWidth()
Returns the requested width of the chart image.
|
public CqQuery.ChartOptionsClass()
public Long getHeight()
CqQuery.ChartOptionsgetHeight in interface CqQuery.ChartOptionspublic CqQuery.ChartOptions.ImageFormat getImageFormat()
CqQuery.ChartOptionsgetImageFormat in interface CqQuery.ChartOptionspublic Boolean getIsCompressionOptimized()
CqQuery.ChartOptionsgetIsCompressionOptimized in interface CqQuery.ChartOptionspublic Boolean getIsGreyScale()
CqQuery.ChartOptionsgetIsGreyScale in interface CqQuery.ChartOptionspublic Boolean getIsInterlaced()
CqQuery.ChartOptionsgetIsInterlaced in interface CqQuery.ChartOptionspublic Boolean getIsProgressive()
CqQuery.ChartOptionsgetIsProgressive in interface CqQuery.ChartOptionspublic Integer getQuality()
CqQuery.ChartOptionsgetQuality in interface CqQuery.ChartOptionspublic PropertyRequestItem.PropertyRequest getQueryPropertyRequest()
getQueryPropertyRequest in interface CqQuery.CommonOptionsCqResultSet.getQuery()public Long getRowNumberLimit()
getRowNumberLimit in interface CqQuery.CommonOptionstargetRow parameter is 1. In general,
the maximum number of rows returned by an execution of the
query will be the smallest of
maxRows parameter,
1+getRowNumberLimit()-targetRow, and
1+CqResultSet.getRowNumberHardLimit()-targetRows
CqResultSet.getRowNumberHardLimit(),
CqResultSet.getRowNumberSoftLimit(),
CqResultSet.isRowNumberLimitExceeded()public Long getWidth()
CqQuery.ChartOptionsgetWidth in interface CqQuery.ChartOptionsCopyright © IBM 2018. All rights reserved.