Class DeltaColumnBuilder
Builder to specify a table column.
 See DeltaTableBuilder for examples.
- Since:
- 1.0.0
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.spark.sql.types.StructFieldbuild():: Evolving :::: Evolving :::: Evolving ::dataType(org.apache.spark.sql.types.DataType dataType) :: Evolving ::generatedAlwaysAs(String expr) :: Evolving :::: Evolving ::generatedAlwaysAsIdentity(long start, long step) :: Evolving :::: Evolving ::generatedByDefaultAsIdentity(long start, long step) :: Evolving ::nullable(boolean nullable) :: Evolving ::
- 
Method Details- 
buildpublic org.apache.spark.sql.types.StructField build():: Evolving ::Build the column as a structField. - Returns:
- (undocumented)
- Since:
- 1.0.0
 
- 
comment:: Evolving ::Specify a column comment. - Parameters:
- comment- string column description
- Returns:
- (undocumented)
- Since:
- 1.0.0
 
- 
dataType:: Evolving ::Specify the column data type. - Parameters:
- dataType- string column data type
- Returns:
- (undocumented)
- Since:
- 1.0.0
 
- 
dataType:: Evolving ::Specify the column data type. - Parameters:
- dataType- DataType column data type
- Returns:
- (undocumented)
- Since:
- 1.0.0
 
- 
generatedAlwaysAs:: Evolving ::Specify a expression if the column is always generated as a function of other columns. - Parameters:
- expr- string the the generation expression
- Returns:
- (undocumented)
- Since:
- 1.0.0
 
- 
generatedAlwaysAsIdentity:: Evolving ::Specify a column as an identity column with default values that is always generated by the system (i.e. does not allow user-specified values). - Returns:
- (undocumented)
- Since:
- 3.3.0
 
- 
generatedAlwaysAsIdentity:: Evolving ::Specify a column as an identity column that is always generated by the system (i.e. does not allow user-specified values). - Parameters:
- start- the start value of the identity column
- step- the increment step of the identity column
- Returns:
- (undocumented)
- Since:
- 3.3.0
 
- 
generatedByDefaultAsIdentity:: Evolving ::Specify a column as an identity column that allows user-specified values such that the generated values use default start and step values. - Returns:
- (undocumented)
- Since:
- 3.3.0
 
- 
generatedByDefaultAsIdentity:: Evolving ::Specify a column as an identity column that allows user-specified values. - Parameters:
- start- the start value of the identity column
- step- the increment step of the identity column
- Returns:
- (undocumented)
- Since:
- 3.3.0
 
- 
nullable:: Evolving ::Specify whether the column can be null. - Parameters:
- nullable- boolean whether the column can be null or not.
- Returns:
- (undocumented)
- Since:
- 1.0.0
 
 
-