|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.dataservice.AbstractDatastore
wt.dataservice.SQLServer
Field Summary | |
private static String |
DATE_JAVA_FORMAT
|
private static Integer |
DATE_SQL_FORMAT
|
private static String |
DATEFORMAT
|
private static HashMap |
functionnameMap
|
private static HashMap |
infixMap
|
private static int |
MAX_COLUMN_BYTE_SIZE
|
private static int |
MAX_DECIMAL_PRECISION
|
private static int |
MAX_INDEXNAME_LENGTH
|
private static int |
MAXSQLSTRINGSIZE
|
private static int |
ORACLE_BLOB_TYPE
|
private static String |
TIME_JAVA_FORMAT
|
private static Integer |
TIME_SQL_FORMAT
|
private static HashMap |
timeFormatMap
|
private static String |
TIMESTAMP_JAVA_FORMAT
|
private static Integer |
TIMESTAMP_SQL_FORMAT
|
private static String |
UTIL_DATE_JAVA_PARSE
|
Constructor Summary | |
SQLServer()
|
Method Summary | |
protected String |
getCreateTemporaryTableDDLPrefix()
This method returns the intial portion of the Create Temporary Table DDL statement. |
String |
getDateFormat()
|
String |
getDateJavaFormat()
|
Object |
getDateSQLFormat()
|
int |
getMaxLength(int a_sqlType)
This method returns the maximum length allowable for the specified java.sql.Types value. |
String |
getSQLFunctionName(String a_funcName)
This method returns a the datastore specific function name for the given function name constant. |
String |
getSQLTypeString(int sqltype,
int stringLength)
This method returns a java.lang.String value that the specified javaType maps to. |
String |
getTimeJavaFormat()
|
Object |
getTimeSQLFormat()
|
String |
getTimeStampJavaFormat()
|
Object |
getTimeStampSQLFormat()
|
String |
getUserDefinedNameExpression(String a_expression)
This method converts the UserDefined SQL Functions in the expression with datastore format. |
String |
getUtilDateJavaParse()
|
boolean |
isInfix(String a_FunctionName)
This method returns true if the function is infix otherwise false. |
Methods inherited from class wt.dataservice.AbstractDatastore |
buildCreateTemporaryTableDDL, getDatastoreColumnNameExpression, getInFixExpression, getType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String DATEFORMAT
private static final String DATE_JAVA_FORMAT
private static final String TIME_JAVA_FORMAT
private static final String TIMESTAMP_JAVA_FORMAT
private static final Integer DATE_SQL_FORMAT
private static final Integer TIME_SQL_FORMAT
private static final Integer TIMESTAMP_SQL_FORMAT
private static final String UTIL_DATE_JAVA_PARSE
private static final int MAXSQLSTRINGSIZE
private static final int MAX_INDEXNAME_LENGTH
private static final int MAX_COLUMN_BYTE_SIZE
private static final int MAX_DECIMAL_PRECISION
private static final int ORACLE_BLOB_TYPE
private static HashMap functionnameMap
private static HashMap timeFormatMap
private static HashMap infixMap
Constructor Detail |
public SQLServer()
Method Detail |
public String getSQLFunctionName(String a_funcName)
a_funcName
- a function name constant.
public boolean isInfix(String a_FunctionName)
a_FunctionName
- function name
public String getUserDefinedNameExpression(String a_expression)
a_expression
- column name expression
public String getDateFormat()
public String getUtilDateJavaParse()
public String getDateJavaFormat()
public Object getDateSQLFormat()
public String getTimeJavaFormat()
public Object getTimeSQLFormat()
public String getTimeStampJavaFormat()
public Object getTimeStampSQLFormat()
public String getSQLTypeString(int sqltype, int stringLength)
sqltype
- The java type to get the SQL mapping for.stringLength
- max length of the sql type.
public int getMaxLength(int a_sqlType)
a_sqlType
- The SQL type to return the maximum length for.
protected String getCreateTemporaryTableDDLPrefix()
getCreateTemporaryTableDDLPrefix
in class AbstractDatastore
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |