|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.dataservice.AbstractDatastore
Constructor Summary | |
AbstractDatastore()
|
Method Summary | |
void |
buildCreateTemporaryTableDDL(String a_tableName,
ColumnDescriptor[] a_columns,
StringBuffer a_buffer)
This method builds a DDL string for creating a temporary table. |
protected abstract String |
getCreateTemporaryTableDDLPrefix()
This method returns the intial portion of the Create Temporary Table DDL statement. |
String |
getDatastoreColumnNameExpression(String a_expression)
This method converts the SQL Functions in the expression with datastore specific Functions Supported API: false |
private String |
getFullSubFunctionExpression(String a_expression)
|
String |
getInFixExpression(String a_expression)
This method returns the datastore specific infix expression. |
int |
getType(Class a_javaType)
This method returns a java.sql.Types value that the specified javaType maps to. |
private String |
replace(String a_expression,
String old_string,
String new_string)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface wt.dataservice.Datastore |
getDateFormat, getDateJavaFormat, getDateSQLFormat, getMaxLength, getSQLFunctionName, getSQLTypeString, getTimeJavaFormat, getTimeSQLFormat, getTimeStampJavaFormat, getTimeStampSQLFormat, getUserDefinedNameExpression, getUtilDateJavaParse, isInfix |
Constructor Detail |
public AbstractDatastore()
Method Detail |
public String getInFixExpression(String a_expression)
getInFixExpression
in interface Datastore
a_expression
- column name expression
public String getDatastoreColumnNameExpression(String a_expression)
getDatastoreColumnNameExpression
in interface Datastore
a_expression
- column name expression
private String getFullSubFunctionExpression(String a_expression)
private String replace(String a_expression, String old_string, String new_string)
public int getType(Class a_javaType)
getType
in interface Datastore
a_javaType
- The java type to get the SQL mapping for.
public void buildCreateTemporaryTableDDL(String a_tableName, ColumnDescriptor[] a_columns, StringBuffer a_buffer) throws WTException
buildCreateTemporaryTableDDL
in interface Datastore
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
protected abstract String getCreateTemporaryTableDDLPrefix()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |