public class DBVendorType extends Object
| Constructor and Description |
|---|
DBVendorType(DatabaseMetaData databaseMetaData,
String identifier) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbs()
Returns the string that represents prefix for "abs" clause
for this database
|
String |
getCharLength()
Returns the string that represents prefix for "Char_length" clause
for this database
|
String |
getConcatCast()
Returns cast name that surrounds concat operation.
|
String |
getForUpdate()
Returns the string that represents "for update" clause
for this database
|
String |
getHoldlock()
Returns the string that represents "holdlock" clause
for this database
|
String |
getIsNotNull()
Returns the string that represents "is not NULL" clause
for this database
|
String |
getIsNull()
Returns the string that represents "is NULL" clause
for this database
|
String |
getLeftJoin()
Returns the string that represents "left join" clause
for this database
|
String |
getLeftJoinPost()
Returns the string that represents postfix for "left join" clause
for this database
|
String |
getLeftLikeEscape()
Returns left string that represents "LIKE ESCAPE" clause
for this database
|
String |
getModFunctionName()
Returns function name for MOD.
|
String |
getName()
Returns database vendor type
|
String |
getNotEqual()
Returns the string that represents the not-equal-to operator
for this database.
|
String |
getNullComparisonFunctionName()
Returns function name for comparing null value for this database
|
String |
getParameterMarker(int type)
Gets string used as parameter marker.
|
String |
getPosition()
Returns the string that represents "Position" clause
for this database
|
String |
getPositionSep()
Returns the string that represents separator part of "Position" clause
for this database
|
String |
getQuoteCharEnd()
Returns the end identifier quote character for this database, or
an empty string, if there is none.
|
String |
getQuoteCharStart()
Returns the start identifier quote character for this database, or
an empty string, if there is none.
|
boolean |
getQuoteSpecialOnly()
Returns true if only identifiers with special characters should be quoted
for this database
|
String |
getRightJoin()
Returns the string that represents "right join" clause
for this database
|
String |
getRightJoinPre()
Returns the string that represents prefix for "right join" clause
for this database
|
String |
getRightLikeEscape()
Returns right string that represents "LIKE ESCAPE" clause
for this database
|
String |
getRtrim()
Returns the string that represents "RTRIM" clause
for this database
|
String |
getRtrimPost()
Returns the string that represents postfix for "RTRIM" clause
for this database
|
SpecialDBOperation |
getSpecialDBOperation()
Returns a SpecialDBOperation object
|
String |
getSqrt()
Returns the string that represents prefix for "Sqrt" clause
for this database
|
String |
getStringConcat()
Returns the string that represents concatenation operation
for this database
|
String |
getSubstring()
Returns the string that represents prefix for "Substring" clause
for this database
|
String |
getSubstringFor()
Returns the string that represents for part for "Substr" clause
for this database
|
String |
getSubstringFrom()
Returns the string that represents from part for "Substring" clause
for this database
|
String |
getTableListEnd()
Returns the string that represents end of table list
for this database
|
String |
getTableListStart()
Returns the string that represents start of table list
for this database
|
boolean |
isAnsiTrim()
Returns true if this database need ansi style rtrim semantics.
|
boolean |
isDistinctSupportedWithUpdateLock()
Returns true if this database supports distinct clause with update lock
|
boolean |
isInlineNumeric()
Returns true if numeric parameters are inlined for this database
|
boolean |
isLockColumnListSupported()
Returns true if this database supports update 'of column list'
|
boolean |
isModOperationUsingFunction()
Returns true if modulo operation uses function, false otherwise.
|
boolean |
isNativeOuterJoin()
Returns true if the this database needs native outer join semantics.
|
boolean |
isParameterCast()
Returns true if parameters need to be casted for this database
|
boolean |
isPositionSearchSource()
Returns true if first position argument is Search String and second
argument is Source String for this database
|
boolean |
isPositionThreeArgs()
Returns true if position has three argument for this database
|
boolean |
isUpdateLockSupported()
Returns true if this database supports update lock
|
boolean |
mapEmptyStringToNull()
Returns true if this database maps empty Strings to NULL
|
boolean |
supportsLikeEscape()
Returns true if this database supports "LIKE ESCAPE" clause
|
public DBVendorType(DatabaseMetaData databaseMetaData, String identifier) throws SQLException
databaseMetaData - Instance of DatabaseMetaDataidentifier - identifier of the caller creating a new instance
of SQLStoreManager.SQLExceptionpublic String getLeftJoin()
public boolean isUpdateLockSupported()
public boolean isLockColumnListSupported()
public boolean isDistinctSupportedWithUpdateLock()
public String getHoldlock()
public boolean isNativeOuterJoin()
public String getLeftJoinPost()
public String getRightJoin()
public String getRightJoinPre()
public String getIsNull()
public String getIsNotNull()
public boolean isAnsiTrim()
public String getRtrim()
public String getRtrimPost()
public String getCharLength()
public String getSqrt()
public String getAbs()
public String getForUpdate()
public String getTableListStart()
public String getTableListEnd()
public String getStringConcat()
public String getQuoteCharStart()
public String getQuoteCharEnd()
public boolean getQuoteSpecialOnly()
public String getSubstring()
public String getSubstringFrom()
public String getSubstringFor()
public String getPosition()
public String getPositionSep()
public boolean isPositionSearchSource()
public boolean isPositionThreeArgs()
public boolean mapEmptyStringToNull()
public boolean supportsLikeEscape()
public String getLeftLikeEscape()
public String getRightLikeEscape()
public String getNullComparisonFunctionName()
public boolean isModOperationUsingFunction()
public String getModFunctionName()
public String getConcatCast()
public boolean isParameterCast()
public boolean isInlineNumeric()
public String getNotEqual()
public String getName()
public SpecialDBOperation getSpecialDBOperation()
public String getParameterMarker(int type)
type - type for which parameter marker is required.type.Copyright © 2017. All rights reserved.