Difference between revisions of "Nexjexpress/PostgreSQL Adapter/process"
Line 5: | Line 5: | ||
==PostgreSQLAdapter.java== | ==PostgreSQLAdapter.java== | ||
*Abstract methods to work on | *Abstract methods to work on | ||
+ | : public abstract String appendStringLengthPrefix(StringBuffer buf, FunctionOperator op); | ||
+ | : public abstract String appendSubstringPrefix(StringBuffer buf, FunctionOperator op); | ||
+ | : public abstract boolean isLiteral(Primitive type, Object value);; | ||
+ | : public abstract void appendLiteral(StringBuffer buf, Primitive type, Object value); | ||
+ | : public abstract void appendTypeConversion(StringBuffer buf, Object op,Primitive fromType, Primitive type, SQLGenerator gen); | ||
: | : | ||
+ | |||
*Protected methods | *Protected methods | ||
+ | : protected boolean isLikeReservedChar(char ch) | ||
+ | : | ||
==MySQLAdapter.java== | ==MySQLAdapter.java== |
Revision as of 09:37, 12 November 2010
SQLAdapter.java
PostgreSQLAdapter.java
- Abstract methods to work on
- public abstract String appendStringLengthPrefix(StringBuffer buf, FunctionOperator op);
- public abstract String appendSubstringPrefix(StringBuffer buf, FunctionOperator op);
- public abstract boolean isLiteral(Primitive type, Object value);;
- public abstract void appendLiteral(StringBuffer buf, Primitive type, Object value);
- public abstract void appendTypeConversion(StringBuffer buf, Object op,Primitive fromType, Primitive type, SQLGenerator gen);
- Protected methods
- protected boolean isLikeReservedChar(char ch)