public class PostgresSQLSkin extends DefaultJDBCSkin
DEFAULT| Constructor and Description |
|---|
PostgresSQLSkin(ISkinProvider provider,
DatabaseProduct product) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
computeDataType(IDomain domain,
int dataType,
String format,
int size,
int precision) |
ExtendedType |
createExtendedType(IDomain domain,
int dataType,
String format,
int size,
int precision) |
ISamplingDecorator |
createSamplingDecorator(DelegateSamplingDecorator sampling) |
String |
fullyQualified(Table table) |
String |
getToken(int token) |
String |
getTypeDefinition(ExtendedType type) |
String |
getTypeName(int SQLType) |
protected void |
initFormat() |
String |
overrideTemplateID(String templateID) |
String |
quoteConstant(Object value,
IDomain domain) |
protected String |
render(SQLSkin skin,
FromTablePiece piece) |
String |
render(SQLSkin skin,
OperatorPiece piece,
OperatorDefinition opDef,
String[] args) |
canRender, comment, configure, fullyQualified, getDateFormat, getDecimalFormat, getEndOfStatement_quote, getFeatureSupport, getIdentifier_quote, getLiteral_quote, getPreferences, getProduct, getProvider, getSkinHandler, getTimestampFormat, isComments, isCreatingSkinSucess, prepareStatement, quoteColumnIdentifier, quoteColumnIdentifier, quoteComment, quoteEndOfStatement, quoteIdentifier, quoteLiteral, quoteSchemaIdentifier, quoteSchemaIdentifier, quoteStringConstant, quoteTableIdentifier, quoteTableIdentifier, render, render, render, render, render, renderElements, renderEmptyFromClause, renderJoinDecorator, renderType, setComments, setDateFormat, setDecimalFormat, setEndOfStatement_quote, setIdentifier_quote, setLiteral_quotecreateExtendedType, getSkinPrefix, getTypeDefinition, initializeConnection, isAlpha, isShareNothing, overrideOperatorDefinition, printOptionalSizeAndScalepublic PostgresSQLSkin(ISkinProvider provider, DatabaseProduct product)
protected void initFormat()
initFormat in class DefaultJDBCSkinpublic String overrideTemplateID(String templateID)
overrideTemplateID in interface SQLSkinoverrideTemplateID in class DefaultSQLSkinpublic String getToken(int token) throws RenderingException
getToken in interface SQLSkingetToken in class DefaultSQLSkinRenderingExceptionpublic ISamplingDecorator createSamplingDecorator(DelegateSamplingDecorator sampling)
createSamplingDecorator in interface SQLSkincreateSamplingDecorator in class DefaultSQLSkinprotected String render(SQLSkin skin, FromTablePiece piece) throws RenderingException, IOException
render in class DefaultJDBCSkinRenderingExceptionIOExceptionpublic String quoteConstant(Object value, IDomain domain)
quoteConstant in interface SQLSkinquoteConstant in class DefaultJDBCSkinpublic ExtendedType createExtendedType(IDomain domain, int dataType, String format, int size, int precision)
createExtendedType in interface SQLSkincreateExtendedType in class DefaultSQLSkinprotected int computeDataType(IDomain domain, int dataType, String format, int size, int precision)
public String getTypeName(int SQLType)
getTypeName in interface SQLSkingetTypeName in class DefaultSQLSkinpublic String getTypeDefinition(ExtendedType type)
getTypeDefinition in interface SQLSkingetTypeDefinition in class DefaultSQLSkinpublic String render(SQLSkin skin, OperatorPiece piece, OperatorDefinition opDef, String[] args) throws RenderingException
render in interface SQLSkinrender in class DefaultJDBCSkinRenderingExceptionpublic String fullyQualified(Table table)
fullyQualified in interface SQLSkinfullyQualified in class DefaultSQLSkinCopyright © 2016. All rights reserved.