Package io.revealbi.core.data
Class RVPostgresDataSourceItem
java.lang.Object
io.revealbi.core.data.RVDataSourceItem
io.revealbi.core.data.RVSqlBasedDataSourceItem
io.revealbi.core.data.RVSqlPDSDataSourceItem
io.revealbi.core.data.RVPostgresDataSourceItem
- All Implemented Interfaces:
ICustomQuerySupport,IParameterizedCustomQuerySupport,IProcessDataOnServerDataSourceItem
public class RVPostgresDataSourceItem
extends RVSqlPDSDataSourceItem
implements IParameterizedCustomQuerySupport
PostgreSQL data source item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(Optional) name of the function to get data from, the function is expected to return a result set and might have multiple parameters.Parameters to be passed to the function, if there is such specified ingetFunctionName().(Optional) name of the stored procedure to get data from.Parameters to be passed to the stored procedure, if there is such specified ingetProcedure().Name of the schema the referenced table belongs to.voidsetCustomQueryParameters(HashMap<String, Object> value) setFunctionName(String value) (Optional) name of the function to get data from, the function is expected to return a result set and might have multiple parameters.setFunctionParameters(HashMap<String, Object> value) Parameters to be passed to the function, if there is such specified ingetFunctionName().setProcedure(String value) (Optional) name of the stored procedure to get data from.setProcedureParameters(HashMap<String, Object> value) Parameters to be passed to the stored procedure, if there is such specified ingetProcedure().Name of the schema the referenced table belongs to.Methods inherited from class io.revealbi.core.data.RVSqlPDSDataSourceItem
getProcessDataOnServer, setProcessDataOnServerMethods inherited from class io.revealbi.core.data.RVSqlBasedDataSourceItem
getCustomQuery, getDatabase, getTable, setCustomQuery, setDatabase, setTableMethods inherited from class io.revealbi.core.data.RVDataSourceItem
getDataSource, getDefaultRefreshRate, getDescription, getId, getSubtitle, getTitle, setDataSource, setDefaultRefreshRate, setDescription, setId, setSubtitle, setTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.revealbi.core.data.ICustomQuerySupport
getCustomQuery, setCustomQuery
-
Constructor Details
-
RVPostgresDataSourceItem
-
-
Method Details
-
setSchema
Name of the schema the referenced table belongs to.- Parameters:
value-- Returns:
-
getSchema
Name of the schema the referenced table belongs to.- Returns:
-
setFunctionName
(Optional) name of the function to get data from, the function is expected to return a result set and might have multiple parameters.- Parameters:
value-- Returns:
-
getFunctionName
(Optional) name of the function to get data from, the function is expected to return a result set and might have multiple parameters.- Returns:
-
setFunctionParameters
Parameters to be passed to the function, if there is such specified ingetFunctionName().- Parameters:
value-- Returns:
-
getFunctionParameters
Parameters to be passed to the function, if there is such specified ingetFunctionName().- Returns:
-
setProcedure
(Optional) name of the stored procedure to get data from. The procedure is expected to have a REFCURSOR inout parameter and might have additional input parameters.- Parameters:
value-- Returns:
-
getProcedure
(Optional) name of the stored procedure to get data from. The procedure is expected to have a REFCURSOR inout parameter and might have additional input parameters.- Returns:
-
setProcedureParameters
Parameters to be passed to the stored procedure, if there is such specified ingetProcedure().- Parameters:
value-- Returns:
-
getProcedureParameters
Parameters to be passed to the stored procedure, if there is such specified ingetProcedure().- Returns:
-
setCustomQueryParameters
- Specified by:
setCustomQueryParametersin interfaceIParameterizedCustomQuerySupport
-
getCustomQueryParameters
- Specified by:
getCustomQueryParametersin interfaceIParameterizedCustomQuerySupport
-