public static final class TypeInformation.Builder extends Object
TypeInformation.| Modifier and Type | Method and Description |
|---|---|
TypeInformation |
build()
Build a new
TypeInformation. |
TypeInformation.Builder |
withCharset(Charset charset)
Configure the
Charset. |
TypeInformation.Builder |
withCollation(Collation collation)
Configure the
Collation. |
TypeInformation.Builder |
withDisplaySize(int displaySize)
Configure the display size.
|
TypeInformation.Builder |
withFlags(int flags)
Configure flags.
|
TypeInformation.Builder |
withLengthStrategy(LengthStrategy lengthStrategy)
Configure the
LengthStrategy. |
TypeInformation.Builder |
withMaxLength(int maxLength)
Configure the maximal maxLength.
|
TypeInformation.Builder |
withPrecision(int precision)
Configure the precision.
|
TypeInformation.Builder |
withScale(int scale)
Configure the scale.
|
TypeInformation.Builder |
withServerType(SqlServerType serverType)
Configure the
SqlServerType. |
public TypeInformation.Builder withCharset(Charset charset)
Charset.charset - the charset to use.this TypeInformation.Builder.public TypeInformation.Builder withCollation(Collation collation)
Collation.collation - the collation to use.this TypeInformation.Builder.public TypeInformation.Builder withDisplaySize(int displaySize)
displaySize - the display size.this TypeInformation.Builder.public TypeInformation.Builder withFlags(int flags)
flags - type flags.this TypeInformation.Builder.public TypeInformation.Builder withLengthStrategy(LengthStrategy lengthStrategy)
LengthStrategy.lengthStrategy - the display size.this TypeInformation.Builder.public TypeInformation.Builder withMaxLength(int maxLength)
maxLength - max length.this TypeInformation.Builder.public TypeInformation.Builder withPrecision(int precision)
precision - the precision.this TypeInformation.Builder.public TypeInformation.Builder withScale(int scale)
scale - the scale.this TypeInformation.Builder.public TypeInformation.Builder withServerType(SqlServerType serverType)
SqlServerType.serverType - the server type.this TypeInformation.Builder.public TypeInformation build()
TypeInformation.TypeInformation.Copyright © 2023. All rights reserved.