|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
buildCreateTemporaryTableDDL(String a_tableName,
ColumnDescriptor[] a_columns,
StringBuffer a_buffer)
This method builds a DDL string for creating a temporary table. |
String |
getDatastoreColumnNameExpression(String a_expression)
This method returns the datastore specific column name expression. |
String |
getDateFormat()
|
String |
getDateJavaFormat()
|
Object |
getDateSQLFormat()
|
String |
getInFixExpression(String a_expression)
This method returns the datastore specific infix expression. |
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()
|
int |
getType(Class a_javaType)
This method returns a java.sql.Types value that the specified javaType maps to. |
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. |
Method Detail |
public String getDateFormat()
public String getDateJavaFormat()
public Object getDateSQLFormat()
public String getTimeJavaFormat()
public String getUtilDateJavaParse()
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 String getSQLFunctionName(String a_funcName)
a_funcName
- a function name constant.
public String getDatastoreColumnNameExpression(String a_expression)
a_expression
- column name expression
public boolean isInfix(String a_FunctionName)
a_FunctionName
- function name
public String getInFixExpression(String a_expression)
a_expression
- column name expression
public String getUserDefinedNameExpression(String a_expression)
a_expression
- column name expression
public int getType(Class a_javaType)
a_javaType
- The java type to get the SQL mapping for.
public int getMaxLength(int a_sqlType)
a_sqlType
- The SQL type to return the maximum length for.
public void buildCreateTemporaryTableDDL(String a_tableName, ColumnDescriptor[] a_columns, StringBuffer a_buffer) throws WTException
a_tableName
- the name of the temporary table.a_columns
- the colums of the temporary table.a_buffer
- String buffer to build the DDL into.
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |