Package com.appliedolap.essbase.impl
Class EssDrillthroughImpl
java.lang.Object
com.appliedolap.essbase.AbstractEssObject
com.appliedolap.essbase.impl.EssDrillthroughImpl
- All Implemented Interfaces:
EssDrillthrough,EssObject
Represents a drill-through report on a given cube.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classOptions for drill-through report execution.static classNested classes/interfaces inherited from interface com.appliedolap.essbase.EssDrillthrough
EssDrillthrough.DrillthroughTypeNested classes/interfaces inherited from interface com.appliedolap.essbase.EssObject
EssObject.Type -
Field Summary
Fields inherited from class com.appliedolap.essbase.AbstractEssObject
api -
Constructor Summary
ConstructorsConstructorDescriptionEssDrillthroughImpl(ApiContext api, EssCube cube, com.appliedolap.essbase.client.model.ReportBean reportBean) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deletes this drill-through reportGets information about report column mappings.Gets a list of column names for this report.getCube()Returns the cube that owns this drill-through object.Gets the name of the data source for this report.Get the drillable regions.Gets the type of report, which will be eitherDATASOURCEorURL.getName()Gets the name of this drill-through report.Gets information about parameter mappings.getType()Gets the type of this object.getUrl()Gets the URL of this drill-through report (URL-style only!).booleanGets the useTempTables parameter for this report which is only valid using Oracle DB.voidrun(Map<String, String> pov, OutputStream outputStream) Executes a drill-through request for the given POV and sends output to the given output stream.voidrun(Map<String, String> pov, OutputStream outputStream, EssDrillthroughImpl.Options options) Executes a drill-through request for the given POV and sends output to the given output stream.voidsave()Saves updates to this reportvoidsetColumnMappings(Map<String, EssDrillthroughImpl.ColumnMapping> columnMappings) Sets a map of column mapping objects to update.voidsetColumns(List<String> columns) Sets the list of column names for this report.voidsetDataSourceName(String dataSourceName) Sets the name of the data source for this report.voidsetDrillableRegions(List<String> drillableRegions) Sets the drillable regions for this reportvoidsetRunTimeParameters(Map<String, EssDrillthroughImpl.Parameter> parameters) Sets a map of parameter mappings to update.voidSets the drill (again, likely to change soon)voidsetUseTempTables(boolean useTempTables) Sets the useTempTables parameter for this report which is only valid using Oracle DB.
-
Constructor Details
-
EssDrillthroughImpl
public EssDrillthroughImpl(ApiContext api, EssCube cube, com.appliedolap.essbase.client.model.ReportBean reportBean)
-
-
Method Details
-
getCube
Description copied from interface:EssDrillthroughReturns the cube that owns this drill-through object.- Specified by:
getCubein interfaceEssDrillthrough- Returns:
- the parent cube for this drill-through definition
-
getName
Description copied from interface:EssDrillthroughGets the name of this drill-through report.- Specified by:
getNamein interfaceEssDrillthrough- Specified by:
getNamein interfaceEssObject- Returns:
- the drill-through name
-
getType
Description copied from interface:EssObjectGets the type of this object.- Specified by:
getTypein interfaceEssDrillthrough- Specified by:
getTypein interfaceEssObject- Returns:
- the object type
-
getUrl
Description copied from interface:EssDrillthroughGets the URL of this drill-through report (URL-style only!). This API will likely change soon as support for different drill-through types is built out.- Specified by:
getUrlin interfaceEssDrillthrough- Returns:
- the drill URL if there is one, null otherwise, such as on data source reports
-
getDrillthroughType
Description copied from interface:EssDrillthroughGets the type of report, which will be eitherDATASOURCEorURL. This method causes a fetch to the drill-through report definition endpoint if it hasn't already been fetched.- Specified by:
getDrillthroughTypein interfaceEssDrillthrough- Returns:
- the type
- See Also:
-
setUrl
Description copied from interface:EssDrillthroughSets the drill (again, likely to change soon)- Specified by:
setUrlin interfaceEssDrillthrough- Parameters:
url- the drill URL
-
getDrillableRegions
Description copied from interface:EssDrillthroughGet the drillable regions.- Specified by:
getDrillableRegionsin interfaceEssDrillthrough- Returns:
- the list of drillable regions
-
setDrillableRegions
Description copied from interface:EssDrillthroughSets the drillable regions for this report- Specified by:
setDrillableRegionsin interfaceEssDrillthrough- Parameters:
drillableRegions- the drillable regions
-
isUseTempTables
public boolean isUseTempTables()Description copied from interface:EssDrillthroughGets the useTempTables parameter for this report which is only valid using Oracle DB.- Specified by:
isUseTempTablesin interfaceEssDrillthrough- Returns:
- the use temp tables setting
-
setUseTempTables
public void setUseTempTables(boolean useTempTables) Description copied from interface:EssDrillthroughSets the useTempTables parameter for this report which is only valid using Oracle DB.- Specified by:
setUseTempTablesin interfaceEssDrillthrough- Parameters:
useTempTables- the use temp tables setting
-
getDataSourceName
Description copied from interface:EssDrillthroughGets the name of the data source for this report.- Specified by:
getDataSourceNamein interfaceEssDrillthrough- Returns:
- the name of the data source.
-
setDataSourceName
Description copied from interface:EssDrillthroughSets the name of the data source for this report.- Specified by:
setDataSourceNamein interfaceEssDrillthrough- Parameters:
dataSourceName- the name of the data source
-
getColumns
Gets a list of column names for this report.- Returns:
- a list of column names for this report.
-
setColumns
Sets the list of column names for this report.- Parameters:
columns- a list of column names for this report
-
getColumnMappings
Gets information about report column mappings.- Returns:
- information about report column mappings.
-
setColumnMappings
Sets a map of column mapping objects to update.- Parameters:
columnMappings- a map of column mapping objects to update
-
getParameterMappings
Gets information about parameter mappings.- Returns:
- information about parameter mappings.
-
setRunTimeParameters
Sets a map of parameter mappings to update.- Parameters:
parameters- a map of parameter mappings to update
-
save
public void save()Description copied from interface:EssDrillthroughSaves updates to this report- Specified by:
savein interfaceEssDrillthrough
-
delete
public void delete()Description copied from interface:EssDrillthroughDeletes this drill-through report- Specified by:
deletein interfaceEssDrillthrough
-
run
Executes a drill-through request for the given POV and sends output to the given output stream. The defaultEssDrillthroughImpl.Optionswill be used for output.- Parameters:
pov- a mappings of dimensions to members representing the drilled cell.outputStream- the stream to output to
-
run
public void run(Map<String, String> pov, OutputStream outputStream, EssDrillthroughImpl.Options options) Executes a drill-through request for the given POV and sends output to the given output stream.- Parameters:
pov- a mappings of dimensions to members representing the drilled cell.options- custom options for output generationoutputStream- the stream to output to
-