Class PostgreSQLConversionVisitor
- java.lang.Object
-
- org.teiid.language.visitor.AbstractLanguageVisitor
-
- org.teiid.language.visitor.SQLStringVisitor
-
- org.teiid.translator.jdbc.SQLConversionVisitor
-
- org.teiid.translator.jdbc.postgresql.PostgreSQLConversionVisitor
-
- All Implemented Interfaces:
LanguageObjectVisitor
,SQLStringVisitor.Substitutor
public class PostgreSQLConversionVisitor extends SQLConversionVisitor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.teiid.language.visitor.SQLStringVisitor
SQLStringVisitor.Substitutor
-
-
Field Summary
-
Fields inherited from class org.teiid.translator.jdbc.SQLConversionVisitor
TEIID_NON_PREPARED
-
Fields inherited from class org.teiid.language.visitor.SQLStringVisitor
buffer, shortNameOnly, TEIID_NATIVE_QUERY, UNDEFINED, UNDEFINED_PARAM
-
-
Constructor Summary
Constructors Constructor Description PostgreSQLConversionVisitor(PostgreSQLExecutionFactory ef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendWithKeyword(With obj)
void
visit(Array array)
void
visit(DerivedColumn obj)
Some literals in the select need a cast to prevent being seen as the unknown/string type-
Methods inherited from class org.teiid.translator.jdbc.SQLConversionVisitor
addBinding, append, appendBaseName, appendLateralKeyword, appendSetOperation, generateSqlForStoredProcedure, getExecutionContext, getLikeRegexString, getSourceComment, isNonAscii, isPrepared, isUsingBinding, removeCharacters, replaceElementName, setExecutionContext, setPrepared, substitute, translateSQLType, useAsInGroupAlias, useParensForJoins, useParensForSetQueries, useSelectLimit, useUnicodePrefix, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Methods inherited from class org.teiid.language.visitor.SQLStringVisitor
append, append, appendCallStart, appendLiteral, appendNestedCondition, appendQuantifier, appendRightComparison, appendSetQuery, escapeString, getInsertKeyword, getName, getRecordName, getShortName, getSQLString, getUpsertKeyword, isInfixFunction, parseNativeQueryParts, shouldNestSetChild, toString, useParensForLHSJoins, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Methods inherited from class org.teiid.language.visitor.AbstractLanguageVisitor
visit, visitNode, visitNodes, visitNodes
-
-
-
-
Constructor Detail
-
PostgreSQLConversionVisitor
public PostgreSQLConversionVisitor(PostgreSQLExecutionFactory ef)
-
-
Method Detail
-
appendWithKeyword
protected void appendWithKeyword(With obj)
- Overrides:
appendWithKeyword
in classSQLStringVisitor
-
visit
public void visit(DerivedColumn obj)
Some literals in the select need a cast to prevent being seen as the unknown/string type- Specified by:
visit
in interfaceLanguageObjectVisitor
- Overrides:
visit
in classSQLConversionVisitor
-
visit
public void visit(Array array)
- Specified by:
visit
in interfaceLanguageObjectVisitor
- Overrides:
visit
in classSQLStringVisitor
-
-