Class TableSchema
java.lang.Object
org.apache.nifi.processors.standard.db.TableSchema
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTableSchema(String catalogName, String schemaName, String tableName, List<ColumnDescription> columnDescriptions, boolean translateColumnNames, NameNormalizer normalizer, Set<String> primaryKeyColumnNames, String quotedIdentifierString) -
Method Summary
Modifier and TypeMethodDescriptionstatic TableSchemafrom(Connection conn, String catalog, String schema, String tableName, boolean translateColumnNames, NameNormalizer normalizer, String updateKeys, org.apache.nifi.logging.ComponentLog log) static StringnormalizedName(String name, boolean translateNames, NameNormalizer normalizer) toString()
-
Field Details
-
requiredColumnNames
-
-
columns
-
quotedIdentifierString
-
catalogName
-
schemaName
-
tableName
-
-
Constructor Details
-
TableSchema
public TableSchema(String catalogName, String schemaName, String tableName, List<ColumnDescription> columnDescriptions, boolean translateColumnNames, NameNormalizer normalizer, Set<String> primaryKeyColumnNames, String quotedIdentifierString)
-
-
Method Details
-
getCatalogName
-
getSchemaName
-
getTableName
-
getColumns
-
getColumnsAsList
-
getRequiredColumnNames
-
getPrimaryKeyColumnNames
-
getQuotedIdentifierString
-
from
public static TableSchema from(Connection conn, String catalog, String schema, String tableName, boolean translateColumnNames, NameNormalizer normalizer, String updateKeys, org.apache.nifi.logging.ComponentLog log) throws SQLException - Throws:
SQLException
-
normalizedName
-
toString
-