Package gudusoft.gsqlparser
Enum EDbVendor
- All Implemented Interfaces:
Serializable,Comparable<EDbVendor>,java.lang.constant.Constable
Database vendors supported:
No specific engine for Microsoft ACCESS
Database engine not supported:
dbvmssql,dbvoracle,dbvmysql,dbvdb2,
dbvsybase, dbvinformix,dbvpostgresql,dbvteradata,
dbvmdx,dbvnetezza,dbvhive,dbvgreenplum,dbvredshift
No specific engine for Microsoft ACCESS
dbvaccess, use dbvmssql instead.
Database engine not supported:
dbvgeneric,dbvfirebird,dbvansi,dbvodbc-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic EDbVendorGet the database vendor from a string representationString[]Get all string representations of this database vendorstatic String[]Returns an array of strings representing all database vendors using their primary aliases (first alias), sorted alphabeticallystatic String[]getAllVendorAliases(boolean implementedOnly) Returns an array of strings representing database vendors using their primary aliases (first alias), sorted alphabeticallyGet the description of this database vendorGet the primary string representation of this database vendorintGet the implementation status of this database vendorbooleanCheck if this database vendor is implementedbooleanmatchesAlias(String alias) Check if a string representation corresponds to this database vendorstatic EDbVendorReturns the enum constant of this type with the specified name.static EDbVendorvalueOfWithDefault(String alias) Get the database vendor from a string representation, returning dbvoracle as default if not foundstatic EDbVendor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
dbvaccess
-
dbvansi
-
dbvathena
-
dbvazuresql
-
dbvbigquery
-
dbvclickhouse
-
dbvcouchbase
-
dbvdax
-
dbvdb2
-
dbvexasol
-
dbvfirebird
-
dbvgeneric
-
dbvgreenplum
-
dbvhana
-
dbvhive
-
dbvimpala
-
dbvinformix
-
dbvmdx
-
dbvmysql
-
dbvmssql
-
dbvnetezza
-
dbvodbc
-
dbvopenedge
-
dbvoracle
-
dbvpostgresql
-
dbvpresto
-
dbvredshift
-
dbvsnowflake
-
dbvsoql
-
dbvsparksql
-
dbvsybase
-
dbvteradata
-
dbvtrino
-
dbvvertica
-
dbvdatabricks
-
dbvgaussdb
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getPrimaryAlias
Get the primary string representation of this database vendor- Returns:
- the primary alias (first in the list)
-
getAliases
Get all string representations of this database vendor- Returns:
- array of all aliases
-
getDescription
Get the description of this database vendor- Returns:
- the description
-
getStatus
Get the implementation status of this database vendor- Returns:
- 0 for not implemented, 1 for implemented
-
isImplemented
Check if this database vendor is implemented- Returns:
- true if implemented, false otherwise
-
fromAlias
Get the database vendor from a string representation- Parameters:
alias- the string representation- Returns:
- the corresponding database vendor or null if not found
-
valueOfWithDefault
Get the database vendor from a string representation, returning dbvoracle as default if not found- Parameters:
alias- the string representation- Returns:
- the corresponding database vendor or dbvoracle if not found
-
getAllVendorAliases
Returns an array of strings representing all database vendors using their primary aliases (first alias), sorted alphabetically- Returns:
- array of all primary database vendor aliases
-
getAllVendorAliases
Returns an array of strings representing database vendors using their primary aliases (first alias), sorted alphabetically- Parameters:
implementedOnly- if true, only implemented vendors are included- Returns:
- array of primary database vendor aliases
-
matchesAlias
Check if a string representation corresponds to this database vendor- Parameters:
alias- the string to check- Returns:
- true if the string represents this vendor, false otherwise
-