Interface SqlColumnMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SqlColumnMetadata.Builder,,SqlColumnMetadata> SdkBuilder<SqlColumnMetadata.Builder,,SqlColumnMetadata> SdkPojo
- Enclosing class:
SqlColumnMetadata
@Mutable
@NotThreadSafe
public static interface SqlColumnMetadata.Builder
extends SdkPojo, CopyableBuilder<SqlColumnMetadata.Builder,SqlColumnMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionThe column name or alias as the engine reports it.Specifies whether the column can hold NULL.DECIMAL: total digits.DECIMAL: digits after the decimal point.TIMESTAMP only: set when the engine stores an instant, for exampleUTC.The column's portable SQL type.The column's portable SQL type.The engine's own type, for exampleTimestamp(MICROSECOND, UTC)orDecimal(12, 2, 128).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The column name or alias as the engine reports it. Not unique:
SELECT a.id, b.idreturns twoidcolumns.- Parameters:
name- The column name or alias as the engine reports it. Not unique:SELECT a.id, b.idreturns twoidcolumns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The column's portable SQL type. It fixes which
SqlValuemember the column's values use.- Parameters:
type- The column's portable SQL type. It fixes whichSqlValuemember the column's values use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The column's portable SQL type. It fixes which
SqlValuemember the column's values use.- Parameters:
type- The column's portable SQL type. It fixes whichSqlValuemember the column's values use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
typeName
The engine's own type, for example
Timestamp(MICROSECOND, UTC)orDecimal(12, 2, 128).- Parameters:
typeName- The engine's own type, for exampleTimestamp(MICROSECOND, UTC)orDecimal(12, 2, 128).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nullable
Specifies whether the column can hold NULL.
- Parameters:
nullable- Specifies whether the column can hold NULL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
precision
DECIMAL: total digits. TIME and TIMESTAMP: fractional-second digits.
- Parameters:
precision- DECIMAL: total digits. TIME and TIMESTAMP: fractional-second digits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scale
DECIMAL: digits after the decimal point.
- Parameters:
scale- DECIMAL: digits after the decimal point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeZone
TIMESTAMP only: set when the engine stores an instant, for example
UTC.- Parameters:
timeZone- TIMESTAMP only: set when the engine stores an instant, for exampleUTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-