Package org.firebirdsql.jdbc.metadata
Class TypeMetadata.Builder
- java.lang.Object
- 
- org.firebirdsql.jdbc.metadata.TypeMetadata.Builder
 
- 
- Enclosing class:
- TypeMetadata
 
 public static class TypeMetadata.Builder extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description Builder(FirebirdSupportInfo supportInfo)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeMetadatabuild()TypeMetadata.BuilderwithCharacterLength(java.lang.Integer characterLength)Sets the character length (RDB$CHARACTER_LENGTH).TypeMetadata.BuilderwithCharacterSetId(java.lang.Integer characterSetId)Sets the character set id (RDB$CHARACTER_SET_ID).TypeMetadata.BuilderwithFieldLength(java.lang.Integer fieldLength)Sets the field length (RDB$FIELD_LENGTH).TypeMetadata.BuilderwithPrecision(java.lang.Integer precision)Sets the field precision (RDB$FIELD_PRECISION).TypeMetadata.BuilderwithScale(java.lang.Integer scale)Sets the field scale (RDB$FIELD_SCALE).TypeMetadata.BuilderwithSubType(java.lang.Integer subType)Sets the field sub type code (RDB$FIELD_SUB_TYPE).TypeMetadata.BuilderwithType(int type)Sets the field type code (RDB$FIELD_TYPE).
 
- 
- 
- 
Constructor Detail- 
Builderpublic Builder(FirebirdSupportInfo supportInfo) 
 
- 
 - 
Method Detail- 
buildpublic TypeMetadata build() 
 - 
withTypepublic TypeMetadata.Builder withType(int type) Sets the field type code (RDB$FIELD_TYPE).- Parameters:
- type- Field type code
- Returns:
- this builder
 
 - 
withSubTypepublic TypeMetadata.Builder withSubType(java.lang.Integer subType) Sets the field sub type code (RDB$FIELD_SUB_TYPE).- Parameters:
- subType- Field sub type code
- Returns:
- this builder
 
 - 
withPrecisionpublic TypeMetadata.Builder withPrecision(java.lang.Integer precision) Sets the field precision (RDB$FIELD_PRECISION).- Parameters:
- precision- Field precision
- Returns:
- this builder
 
 - 
withScalepublic TypeMetadata.Builder withScale(java.lang.Integer scale) Sets the field scale (RDB$FIELD_SCALE).- Parameters:
- scale- Field scale
- Returns:
- this builder
 
 - 
withCharacterSetIdpublic TypeMetadata.Builder withCharacterSetId(java.lang.Integer characterSetId) Sets the character set id (RDB$CHARACTER_SET_ID).- Parameters:
- characterSetId- Character set id
- Returns:
- this builder
 
 - 
withFieldLengthpublic TypeMetadata.Builder withFieldLength(java.lang.Integer fieldLength) Sets the field length (RDB$FIELD_LENGTH).- Parameters:
- fieldLength- Field length
- Returns:
- this builder
 
 - 
withCharacterLengthpublic TypeMetadata.Builder withCharacterLength(java.lang.Integer characterLength) Sets the character length (RDB$CHARACTER_LENGTH).- Parameters:
- characterLength- Character length
- Returns:
- this builder
 
 
- 
 
-