public class ColumnDescription extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
columnName |
private Integer |
columnSize |
private int |
dataType |
private boolean |
nullable |
private boolean |
required |
| Constructor and Description |
|---|
ColumnDescription(String columnName,
int dataType,
boolean required,
Integer columnSize,
boolean nullable) |
| Modifier and Type | Method and Description |
|---|---|
static ColumnDescription |
from(ResultSet resultSet) |
String |
getColumnName() |
Integer |
getColumnSize() |
int |
getDataType() |
boolean |
isNullable() |
boolean |
isRequired() |
static String |
normalizeColumnName(String colName,
boolean translateColumnNames) |
String |
toString() |
private final String columnName
private final int dataType
private final boolean required
private final Integer columnSize
private final boolean nullable
public int getDataType()
public String getColumnName()
public Integer getColumnSize()
public boolean isRequired()
public boolean isNullable()
public static ColumnDescription from(ResultSet resultSet) throws SQLException
SQLExceptionpublic static String normalizeColumnName(String colName, boolean translateColumnNames)
Copyright © 2023 Apache NiFi Project. All rights reserved.