Enum DatasourceTypes
- java.lang.Object
-
- java.lang.Enum<DatasourceTypes>
-
- io.dataease.plugins.common.constants.DatasourceTypes
-
- All Implemented Interfaces:
Serializable,Comparable<DatasourceTypes>
public enum DatasourceTypes extends Enum<DatasourceTypes>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAliasPrefix()StringgetAliasSuffix()DatasourceCalculationModegetCalculationMode()List<String>getCharset()DatabaseClassificationgetDatabaseClassification()StringgetExtraParams()StringgetKeywordPrefix()StringgetKeywordSuffix()StringgetName()List<String>getTargetCharset()StringgetType()booleanisDatasource()booleanisJdbc()static DatasourceTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static DatasourceTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
mysql
public static final DatasourceTypes mysql
-
TiDB
public static final DatasourceTypes TiDB
-
hive
public static final DatasourceTypes hive
-
impala
public static final DatasourceTypes impala
-
mariadb
public static final DatasourceTypes mariadb
-
StarRocks
public static final DatasourceTypes StarRocks
-
ds_doris
public static final DatasourceTypes ds_doris
-
pg
public static final DatasourceTypes pg
-
kingbase
public static final DatasourceTypes kingbase
-
sqlServer
public static final DatasourceTypes sqlServer
-
oracle
public static final DatasourceTypes oracle
-
mongo
public static final DatasourceTypes mongo
-
ck
public static final DatasourceTypes ck
-
db2
public static final DatasourceTypes db2
-
redshift
public static final DatasourceTypes redshift
-
es
public static final DatasourceTypes es
-
api
public static final DatasourceTypes api
-
excel
public static final DatasourceTypes excel
-
engine_doris
public static final DatasourceTypes engine_doris
-
engine_mysql
public static final DatasourceTypes engine_mysql
-
-
Method Detail
-
values
public static DatasourceTypes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DatasourceTypes c : DatasourceTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatasourceTypes valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getType
public String getType()
-
getName
public String getName()
-
getKeywordPrefix
public String getKeywordPrefix()
-
getKeywordSuffix
public String getKeywordSuffix()
-
getAliasPrefix
public String getAliasPrefix()
-
getAliasSuffix
public String getAliasSuffix()
-
getExtraParams
public String getExtraParams()
-
getCalculationMode
public DatasourceCalculationMode getCalculationMode()
-
isDatasource
public boolean isDatasource()
-
isJdbc
public boolean isJdbc()
-
getDatabaseClassification
public DatabaseClassification getDatabaseClassification()
-
-