Package org.dashbuilder.dataprovider
Class SQLProviderType
- java.lang.Object
-
- org.dashbuilder.dataprovider.AbstractProviderType<SQLDataSetDef>
-
- org.dashbuilder.dataprovider.SQLProviderType
-
- All Implemented Interfaces:
DataSetProviderType<SQLDataSetDef>
public class SQLProviderType extends AbstractProviderType<SQLDataSetDef>
For accessing data sets defined as an SQL query over an existing data source.
-
-
Field Summary
-
Fields inherited from interface org.dashbuilder.dataprovider.DataSetProviderType
BEAN, CSV, ELASTICSEARCH, KAFKA, PROMETHEUS, SQL, STATIC
-
-
Constructor Summary
Constructors Constructor Description SQLProviderType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLDataSetDefcreateDataSetDef()Create a brand newDataSetDefinstance for this given provider type.DataSetDefJSONMarshallerExt<SQLDataSetDef>getJsonMarshaller()A marshaller interface used during the JSON read/write ofDataSetDefinstances.StringgetName()The type's name.-
Methods inherited from class org.dashbuilder.dataprovider.AbstractProviderType
equals
-
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:DataSetProviderTypeThe type's name. It must be unique and do not clash with other existing types.
-
createDataSetDef
public SQLDataSetDef createDataSetDef()
Description copied from interface:DataSetProviderTypeCreate a brand newDataSetDefinstance for this given provider type.
-
getJsonMarshaller
public DataSetDefJSONMarshallerExt<SQLDataSetDef> getJsonMarshaller()
Description copied from interface:DataSetProviderTypeA marshaller interface used during the JSON read/write ofDataSetDefinstances.
-
-