public static class ColumnSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ColumnSummary |
build() |
ColumnSummary.Builder |
characterLength(Integer characterLength)
Character length.
|
ColumnSummary.Builder |
columnName(String columnName)
Name of the column.
|
ColumnSummary.Builder |
copy(ColumnSummary model) |
ColumnSummary.Builder |
dataType(String dataType)
Data type of the column.
|
ColumnSummary.Builder |
length(Long length)
Length of the data represented by the column.
|
ColumnSummary.Builder |
precision(Integer precision)
Precision of the column.
|
ColumnSummary.Builder |
scale(Integer scale)
Scale of the column.
|
ColumnSummary.Builder |
schemaName(String schemaName)
Name of the schema.
|
ColumnSummary.Builder |
tableName(String tableName)
Name of the table.
|
public ColumnSummary.Builder columnName(String columnName)
Name of the column.
columnName
- the value to setpublic ColumnSummary.Builder dataType(String dataType)
Data type of the column.
dataType
- the value to setpublic ColumnSummary.Builder length(Long length)
Length of the data represented by the column.
length
- the value to setpublic ColumnSummary.Builder precision(Integer precision)
Precision of the column.
precision
- the value to setpublic ColumnSummary.Builder scale(Integer scale)
Scale of the column.
scale
- the value to setpublic ColumnSummary.Builder characterLength(Integer characterLength)
Character length.
characterLength
- the value to setpublic ColumnSummary.Builder tableName(String tableName)
Name of the table.
tableName
- the value to setpublic ColumnSummary.Builder schemaName(String schemaName)
Name of the schema.
schemaName
- the value to setpublic ColumnSummary build()
public ColumnSummary.Builder copy(ColumnSummary model)
Copyright © 2016–2024. All rights reserved.