Record Class LogicalType.IntType
java.lang.Object
java.lang.Record
dev.hardwood.metadata.LogicalType.IntType
- Record Components:
bitWidth- number of bits (8, 16, 32, or 64)isSigned-truefor signed integers,falsefor unsigned
- All Implemented Interfaces:
LogicalType
- Enclosing interface:
LogicalType
public static record LogicalType.IntType(int bitWidth, boolean isSigned)
extends Record
implements LogicalType
Integer type with a specific bit width and signedness.
-
Nested Class Summary
Nested classes/interfaces inherited from interface LogicalType
LogicalType.BsonType, LogicalType.DateType, LogicalType.DecimalType, LogicalType.EnumType, LogicalType.IntervalType, LogicalType.IntType, LogicalType.JsonType, LogicalType.ListType, LogicalType.MapType, LogicalType.StringType, LogicalType.TimestampType, LogicalType.TimeType, LogicalType.TimeUnit, LogicalType.UuidType -
Constructor Summary
ConstructorsConstructorDescriptionIntType(int bitWidth, boolean isSigned) Creates an instance of aIntTyperecord class. -
Method Summary
Modifier and TypeMethodDescriptionintbitWidth()Returns the value of thebitWidthrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisSigned()Returns the value of theisSignedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IntType
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
bitWidth
-
isSigned
-