类 SqliteDialect
- java.lang.Object
-
- org.apache.seatunnel.connectors.seatunnel.jdbc.internal.dialect.sqlite.SqliteDialect
-
- 所有已实现的接口:
Serializable,JdbcDialect
public class SqliteDialect extends Object implements JdbcDialect
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.apache.seatunnel.connectors.seatunnel.jdbc.internal.dialect.JdbcDialect
JdbcDialect.AlterType
-
-
字段概要
-
从接口继承的字段 org.apache.seatunnel.connectors.seatunnel.jdbc.internal.dialect.JdbcDialect
log
-
-
构造器概要
构造器 构造器 说明 SqliteDialect()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringdialectName()Get the name of jdbc dialect.JdbcDialectTypeMappergetJdbcDialectTypeMapper()get jdbc meta-information type to seatunnel data type mapper.JdbcRowConvertergetRowConverter()Get converter that convert jdbc object to seatunnel internal object.Optional<String>getUpsertStatement(String database, String tableName, String[] fieldNames, String[] uniqueKeyFields)Constructs the dialects upsert statement if supported; such as MySQL'sDUPLICATE KEY UPDATE, or PostgreSQL'sON CONFLICT... DO UPDATE SET...StringquoteIdentifier(String identifier)Quotes the identifier for table name or field name-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.apache.seatunnel.connectors.seatunnel.jdbc.internal.dialect.JdbcDialect
approximateRowCntStatement, buildAlterTableBasicSql, buildAlterTableSql, connectionUrlParse, convertType, creatPreparedStatement, decorateWithColumnNameAndType, decorateWithComment, decorateWithDefaultValue, decorateWithNullable, defaultParameter, extractTableName, generateAlterTableSql, getDeleteStatement, getFieldIde, getInsertIntoStatement, getJdbcConnectionProvider, getResultSetMetaData, getRowExistsStatement, getUpdateStatement, hashModForField, hashModForField, isSpecialDefaultValue, needsQuotesWithDefaultValue, parse, queryNextChunkMax, quoteDatabaseIdentifier, quotesDefaultValue, refreshTableSchemaBySchemaChangeEvent, sampleDataFromColumn, tableIdentifier, tableIdentifier
-
-
-
-
方法详细资料
-
dialectName
public String dialectName()
从接口复制的说明:JdbcDialectGet the name of jdbc dialect.- 指定者:
dialectName在接口中JdbcDialect- 返回:
- the dialect name.
-
getRowConverter
public JdbcRowConverter getRowConverter()
从接口复制的说明:JdbcDialectGet converter that convert jdbc object to seatunnel internal object.- 指定者:
getRowConverter在接口中JdbcDialect- 返回:
- a row converter for the database
-
getJdbcDialectTypeMapper
public JdbcDialectTypeMapper getJdbcDialectTypeMapper()
从接口复制的说明:JdbcDialectget jdbc meta-information type to seatunnel data type mapper.- 指定者:
getJdbcDialectTypeMapper在接口中JdbcDialect- 返回:
- a type mapper for the database
-
quoteIdentifier
public String quoteIdentifier(String identifier)
从接口复制的说明:JdbcDialectQuotes the identifier for table name or field name- 指定者:
quoteIdentifier在接口中JdbcDialect
-
getUpsertStatement
public Optional<String> getUpsertStatement(String database, String tableName, String[] fieldNames, String[] uniqueKeyFields)
从接口复制的说明:JdbcDialectConstructs the dialects upsert statement if supported; such as MySQL'sDUPLICATE KEY UPDATE, or PostgreSQL'sON CONFLICT... DO UPDATE SET...If supported, the returned string will be used as a
PreparedStatement. Fields in the statement must be in the same order as thefieldNamesparameter.If the dialect does not support native upsert statements, the writer will fallback to
SELECT ROW Exists+UPDATE/INSERTwhich may have poor performance.- 指定者:
getUpsertStatement在接口中JdbcDialect- 返回:
- the dialects
UPSERTstatement orOptional.empty().
-
-